drivers: i2c: Kconfig: Add CONFIG_SYS_I2C_OMAP24XX_REPEATED_START
authorAniket Limaye <a-limaye@ti.com>
Tue, 22 Apr 2025 10:19:52 +0000 (15:49 +0530)
committerHeiko Schocher <hs@denx.de>
Tue, 22 Apr 2025 11:03:48 +0000 (13:03 +0200)
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>
drivers/i2c/Kconfig

index 46e7638..146bc62 100644 (file)
@@ -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