summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.i2c
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/Kconfig.i2c')
-rw-r--r--zephyr/Kconfig.i2c7
1 files changed, 7 insertions, 0 deletions
diff --git a/zephyr/Kconfig.i2c b/zephyr/Kconfig.i2c
index 9fa1d274aa..fa65ec8f9d 100644
--- a/zephyr/Kconfig.i2c
+++ b/zephyr/Kconfig.i2c
@@ -77,4 +77,11 @@ config PLATFORM_EC_SMBUS_PEC
This option also enables error checking function on smart batteries.
+config PLATFORM_EC_I2C_NACK_RETRY_COUNT
+ int "I2C operation retry count when transaction error"
+ default 0
+ help
+ Defines I2C operation retry count when transaction general input/output
+ error (-EIO) and also when the I2C is busy.
+
endif # PLATFORM_EC_I2C