Merge branch 'for_linus' of git://cavan.codon.org.uk/platform-drivers-x86
[platform/adaptation/renesas_rcar/renesas_kernel.git] / include / linux / htcpld.h
1 #ifndef __LINUX_HTCPLD_H
2 #define __LINUX_HTCPLD_H
3
4 struct htcpld_chip_platform_data {
5         unsigned int addr;
6         unsigned int reset;
7         unsigned int num_gpios;
8         unsigned int gpio_out_base;
9         unsigned int gpio_in_base;
10         unsigned int irq_base;
11         unsigned int num_irqs;
12 };
13
14 struct htcpld_core_platform_data {
15         unsigned int                      int_reset_gpio_hi;
16         unsigned int                      int_reset_gpio_lo;
17         unsigned int                      i2c_adapter_id;
18
19         struct htcpld_chip_platform_data  *chip;
20         unsigned int                      num_chip;
21 };
22
23 #endif /* __LINUX_HTCPLD_H */
24