Home
last modified time | relevance | path

Searched refs:sda_gpio (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/arch/arm/include/asm/mach-imx/
H A Dmxc_i2c.h57 struct gpio_desc sda_gpio; member
62 #define I2C_PADS(name, scl_i2c, scl_gpio, scl_gp, sda_i2c, sda_gpio, sda_gp) \ argument
71 .gpio_mode = MX6Q_##sda_gpio, \
83 .gpio_mode = MX6DL_##sda_gpio, \
/openbmc/u-boot/drivers/i2c/
H A Dmxc_i2c.c358 struct gpio_desc *sda_gpio = &i2c_bus->sda_gpio; in i2c_idle_bus() local
376 dm_gpio_set_dir_flags(sda_gpio, GPIOD_IS_IN); in i2c_idle_bus()
378 sda = dm_gpio_get_value(sda_gpio); in i2c_idle_bus()
394 dm_gpio_set_dir_flags(sda_gpio, GPIOD_IS_IN); in i2c_idle_bus()
396 sda = dm_gpio_get_value(sda_gpio); in i2c_idle_bus()
840 "sda-gpios", 0, &i2c_bus->sda_gpio,
842 if (!dm_gpio_is_valid(&i2c_bus->sda_gpio) ||