| Baruch Siach | 1e9c285 | 2009-06-18 16:48:58 -0700 | [diff] [blame] | 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 | }; | ||||