mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-18 16:08:53 +09:00
![Michal Simek](/assets/img/avatar_default.png)
Add support for common TI i2c mux which is available on ZynqMP zcu102 board. DM i2c mux core code is selecting/deselecting bus before/after every command is performed that's why only one channel is active at a time. That's also the reason why deselect is just disable all available channels. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Heiko Schocher <hs@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
config I2C_MUX
|
|
bool "Support I2C multiplexers"
|
|
depends on DM_I2C
|
|
help
|
|
This enables I2C buses to be multiplexed, so that you can select
|
|
one of several buses using some sort of control mechanism. The
|
|
bus select is handled automatically when that bus is accessed,
|
|
using a suitable I2C MUX driver.
|
|
|
|
config SPL_I2C_MUX
|
|
bool "Support I2C multiplexers on SPL"
|
|
depends on I2C_MUX
|
|
help
|
|
This enables I2C buses to be multiplexed, so that you can select
|
|
one of several buses using some sort of control mechanism. The
|
|
bus select is handled automatically when that bus is accessed,
|
|
using a suitable I2C MUX driver.
|
|
|
|
config I2C_ARB_GPIO_CHALLENGE
|
|
bool "GPIO-based I2C arbitration"
|
|
depends on I2C_MUX
|
|
help
|
|
If you say yes to this option, support will be included for an
|
|
I2C multimaster arbitration scheme using GPIOs and a challenge &
|
|
response mechanism where masters have to claim the bus by asserting
|
|
a GPIO.
|
|
|
|
config I2C_MUX_PCA954x
|
|
tristate "TI PCA954x I2C Mux/switches"
|
|
depends on I2C_MUX
|
|
help
|
|
If you say yes here you get support for the TI PCA954x
|
|
I2C mux/switch devices. It is x width I2C multiplexer which enables to
|
|
paritioning I2C bus and connect multiple devices with the same address
|
|
to the same I2C controller where driver handles proper routing to
|
|
target i2c device. PCA9544 and PCA9548 are supported.
|