hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/include/linux/platform_data/i2c-mux-gpio.h
....@@ -1,11 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * i2c-mux-gpio interface to platform code
34 *
45 * Peter Korsgaard <peter.korsgaard@barco.com>
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
96 */
107
118 #ifndef _LINUX_I2C_MUX_GPIO_H
....@@ -22,10 +19,6 @@
2219 * position
2320 * @n_values: Number of multiplexer positions (busses to instantiate)
2421 * @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
27
- * @gpios: Array of GPIO numbers used to control MUX
28
- * @n_gpios: Number of GPIOs used to control MUX
2922 * @idle: Bitmask to write to MUX when idle or GPIO_I2CMUX_NO_IDLE if not used
3023 */
3124 struct i2c_mux_gpio_platform_data {
....@@ -34,9 +27,6 @@
3427 const unsigned *values;
3528 int n_values;
3629 const unsigned *classes;
37
- char *gpio_chip;
38
- const unsigned *gpios;
39
- int n_gpios;
4030 unsigned idle;
4131 };
4232