aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/viperboard.h
diff options
context:
space:
mode:
authorLars Poeschel <poeschel@lemonage.de>2012-11-05 09:48:24 -0500
committerSamuel Ortiz <sameo@linux.intel.com>2012-11-20 06:21:12 -0500
commit9d5b72de0d1627b130fa69c5edf58b5b2df4ca50 (patch)
tree642b3beb4d7ee1170f52a4ce2e523b5c8b2ed9bc /include/linux/mfd/viperboard.h
parentf01312d846016dbd38cc9865e580298fb61f2aa7 (diff)
gpio: Add viperboard gpio driver
This adds the mfd cell to use the gpio a and gpio b part of the Nano River Technologies viperboard. Signed-off-by: Lars Poeschel <poeschel@lemonage.de> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/viperboard.h')
-rw-r--r--include/linux/mfd/viperboard.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/viperboard.h b/include/linux/mfd/viperboard.h
index 0d1342466db5..42d339fac3e5 100644
--- a/include/linux/mfd/viperboard.h
+++ b/include/linux/mfd/viperboard.h
@@ -44,6 +44,8 @@
44#define VPRBRD_USB_TIMEOUT_MS 100 44#define VPRBRD_USB_TIMEOUT_MS 100
45#define VPRBRD_USB_REQUEST_MAJOR 0xea 45#define VPRBRD_USB_REQUEST_MAJOR 0xea
46#define VPRBRD_USB_REQUEST_MINOR 0xeb 46#define VPRBRD_USB_REQUEST_MINOR 0xeb
47#define VPRBRD_USB_REQUEST_GPIOA 0xed
48#define VPRBRD_USB_REQUEST_GPIOB 0xdd
47 49
48struct vprbrd_i2c_write_hdr { 50struct vprbrd_i2c_write_hdr {
49 u8 cmd; 51 u8 cmd;