Simon Glass | 3d1957f | 2015-08-03 08:19:21 -0600 | [diff] [blame] | 1 | config I2C_MUX |
Michal Simek | 61d815a | 2015-12-08 11:18:53 +0100 | [diff] [blame] | 2 | bool "Support I2C multiplexers" |
Simon Glass | 3d1957f | 2015-08-03 08:19:21 -0600 | [diff] [blame] | 3 | depends on DM_I2C |
| 4 | help |
| 5 | This enables I2C buses to be multiplexed, so that you can select |
| 6 | one of several buses using some sort of control mechanism. The |
| 7 | bus select is handled automatically when that bus is accessed, |
| 8 | using a suitable I2C MUX driver. |
Simon Glass | b725dc4 | 2015-08-03 08:19:22 -0600 | [diff] [blame] | 9 | |
Simon Glass | 4082fce | 2016-01-21 19:43:53 -0700 | [diff] [blame] | 10 | config SPL_I2C_MUX |
| 11 | bool "Support I2C multiplexers on SPL" |
| 12 | depends on I2C_MUX |
| 13 | help |
| 14 | This enables I2C buses to be multiplexed, so that you can select |
| 15 | one of several buses using some sort of control mechanism. The |
| 16 | bus select is handled automatically when that bus is accessed, |
| 17 | using a suitable I2C MUX driver. |
| 18 | |
Simon Glass | b725dc4 | 2015-08-03 08:19:22 -0600 | [diff] [blame] | 19 | config I2C_ARB_GPIO_CHALLENGE |
Michal Simek | 0305be1 | 2015-12-08 11:18:54 +0100 | [diff] [blame] | 20 | bool "GPIO-based I2C arbitration" |
| 21 | depends on I2C_MUX |
| 22 | help |
| 23 | If you say yes to this option, support will be included for an |
| 24 | I2C multimaster arbitration scheme using GPIOs and a challenge & |
| 25 | response mechanism where masters have to claim the bus by asserting |
| 26 | a GPIO. |
Michal Simek | d79ac32 | 2016-04-25 10:50:42 +0200 | [diff] [blame] | 27 | |
| 28 | config I2C_MUX_PCA954x |
| 29 | tristate "TI PCA954x I2C Mux/switches" |
| 30 | depends on I2C_MUX |
| 31 | help |
Luca Ceresoli | 4cdf4e0 | 2019-04-09 08:57:41 +0200 | [diff] [blame] | 32 | If you say yes here you get support for the TI PCA954x I2C mux/switch |
| 33 | devices. It is x width I2C multiplexer which enables to partitioning |
| 34 | I2C bus and connect multiple devices with the same address to the same |
| 35 | I2C controller where driver handles proper routing to target i2c |
Chris Packham | 0b1d7b7 | 2020-04-01 15:55:27 +1300 | [diff] [blame] | 36 | device. Supported chips are PCA9543, PCA9544, PCA9546, PCA9547, |
| 37 | PCA9548 and PCA9646. |
Peng Fan | a430556 | 2017-08-14 18:00:05 +0800 | [diff] [blame] | 38 | |
| 39 | config I2C_MUX_GPIO |
| 40 | tristate "GPIO-based I2C multiplexer" |
| 41 | depends on I2C_MUX && DM_GPIO |
| 42 | help |
| 43 | If you say yes to this option, support will be included for |
| 44 | a GPIO based I2C multiplexer. This driver provides access to |
| 45 | I2C busses connected through a MUX, which is controlled |
| 46 | through GPIO pins. |