dt-bindings: iio: adc: lpc32xx-adc: Document vref-supply
authorGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 15 Mar 2019 09:52:31 +0000 (10:52 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 4 Apr 2019 19:20:02 +0000 (20:20 +0100)
As most of the other ADC the lpc32xx one use a vref-supply property:
document it.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/adc/lpc32xx-adc.txt

index b3629d3..3a1bc66 100644 (file)
@@ -6,6 +6,10 @@ Required properties:
   region.
 - interrupts: The ADC interrupt
 
+Optional:
+ - vref-supply: The regulator supply ADC reference voltage, optional
+   for legacy reason, but highly encouraging to us in new device tree
+
 Example:
 
        adc@40048000 {
@@ -13,4 +17,5 @@ Example:
                reg = <0x40048000 0x1000>;
                interrupt-parent = <&mic>;
                interrupts = <39 0>;
+               vref-supply = <&vcc>;
        };