mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 20:56:47 +08:00
i2c: Add support to TCA9548A multiplexer
This commit is contained in:
committed by
Petro Karashchenko
parent
2c3020ddaf
commit
0b23257ef1
@@ -7,6 +7,10 @@ config ARCH_HAVE_I2CRESET
|
||||
bool
|
||||
default n
|
||||
|
||||
config BOARD_HAVE_I2CMUX
|
||||
bool
|
||||
default n
|
||||
|
||||
menuconfig I2C
|
||||
bool "I2C Driver Support"
|
||||
default n
|
||||
@@ -94,9 +98,18 @@ config I2CMULTIPLEXER_PCA9540BDP
|
||||
bool "PCA9540BDP NXP multiplexer"
|
||||
default n
|
||||
depends on I2C
|
||||
select BOARD_HAVE_I2CMUX
|
||||
---help---
|
||||
Enable support for the NXP PCA9540BDP i2c multiplexer
|
||||
|
||||
config I2CMULTIPLEXER_TCA9548A
|
||||
bool "TCA9548A TI multiplexer"
|
||||
default n
|
||||
depends on I2C
|
||||
select BOARD_HAVE_I2CMUX
|
||||
---help---
|
||||
Enable support for the TI TCA9548A i2c multiplexer
|
||||
|
||||
# put more i2c mux devices here
|
||||
|
||||
endmenu # I2C Multiplexer Support
|
||||
|
||||
Reference in New Issue
Block a user