diff options
| author | Marek Vasut <marex@denx.de> | 2012-08-12 11:21:00 -0400 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2012-08-16 15:18:38 -0400 |
| commit | bc2c90c974a0ed390327bbd94f49269e9f24e280 (patch) | |
| tree | 515cf5f112c5b4662e36681a8f7c479e2847bf94 /Documentation | |
| parent | 6cffc1f814b25d59ca6f0cd75b64bb159801c0fa (diff) | |
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')
| -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 @@ | |||
| 1 | * Freescale i.MX28 LRADC device driver | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: Should be "fsl,imx28-lradc" | ||
| 5 | - reg: Address and length of the register set for the device | ||
| 6 | - interrupts: Should contain the LRADC interrupts | ||
| 7 | |||
| 8 | Examples: | ||
| 9 | |||
| 10 | lradc@80050000 { | ||
| 11 | compatible = "fsl,imx28-lradc"; | ||
| 12 | reg = <0x80050000 0x2000>; | ||
| 13 | interrupts = <10 14 15 16 17 18 19 | ||
| 14 | 20 21 22 23 24 25>; | ||
| 15 | }; | ||
