pl061.h 378 字节
Newer Older
1 2
#include <linux/types.h>

3 4 5 6 7 8 9
/* platform data for the PL061 GPIO driver */

struct pl061_platform_data {
	/* number of the first GPIO */
	unsigned	gpio_base;

	/* number of the first IRQ.
R
Rob Herring 已提交
10
	 * If the IRQ functionality in not desired this must be set to NO_IRQ.
11 12 13 14 15 16
	 */
	unsigned	irq_base;

	u8		directions;	/* startup directions, 1: out, 0: in */
	u8		values;		/* startup values */
};