zephyr/drivers/i3c/Kconfig.dw
Ryan McClelland 2c66a2adc0 drivers: i3c: add i3c controller and target kconfigs
I3C can contain a lot of features that may be unused. Add Kconfigs for
enabling controller and/or target code. Choosing just one can reduce
the code size footprint.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2025-04-17 09:05:36 +02:00

25 lines
546 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 && I3C_CONTROLLER
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