u-boot/drivers/i2c
Haibo Chen 7f6a2e6e0f i2c: correct I2C deblock logic
Current code use dm_gpio_get_value() to get SDA and SCL value, and the
value depends on whether DTS file config the GPIO_ACTIVE_LOW. In ususal
case for i2c GPIO, DTS need to set GPIO_ACTIVE_LOW for SCL/SDA pins. So
here the logic is not correct.

And we must not use GPIOD_ACTIVE_LOW in client code include the
dm_gpio_set_dir_flags(), it is DTS's responsibility for this flag. So
remove GPIOD_ACTIVE_LOW here.

Fixes: aa54192d4a ("dm: i2c: implement gpio-based I2C deblock")
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Reviewed-by: Alexander Kochetkov <al.kochet@gmail.com <mailto:al.kochet@gmail.com>>
2023-04-11 06:44:39 +02:00
..
muxes spl: Ensure all SPL symbols in Kconfig have some SPL dependency 2022-07-07 09:29:08 -04:00
acpi_i2c.c
acpi_i2c.h
ast2600_i2c.c i2c:aspeed:support ast2600 i2c new register mode driver 2023-02-13 09:57:49 +01:00
ast2600_i2c.h i2c:aspeed:support ast2600 i2c new register mode driver 2023-02-13 09:57:49 +01:00
ast_i2c.c i2c: ast_i2c: Remove SCL direct drive mode 2022-07-19 13:46:28 +02:00
ast_i2c.h
at91_i2c.c
at91_i2c.h
cros_ec_ldo.c
cros_ec_tunnel.c
davinci_i2c.c global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
davinci_i2c.h
designware_i2c.c stm32mp1: fix reference for STMicroelectronics 2022-06-17 14:12:27 +02:00
designware_i2c.h stm32mp1: fix reference for STMicroelectronics 2022-06-17 14:12:27 +02:00
designware_i2c_pci.c i2c: designware_i2c: remove apparently redundant read of 'i2c, speeds' DT property 2023-04-11 06:43:33 +02:00
exynos_hs_i2c.c arm: samsung: Migrate a number of symbols to Kconfig 2022-06-28 17:04:37 -04:00
fsl_i2c.c global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
i2c-cdns.c i2c: i2c-cdns.c: Update driver to read fifo-depth from device tree 2023-02-13 09:58:27 +01:00
i2c-cortina.c
i2c-cortina.h
i2c-emul-uclass.c
i2c-gpio.c i2c: i2c-gpio: add newline 2022-11-14 07:24:47 +01:00
i2c-microchip.c i2c: microchip: fix erroneous late ack send 2022-11-14 07:21:58 +01:00
i2c-uclass.c i2c: correct I2C deblock logic 2023-04-11 06:44:39 +02:00
i2c-uniphier-f.c i2c: uniphier-f: correct error recovery 2023-01-06 08:14:19 -05:00
i2c-uniphier.c
i2c-versatile.c
i2c_core.c global: Migrate CONFIG_SYS_I2C_DIRECT_BUS to CFG 2022-12-23 10:15:12 -05:00
ihs_i2c.c i2c: ihs: intel: Fix typo in comments (actual) 2022-05-10 06:47:13 +02:00
imx_lpi2c.c
intel_i2c.c i2c: ihs: intel: Fix typo in comments (actual) 2022-05-10 06:47:13 +02:00
iproc_i2c.c
iproc_i2c.h
Kconfig i2c: rcar_i2c: Add R-Car Gen4 support 2023-04-07 17:13:27 +02:00
lpc32xx_i2c.c global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
Makefile i2c:aspeed:support ast2600 i2c new register mode driver 2023-02-13 09:57:49 +01:00
meson_i2c.c
mtk_i2c.c i2c: add support for MediaTek I2C interface 2022-09-23 15:09:15 -04:00
mv_i2c.c i2c: Remove CONFIG_I2C_MULTI_BUS 2022-12-22 10:31:48 -05:00
mv_i2c.h
mvtwsi.c global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
mxc_i2c.c i2c: mxc_i2c: Use hex notation for the base address 2023-02-13 09:57:30 +01:00
npcm_i2c.c i2c: nuvoton: renamed the NPCM i2c driver 2022-12-05 06:00:37 +01:00
nx_i2c.c
ocores_i2c.c
octeon_i2c.c global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
omap24xx_i2c.c
omap24xx_i2c.h
qup_i2c.c i2c: Add support for Qualcomm I2C driver 2023-02-10 12:50:00 -05:00
rcar_i2c.c i2c: rcar_i2c: Add R-Car Gen4 support 2023-04-07 17:13:27 +02:00
rcar_iic.c
rk_i2c.c
s3c24x0_i2c.c arm: samsung: Migrate a number of symbols to Kconfig 2022-06-28 17:04:37 -04:00
s3c24x0_i2c.h
sandbox_i2c.c
sh_i2c.c rmobile: Drop CONFIG_SH73A0 and associated code 2023-02-07 14:33:49 -05:00
soft_i2c.c global: Remove unused CONFIG defines 2023-01-20 12:27:06 -05:00
stm32f7_i2c.c i2c: stm32: fix usage of rise/fall device tree properties 2022-09-15 14:59:29 +02:00
sun6i_p2wi.c i2c: sun6i_p2wi: Add support for DM clocks and resets 2022-04-04 23:24:17 +01:00
sun8i_rsb.c i2c: sun8i_rsb: Add support for DM clocks and resets 2022-04-04 23:24:17 +01:00
synquacer_i2c.c
tegra186_bpmp_i2c.c
tegra_i2c.c arm: tegra: Update some DT compatibles 2022-06-13 15:31:10 -07:00
xilinx_xiic.c