Commit | Line | Data |
---|---|---|
367d6acc | 1 | #include <linux/types.h> |
2 | ||
1e9c2859 BS |
3 | /* platform data for the PL061 GPIO driver */ |
4 | ||
5 | struct pl061_platform_data { | |
6 | /* number of the first GPIO */ | |
7 | unsigned gpio_base; | |
8 | ||
9 | /* number of the first IRQ. | |
76c05c8a | 10 | * If the IRQ functionality in not desired this must be set to NO_IRQ. |
1e9c2859 BS |
11 | */ |
12 | unsigned irq_base; | |
13 | ||
14 | u8 directions; /* startup directions, 1: out, 0: in */ | |
15 | u8 values; /* startup values */ | |
16 | }; |