diff options
| author | Antoine Tenart <antoine.tenart@free-electrons.com> | 2015-05-18 05:19:19 -0400 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2015-05-23 05:47:42 -0400 |
| commit | 2f4adaeebfb6f30fd6cd7a1a1dffe31f8e93a4c9 (patch) | |
| tree | 5bcd6c0de97dbab7d2ec999895f8a5168372237e | |
| parent | 70f1937911caebd961833314b41a618a33a5130a (diff) | |
Documentation: bindings: document the Berlin ADC driver
Following the addition of a Berlin ADC driver, this patch adds the
corresponding bindings documentation.
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
| -rw-r--r-- | Documentation/devicetree/bindings/iio/adc/berlin2_adc.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/adc/berlin2_adc.txt b/Documentation/devicetree/bindings/iio/adc/berlin2_adc.txt new file mode 100644 index 000000000000..908334c6b07f --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/berlin2_adc.txt | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | * Berlin Analog to Digital Converter (ADC) | ||
| 2 | |||
| 3 | The Berlin ADC has 8 channels, with one connected to a temperature sensor. | ||
| 4 | It is part of the system controller register set. The ADC node should be a | ||
| 5 | sub-node of the system controller node. | ||
| 6 | |||
| 7 | Required properties: | ||
| 8 | - compatible: must be "marvell,berlin2-adc" | ||
| 9 | - interrupts: the interrupts for the ADC and the temperature sensor | ||
| 10 | - interrupt-names: should be "adc" and "tsen" | ||
| 11 | |||
| 12 | Example: | ||
| 13 | |||
| 14 | adc: adc { | ||
| 15 | compatible = "marvell,berlin2-adc"; | ||
| 16 | interrupt-parent = <&sic>; | ||
| 17 | interrupts = <12>, <14>; | ||
| 18 | interrupt-names = "adc", "tsen"; | ||
| 19 | }; | ||
