summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorMarek Vasut2012-08-12 17:21:00 +0200
committerJonathan Cameron2012-08-16 21:18:38 +0200
commitbc2c90c974a0ed390327bbd94f49269e9f24e280 (patch)
tree515cf5f112c5b4662e36681a8f7c479e2847bf94 /Documentation/devicetree
parentIIO: Add 4-byte unsigned reads into generic-buffer example (diff)
downloadkernel-qcow2-linux-bc2c90c974a0ed390327bbd94f49269e9f24e280.tar.gz
kernel-qcow2-linux-bc2c90c974a0ed390327bbd94f49269e9f24e280.tar.xz
kernel-qcow2-linux-bc2c90c974a0ed390327bbd94f49269e9f24e280.zip
IIO: Add basic MXS LRADC driver
This driver is very basic. It supports userland trigger, buffer and raw access to channels. The support for delay channels is missing altogether. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org> Cc: Jonathan Cameron <jic23@kernel.org> Cc: Juergen Beisert <jbe@pengutronix.de> Cc: Lars-Peter Clausen <lars@metafoo.de> Cc: Shawn Guo <shawn.guo@linaro.org> Cc: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/staging/iio/adc/mxs-lradc.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/staging/iio/adc/mxs-lradc.txt b/Documentation/devicetree/bindings/staging/iio/adc/mxs-lradc.txt
new file mode 100644
index 000000000000..801d58cb6d4d
--- /dev/null
+++ b/Documentation/devicetree/bindings/staging/iio/adc/mxs-lradc.txt
@@ -0,0 +1,15 @@
+* Freescale i.MX28 LRADC device driver
+
+Required properties:
+- compatible: Should be "fsl,imx28-lradc"
+- reg: Address and length of the register set for the device
+- interrupts: Should contain the LRADC interrupts
+
+Examples:
+
+ lradc@80050000 {
+ compatible = "fsl,imx28-lradc";
+ reg = <0x80050000 0x2000>;
+ interrupts = <10 14 15 16 17 18 19
+ 20 21 22 23 24 25>;
+ };