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-lim...@ti.com> --- v2: - CONFIG_I2C_REPEATED_START -> CONFIG_SYS_I2C_OMAP24XX_REPEATED_START - Link to v1: https://lore.kernel.org/u-boot/20250304220546.866602-4-a-lim...@ti.com/ --- drivers/i2c/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig index cdae6825736..41bac5db5a5 100644 --- a/drivers/i2c/Kconfig +++ b/drivers/i2c/Kconfig @@ -503,6 +503,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 -- 2.48.1