Searched refs:scl_gpio (Results 1 – 2 of 2) sorted by relevance
/u-boot/arch/arm/include/asm/mach-imx/ |
A D | mxc_i2c.h | 62 struct gpio_desc scl_gpio; member 68 #define I2C_PADS(name, scl_i2c, scl_gpio, scl_gp, sda_i2c, sda_gpio, sda_gp) \ argument 72 .gpio_mode = MX6Q_##scl_gpio, \ 84 .gpio_mode = MX6DL_##scl_gpio, \
|
/u-boot/drivers/i2c/ |
A D | mxc_i2c.c | 420 struct gpio_desc *scl_gpio = &i2c_bus->scl_gpio; in i2c_idle_bus() local 438 dm_gpio_set_dir_flags(scl_gpio, GPIOD_IS_IN); in i2c_idle_bus() 440 scl = dm_gpio_get_value(scl_gpio); in i2c_idle_bus() 462 dm_gpio_set_dir_flags(scl_gpio, GPIOD_IS_OUT); in i2c_idle_bus() 463 dm_gpio_set_value(scl_gpio, 0); in i2c_idle_bus() 465 dm_gpio_set_dir_flags(scl_gpio, GPIOD_IS_IN); in i2c_idle_bus() 470 dm_gpio_set_dir_flags(scl_gpio, GPIOD_IS_IN); in i2c_idle_bus() 472 scl = dm_gpio_get_value(scl_gpio); in i2c_idle_bus() 949 "scl-gpios", 0, &i2c_bus->scl_gpio, 955 !dm_gpio_is_valid(&i2c_bus->scl_gpio) ||
|
Completed in 4 milliseconds