gpio: driver for PrimeCell PL061 GPIO controller
[linux-2.6] / include / linux / amba / pl061.h
1 /* platform data for the PL061 GPIO driver */
2
3 struct pl061_platform_data {
4         /* number of the first GPIO */
5         unsigned        gpio_base;
6
7         /* number of the first IRQ.
8          * If the IRQ functionality in not desired this must be set to
9          * (unsigned) -1.
10          */
11         unsigned        irq_base;
12
13         u8              directions;     /* startup directions, 1: out, 0: in */
14         u8              values;         /* startup values */
15 };