summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAniket Limaye <a-limaye@ti.com>2025-04-22 15:49:52 +0530
committerHeiko Schocher <hs@denx.de>2025-04-22 13:03:48 +0200
commitfdab9d4b8082a0f7df3b3a5b613e69963c4666cb (patch)
treea12a945f1333eef240e0ddc5abcba346c3bb8ef7
parent5b0c6e02f83c9407103cc472e3313335c4f92dff (diff)
drivers: i2c: Kconfig: Add CONFIG_SYS_I2C_OMAP24XX_REPEATED_START
Add a Kconfig option to disable sending Stop conditions between multiple i2c_msgs within a single xfer. Enable this config by default for ARCH_K3 platforms. Signed-off-by: Aniket Limaye <a-limaye@ti.com> Reviewed-by: Heiko Schocher <hs@denx.de>
-rw-r--r--drivers/i2c/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig
index 46e76385961..146bc621c7e 100644
--- a/drivers/i2c/Kconfig
+++ b/drivers/i2c/Kconfig
@@ -510,6 +510,15 @@ config SYS_I2C_OMAP24XX
help
Add support for the OMAP2+ I2C driver.
+config SYS_I2C_OMAP24XX_REPEATED_START
+ bool "Enable I2C repeated start"
+ depends on SYS_I2C_OMAP24XX
+ default y if ARCH_K3
+ help
+ Enable support for repeated start. Updates driver defaults to not
+ send a Stop condition and issue Repeated Start (Sr) for subsequent
+ i2c msgs.
+
config SYS_I2C_RCAR_I2C
bool "Renesas R-Car I2C driver"
depends on (RCAR_GEN2 || RCAR_64) && DM_I2C