diff options
author | Marek Vasut <marex@denx.de> | 2012-08-12 19:21:00 +0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-08-16 23:18:38 +0400 |
commit | bc2c90c974a0ed390327bbd94f49269e9f24e280 (patch) | |
tree | 515cf5f112c5b4662e36681a8f7c479e2847bf94 /Documentation/devicetree/bindings/staging/iio/adc | |
parent | 6cffc1f814b25d59ca6f0cd75b64bb159801c0fa (diff) | |
download | linux-bc2c90c974a0ed390327bbd94f49269e9f24e280.tar.xz |
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/bindings/staging/iio/adc')
-rw-r--r-- | Documentation/devicetree/bindings/staging/iio/adc/mxs-lradc.txt | 15 |
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>; + }; |