viresh kumar | 367d6ac | 2010-03-29 05:29:56 +0100 | [diff] [blame] | 1 | #include <linux/types.h> |
| 2 | |
Baruch Siach | 1e9c285 | 2009-06-18 16:48:58 -0700 | [diff] [blame] | 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. |
Rob Herring | f2ab2ba | 2011-12-09 14:11:41 -0600 | [diff] [blame] | 10 | * If the IRQ functionality in not desired this must be set to 0. |
Baruch Siach | 1e9c285 | 2009-06-18 16:48:58 -0700 | [diff] [blame] | 11 | */ |
| 12 | unsigned irq_base; |
| 13 | |
| 14 | u8 directions; /* startup directions, 1: out, 0: in */ |
| 15 | u8 values; /* startup values */ |
| 16 | }; |