summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLars Poeschel <poeschel@lemonage.de>2012-11-05 15:48:26 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2012-11-20 12:21:13 +0100
commitffd8a6e7a77802dd09559be78dea63956aa8f1d5 (patch)
tree1d77fe3d0a930d27ce1ac58d8c4a7f853b751b4c /include
parent174a13aa8669331605b138aaf61569dd7189e453 (diff)
iio: adc: Add viperboard adc driver
This adds the mfd cell to use the adc part of the Nano River Technologies viperboard. Signed-off-by: Lars Poeschel <poeschel@lemonage.de> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/viperboard.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/viperboard.h b/include/linux/mfd/viperboard.h
index ef7851430d8..193452848c0 100644
--- a/include/linux/mfd/viperboard.h
+++ b/include/linux/mfd/viperboard.h
@@ -46,6 +46,7 @@
#define VPRBRD_USB_REQUEST_I2C 0xe9
#define VPRBRD_USB_REQUEST_MAJOR 0xea
#define VPRBRD_USB_REQUEST_MINOR 0xeb
+#define VPRBRD_USB_REQUEST_ADC 0xec
#define VPRBRD_USB_REQUEST_GPIOA 0xed
#define VPRBRD_USB_REQUEST_GPIOB 0xdd