htcpld.h 578 B

123456789101112131415161718192021222324
  1. #ifndef __LINUX_HTCPLD_H
  2. #define __LINUX_HTCPLD_H
  3. struct htcpld_chip_platform_data {
  4. unsigned int addr;
  5. unsigned int reset;
  6. unsigned int num_gpios;
  7. unsigned int gpio_out_base;
  8. unsigned int gpio_in_base;
  9. unsigned int irq_base;
  10. unsigned int num_irqs;
  11. };
  12. struct htcpld_core_platform_data {
  13. unsigned int int_reset_gpio_hi;
  14. unsigned int int_reset_gpio_lo;
  15. unsigned int i2c_adapter_id;
  16. struct htcpld_chip_platform_data *chip;
  17. unsigned int num_chip;
  18. };
  19. #endif /* __LINUX_HTCPLD_H */