summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
Diffstat (limited to 'src/device')
-rw-r--r--src/device/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/device/Kconfig b/src/device/Kconfig
index 7f20d709ad..388972ccf4 100644
--- a/src/device/Kconfig
+++ b/src/device/Kconfig
@@ -906,6 +906,14 @@ config SOFTWARE_I2C
I2C controller is not (yet) available. The platform code needs to
provide bindings to manually toggle I2C lines.
+config I2C_TRANSFER_TIMEOUT_US
+ int "I2C transfer timeout in microseconds"
+ default 500000
+ help
+ Timeout for a read/write transfers on the I2C bus, that is, the
+ maximum time a device could stretch clock bits before the transfer
+ is aborted and an error returned.
+
config RESOURCE_ALLOCATOR_V3
bool
default n