blob: 842fce69ac0637043eeef0f4a35b9fe4702ce3fa [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Cory Maccarrone6048a3d2010-01-19 11:22:45 +01002#ifndef __LINUX_HTCPLD_H
3#define __LINUX_HTCPLD_H
4
5struct htcpld_chip_platform_data {
6 unsigned int addr;
7 unsigned int reset;
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;
13};
14
15struct htcpld_core_platform_data {
16 unsigned int int_reset_gpio_hi;
17 unsigned int int_reset_gpio_lo;
18 unsigned int i2c_adapter_id;
19
20 struct htcpld_chip_platform_data *chip;
21 unsigned int num_chip;
22};
23
24#endif /* __LINUX_HTCPLD_H */
25