pl061.h 363 B

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