Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Antoine Tenart and committed by
Jonathan Cameron
2f4adaee 70f19379

+19
+19
Documentation/devicetree/bindings/iio/adc/berlin2_adc.txt
··· 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 + };