summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/amba/pl061.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/amba/pl061.h')
-rw-r--r--kernel/include/linux/amba/pl061.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/kernel/include/linux/amba/pl061.h b/kernel/include/linux/amba/pl061.h
new file mode 100644
index 000000000..fb83c0453
--- /dev/null
+++ b/kernel/include/linux/amba/pl061.h
@@ -0,0 +1,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 0.
+ */
+ unsigned irq_base;
+
+ u8 directions; /* startup directions, 1: out, 0: in */
+ u8 values; /* startup values */
+};