zephyr/drivers/i2c/Kconfig.sc18im704
Krzysztof Chruściński c674eafe75 drivers: i2c: sc18im704: Add dependency to UART runtime config
Force enabling of the UART runtime configuration for sc18im704.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2023-11-15 10:02:18 +01:00

29 lines
674 B
Plaintext

# Copyright (c) 2023 Basalte bv
# SPDX-License-Identifier: Apache-2.0
config I2C_SC18IM704
bool "NXP SC18IM704 I2C controller driver"
default y
depends on DT_HAS_NXP_SC18IM704_I2C_ENABLED
select UART_USE_RUNTIME_CONFIGURE
help
Enables NXP SC18IM704 I2C controller driver
if I2C_SC18IM704
config I2C_SC18IM704_INIT_PRIORITY
int "SC18IM704 I2C init priority"
default 51
help
SC18IM704 I2C controller initialization priority.
Note: Has to be greater than the UART bus initialization priority.
config I2C_SC18IM704_VERIFY
bool "Verify SC18IM704 I2C transfers"
default y
help
Verify the I2C state register after I2C transfers to detect errors.
endif