aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/amba/pl061.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/amba/pl061.h')
-rw-r--r--include/linux/amba/pl061.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/amba/pl061.h b/include/linux/amba/pl061.h
new file mode 100644
index 000000000000..b4fbd9862606
--- /dev/null
+++ b/include/linux/amba/pl061.h
@@ -0,0 +1,15 @@
1/* platform data for the PL061 GPIO driver */
2
3struct pl061_platform_data {
4 /* number of the first GPIO */
5 unsigned gpio_base;
6
7 /* number of the first IRQ.
8 * If the IRQ functionality in not desired this must be set to
9 * (unsigned) -1.
10 */
11 unsigned irq_base;
12
13 u8 directions; /* startup directions, 1: out, 0: in */
14 u8 values; /* startup values */
15};