1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __LINUX_HTCPLD_H
3 #define __LINUX_HTCPLD_H
5 struct htcpld_chip_platform_data {
8 unsigned int num_gpios;
9 unsigned int gpio_out_base;
10 unsigned int gpio_in_base;
11 unsigned int irq_base;
12 unsigned int num_irqs;
15 struct htcpld_core_platform_data {
16 unsigned int int_reset_gpio_hi;
17 unsigned int int_reset_gpio_lo;
18 unsigned int i2c_adapter_id;
20 struct htcpld_chip_platform_data *chip;
21 unsigned int num_chip;
24 #endif /* __LINUX_HTCPLD_H */