aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/amba/pl061.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2009-07-22 21:47:29 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-07-22 21:47:29 -0700
commitbd072111e7319d90a7b8127f91c2806b9a6f279e (patch)
tree1686978814a2387ebfc16f9f5778a7f0caaf319b /include/linux/amba/pl061.h
parentInput: sh_keysc - allow modifying keymap from userspace (diff)
parentLinux 2.6.31-rc4 (diff)
downloadlinux-dev-bd072111e7319d90a7b8127f91c2806b9a6f279e.tar.xz
linux-dev-bd072111e7319d90a7b8127f91c2806b9a6f279e.zip
Merge commit 'v2.6.31-rc4' into next
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 @@
+/* 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 */
+};