xref: /openbmc/u-boot/drivers/i2c/muxes/Kconfig (revision 004167048defc61cbef44a819e4afd4b18c0b7e5)
13d1957f0SSimon Glassconfig I2C_MUX
261d815a2SMichal Simek	bool "Support I2C multiplexers"
33d1957f0SSimon Glass	depends on DM_I2C
43d1957f0SSimon Glass	help
53d1957f0SSimon Glass	  This enables I2C buses to be multiplexed, so that you can select
63d1957f0SSimon Glass	  one of several buses using some sort of control mechanism. The
73d1957f0SSimon Glass	  bus select is handled automatically when that bus is accessed,
83d1957f0SSimon Glass	  using a suitable I2C MUX driver.
9b725dc45SSimon Glass
104082fce9SSimon Glassconfig SPL_I2C_MUX
114082fce9SSimon Glass	bool "Support I2C multiplexers on SPL"
124082fce9SSimon Glass	depends on I2C_MUX
134082fce9SSimon Glass	help
144082fce9SSimon Glass	  This enables I2C buses to be multiplexed, so that you can select
154082fce9SSimon Glass	  one of several buses using some sort of control mechanism. The
164082fce9SSimon Glass	  bus select is handled automatically when that bus is accessed,
174082fce9SSimon Glass	  using a suitable I2C MUX driver.
184082fce9SSimon Glass
19b725dc45SSimon Glassconfig I2C_ARB_GPIO_CHALLENGE
20b725dc45SSimon Glass	bool "GPIO-based I2C arbitration"
21b725dc45SSimon Glass	depends on I2C_MUX
22b725dc45SSimon Glass	help
23b725dc45SSimon Glass	  If you say yes to this option, support will be included for an
24b725dc45SSimon Glass	  I2C multimaster arbitration scheme using GPIOs and a challenge &
25b725dc45SSimon Glass	  response mechanism where masters have to claim the bus by asserting
26b725dc45SSimon Glass	  a GPIO.
27d79ac324SMichal Simek
28d79ac324SMichal Simekconfig I2C_MUX_PCA954x
29d79ac324SMichal Simek	tristate "TI PCA954x I2C Mux/switches"
30d79ac324SMichal Simek	depends on I2C_MUX
31d79ac324SMichal Simek	help
32d79ac324SMichal Simek	  If you say yes here you get support for the TI PCA954x
33d79ac324SMichal Simek	  I2C mux/switch devices. It is x width I2C multiplexer which enables to
34*00416704SSimon Goldschmidt	  partitioning I2C bus and connect multiple devices with the same address
35d79ac324SMichal Simek	  to the same I2C controller where driver handles proper routing to
36d79ac324SMichal Simek	  target i2c device. PCA9544 and PCA9548 are supported.
37a430556eSPeng Fan
38a430556eSPeng Fanconfig I2C_MUX_GPIO
39a430556eSPeng Fan        tristate "GPIO-based I2C multiplexer"
40a430556eSPeng Fan	depends on I2C_MUX && DM_GPIO
41a430556eSPeng Fan	help
42a430556eSPeng Fan	  If you say yes to this option, support will be included for
43a430556eSPeng Fan	  a GPIO based I2C multiplexer. This driver provides access to
44a430556eSPeng Fan	  I2C busses connected through a MUX, which is controlled
45a430556eSPeng Fan	  through GPIO pins.
46