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 i2c_adapter_id;
18 struct htcpld_chip_platform_data *chip;
19 unsigned int num_chip;
22 #endif /* __LINUX_HTCPLD_H */