Lines Matching +full:gpio +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 ---------- ---------- - - - - -
24 according to the settings of the GPIO pins 1..N.
27 -----
29 gpio-i2cmux uses the platform bus, so you need to provide a struct
32 bus, the number of bus segments to create and the GPIO pins used
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
36 controlled through 3 GPIO pins:
38 #include <linux/gpio-i2cmux.h>
60 .name = "gpio-i2cmux",