Searched refs:scl_gpio (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/arch/arm/include/asm/mach-imx/ |
H A D | mxc_i2c.h | 56 struct gpio_desc scl_gpio; member 62 #define I2C_PADS(name, scl_i2c, scl_gpio, scl_gp, sda_i2c, sda_gpio, sda_gp) \ argument 66 .gpio_mode = MX6Q_##scl_gpio, \ 78 .gpio_mode = MX6DL_##scl_gpio, \
|
/openbmc/u-boot/drivers/i2c/ |
H A D | mxc_i2c.c | 357 struct gpio_desc *scl_gpio = &i2c_bus->scl_gpio; in i2c_idle_bus() local 375 dm_gpio_set_dir_flags(scl_gpio, GPIOD_IS_IN); in i2c_idle_bus() 377 scl = dm_gpio_get_value(scl_gpio); in i2c_idle_bus() 385 dm_gpio_set_dir_flags(scl_gpio, GPIOD_IS_OUT); in i2c_idle_bus() 386 dm_gpio_set_value(scl_gpio, 0); in i2c_idle_bus() 388 dm_gpio_set_dir_flags(scl_gpio, GPIOD_IS_IN); in i2c_idle_bus() 393 dm_gpio_set_dir_flags(scl_gpio, GPIOD_IS_IN); in i2c_idle_bus() 395 scl = dm_gpio_get_value(scl_gpio); in i2c_idle_bus() 837 "scl-gpios", 0, &i2c_bus->scl_gpio, 843 !dm_gpio_is_valid(&i2c_bus->scl_gpio) ||
|