Add a Kconfig option to disable sending Stop conditions between multiple i2c_msgs within a single xfer. Enable it by default for ARCH_K3 platforms.
The namespace for the config is not respecting the CONFIG_SYS_I2C convention since the legacy API has already been using CONFIG_I2C_REPEATED_START Signed-off-by: Aniket Limaye <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..ade86a71fb0 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 I2C_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