pinctrl-coh901.h 596 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (C) 2007-2012 ST-Ericsson AB
  3. * License terms: GNU General Public License (GPL) version 2
  4. * GPIO block resgister definitions and inline macros for
  5. * U300 GPIO COH 901 335 or COH 901 571/3
  6. * Author: Linus Walleij <linus.walleij@stericsson.com>
  7. */
  8. #ifndef __MACH_U300_GPIO_U300_H
  9. #define __MACH_U300_GPIO_U300_H
  10. /**
  11. * struct u300_gpio_platform - U300 GPIO platform data
  12. * @ports: number of GPIO block ports
  13. * @gpio_base: first GPIO number for this block (use a free range)
  14. */
  15. struct u300_gpio_platform {
  16. u8 ports;
  17. int gpio_base;
  18. };
  19. #endif /* __MACH_U300_GPIO_U300_H */