]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
Documentation: bindings: document the Berlin ADC driver
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Mon, 18 May 2015 09:19:19 +0000 (11:19 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sat, 23 May 2015 09:47:42 +0000 (10:47 +0100)
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>
Documentation/devicetree/bindings/iio/adc/berlin2_adc.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/iio/adc/berlin2_adc.txt b/Documentation/devicetree/bindings/iio/adc/berlin2_adc.txt
new file mode 100644 (file)
index 0000000..908334c
--- /dev/null
@@ -0,0 +1,19 @@
+* Berlin Analog to Digital Converter (ADC)
+
+The Berlin ADC has 8 channels, with one connected to a temperature sensor.
+It is part of the system controller register set. The ADC node should be a
+sub-node of the system controller node.
+
+Required properties:
+- compatible: must be "marvell,berlin2-adc"
+- interrupts: the interrupts for the ADC and the temperature sensor
+- interrupt-names: should be "adc" and "tsen"
+
+Example:
+
+adc: adc {
+       compatible = "marvell,berlin2-adc";
+       interrupt-parent = <&sic>;
+       interrupts = <12>, <14>;
+       interrupt-names = "adc", "tsen";
+};