zephyr/drivers/i3c/Kconfig.dw
Corey Wharton a19429eb39 drivers: i3c: i3c_dw: make transfer timeout a Kconfig option
The current value of 1s is much too long, default to 100ms instead
which is enough for even a large 4kB FM I2C transfer to finish in
time let alone a typical I3C transfer. Make this configurable in
case projects want to tune this.

Signed-off-by: Corey Wharton <xodus7@cwharton.com>
2025-03-14 05:47:26 +01:00

25 lines
528 B
Plaintext

# Copyright (c) 2023 Meta Platforms, Inc. and its affiliates.
#
# SPDX-License-Identifier: Apache-2.0
module = I3C_DW
module-str = i3c-dw
source "subsys/logging/Kconfig.template.log_config"
menuconfig I3C_DW
bool "DW I3C support"
select I3C_IBI_WORKQUEUE if I3C_USE_IBI
depends on DT_HAS_SNPS_DESIGNWARE_I3C_ENABLED
depends on CLOCK_CONTROL
default y
help
Enable the Synopsys Designware I3C driver
if I3C_DW
config I3C_DW_RW_TIMEOUT_MS
int "Set the Read/Write timeout in milliseconds"
default 100
endif # I3C_DW