summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/htcpld.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/htcpld.h')
-rw-r--r--kernel/include/linux/htcpld.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/kernel/include/linux/htcpld.h b/kernel/include/linux/htcpld.h
new file mode 100644
index 000000000..ab3f6cb4d
--- /dev/null
+++ b/kernel/include/linux/htcpld.h
@@ -0,0 +1,24 @@
+#ifndef __LINUX_HTCPLD_H
+#define __LINUX_HTCPLD_H
+
+struct htcpld_chip_platform_data {
+ unsigned int addr;
+ unsigned int reset;
+ unsigned int num_gpios;
+ unsigned int gpio_out_base;
+ unsigned int gpio_in_base;
+ unsigned int irq_base;
+ unsigned int num_irqs;
+};
+
+struct htcpld_core_platform_data {
+ unsigned int int_reset_gpio_hi;
+ unsigned int int_reset_gpio_lo;
+ unsigned int i2c_adapter_id;
+
+ struct htcpld_chip_platform_data *chip;
+ unsigned int num_chip;
+};
+
+#endif /* __LINUX_HTCPLD_H */
+