pl061.h 373 B

12345678910111213141516
  1. #include <linux/types.h>
  2. /* platform data for the PL061 GPIO driver */
  3. struct pl061_platform_data {
  4. /* number of the first GPIO */
  5. unsigned gpio_base;
  6. /* number of the first IRQ.
  7. * If the IRQ functionality in not desired this must be set to 0.
  8. */
  9. unsigned irq_base;
  10. u8 directions; /* startup directions, 1: out, 0: in */
  11. u8 values; /* startup values */
  12. };