/include/linux/mfd/abx500/ab8500-gpio.h

https://github.com/airy09/android_kernel_sony_apq8064 · C Header · 23 lines · 8 code · 4 blank · 11 comment · 0 complexity · 67eb0bb840ed28066954379f81031c88 MD5 · raw file

  1. /*
  2. * Copyright ST-Ericsson 2010.
  3. *
  4. * Author: Bibek Basu <bibek.basu@stericsson.com>
  5. * Licensed under GPLv2.
  6. */
  7. #ifndef _AB8500_GPIO_H
  8. #define _AB8500_GPIO_H
  9. /*
  10. * Platform data to register a block: only the initial gpio/irq number.
  11. * Array sizes are large enough to contain all AB8500 and AB9540 GPIO
  12. * registers.
  13. */
  14. struct ab8500_gpio_platform_data {
  15. int gpio_base;
  16. u32 irq_base;
  17. u8 config_reg[8];
  18. };
  19. #endif /* _AB8500_GPIO_H */