blob: 2412af944f1f584dcc611e17b910e8f55eb79cfc [file] [log] [blame]
viresh kumar367d6ac2010-03-29 05:29:56 +01001#include <linux/types.h>
2
Baruch Siach1e9c2852009-06-18 16:48:58 -07003/* platform data for the PL061 GPIO driver */
4
5struct pl061_platform_data {
6 /* number of the first GPIO */
7 unsigned gpio_base;
8
9 /* number of the first IRQ.
Rob Herring76c05c82011-08-10 16:31:46 -050010 * If the IRQ functionality in not desired this must be set to NO_IRQ.
Baruch Siach1e9c2852009-06-18 16:48:58 -070011 */
12 unsigned irq_base;
13
14 u8 directions; /* startup directions, 1: out, 0: in */
15 u8 values; /* startup values */
16};