| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #ifndef __I2C_GPIOMUX_MUX_CHIP_H__ |
| 4 | #define __I2C_GPIOMUX_MUX_CHIP_H__ |
| 5 | |
| 6 | #include <acpi/acpi_device.h> |
| 7 | #include <types.h> |
| 8 | |
| 9 | #define MAX_NUM_MUX_GPIOS 4 |
| 10 | |
| 11 | struct drivers_i2c_gpiomux_mux_config { |
| 12 | /* GPIOs used to select the mux lines */ |
| 13 | uint32_t mux_gpio_count; |
| 14 | struct acpi_gpio mux_gpio[MAX_NUM_MUX_GPIOS]; |
| 15 | }; |
| 16 | |
| 17 | #endif /* __I2C_GPIOMUX_MUX_CHIP_H__ */ |