Lines Matching +full:i2c +full:- +full:mux
1 Kernel driver gpio-i2cmux
6 -----------
8 gpio-i2cmux is an i2c mux driver providing access to I2C bus segments
9 from a master I2C bus and a hardware MUX controlled through GPIO pins.
13 ---------- ---------- Bus segment 1 - - - - -
14 | | SCL/SDA | |-------------- | |
15 | |------------| |
17 | Linux | GPIO 1..N | MUX |--------------- Devices
18 | |------------| | | |
20 | | | |---------------| |
21 ---------- ---------- - - - - -
23 SCL/SDA of the master I2C bus is multiplexed to bus segment 1..M
27 -----
29 gpio-i2cmux uses the platform bus, so you need to provide a struct
31 gpio_i2cmux_platform_data with the I2C adapter number of the master
33 to control it. See include/linux/gpio-i2cmux.h for details.
35 E.G. something like this for a MUX providing 4 bus segments
38 #include <linux/gpio-i2cmux.h>
60 .name = "gpio-i2cmux",