zephyr/drivers/i2c/Kconfig.tca954x
Florian Weber 7adeac1b12 drivers: i2c: tca9544a
Extend tca954x (tca9546a, tca9548a) driver to support tca9544a i2c MUX.
(different bitmask and flag for enable bit in register)

Signed-off-by: Florian Weber <Florian.Weber@live.de>
2024-11-22 22:47:17 +00:00

26 lines
644 B
Text

# Copyright (c) 2020 Innoseis BV
# SPDX-License-Identifier: Apache-2.0
menuconfig I2C_TCA954X
bool "I2C addressable switch"
default y
depends on DT_HAS_TI_TCA9546A_ENABLED || DT_HAS_TI_TCA9548A_ENABLED \
|| DT_HAS_TI_TCA9544A_ENABLED
help
Enable TCA954x series I2C bus switch
if I2C_TCA954X
config I2C_TCA954X_ROOT_INIT_PRIO
int "TCA954x root driver init priority"
default I2C_INIT_PRIORITY
help
Should be lower than `I2C_TCA954X_CHANNEL_INIT_PRIO`
config I2C_TCA954X_CHANNEL_INIT_PRIO
int "TCA954x channel driver init priority"
default I2C_INIT_PRIORITY
help
Should be higher than `I2C_TCA954X_ROOT_INIT_PRIO`
endif