Skip to content

Commit 2f4adae

Browse files
atenartjic23
authored andcommitted
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>
1 parent 70f1937 commit 2f4adae

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
};

0 commit comments

Comments
 (0)