summaryrefslogtreecommitdiffstats
path: root/include/linux/amba/pl061.h
blob: 2412af944f1f584dcc611e17b910e8f55eb79cfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <linux/types.h>

/* 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 NO_IRQ.
	 */
	unsigned	irq_base;

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