2010-03-29 08:29:56 +04:00
|
|
|
#include <linux/types.h>
|
|
|
|
|
2009-06-19 03:48:58 +04:00
|
|
|
/* platform data for the PL061 GPIO driver */
|
|
|
|
|
|
|
|
struct pl061_platform_data {
|
|
|
|
/* number of the first GPIO */
|
|
|
|
unsigned gpio_base;
|
|
|
|
|
|
|
|
/* number of the first IRQ.
|
|
|
|
* If the IRQ functionality in not desired this must be set to
|
|
|
|
* (unsigned) -1.
|
|
|
|
*/
|
|
|
|
unsigned irq_base;
|
|
|
|
|
|
|
|
u8 directions; /* startup directions, 1: out, 0: in */
|
|
|
|
u8 values; /* startup values */
|
|
|
|
};
|