aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c-mux-gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/i2c-mux-gpio.h')
-rw-r--r--include/linux/i2c-mux-gpio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/i2c-mux-gpio.h b/include/linux/i2c-mux-gpio.h
index a36343a37ebc..4406108201fe 100644
--- a/include/linux/i2c-mux-gpio.h
+++ b/include/linux/i2c-mux-gpio.h
@@ -21,6 +21,9 @@
21 * @values: Array of bitmasks of GPIO settings (low/high) for each 21 * @values: Array of bitmasks of GPIO settings (low/high) for each
22 * position 22 * position
23 * @n_values: Number of multiplexer positions (busses to instantiate) 23 * @n_values: Number of multiplexer positions (busses to instantiate)
24 * @classes: Optional I2C auto-detection classes
25 * @gpio_chip: Optional GPIO chip name; if set, GPIO pin numbers are given
26 * relative to the base GPIO number of that chip
24 * @gpios: Array of GPIO numbers used to control MUX 27 * @gpios: Array of GPIO numbers used to control MUX
25 * @n_gpios: Number of GPIOs used to control MUX 28 * @n_gpios: Number of GPIOs used to control MUX
26 * @idle: Bitmask to write to MUX when idle or GPIO_I2CMUX_NO_IDLE if not used 29 * @idle: Bitmask to write to MUX when idle or GPIO_I2CMUX_NO_IDLE if not used
@@ -30,6 +33,8 @@ struct i2c_mux_gpio_platform_data {
30 int base_nr; 33 int base_nr;
31 const unsigned *values; 34 const unsigned *values;
32 int n_values; 35 int n_values;
36 const unsigned *classes;
37 char *gpio_chip;
33 const unsigned *gpios; 38 const unsigned *gpios;
34 int n_gpios; 39 int n_gpios;
35 unsigned idle; 40 unsigned idle;