summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iio/adc
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@bootlin.com>2019-03-15 10:52:31 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-04-04 20:20:02 +0100
commitcaeffabc36cbb6a3cdfe5b7894f8e1bfef6504b3 (patch)
treea2135be89288cd434a82088a629ffbee8de2e009 /Documentation/devicetree/bindings/iio/adc
parente32cff6f6163fa03b41812eeab0f8d6a429ef416 (diff)
dt-bindings: iio: adc: lpc32xx-adc: Document vref-supply
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>
Diffstat (limited to 'Documentation/devicetree/bindings/iio/adc')
-rw-r--r--Documentation/devicetree/bindings/iio/adc/lpc32xx-adc.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/adc/lpc32xx-adc.txt b/Documentation/devicetree/bindings/iio/adc/lpc32xx-adc.txt
index b3629d3a9adf..3a1bc669bd51 100644
--- a/Documentation/devicetree/bindings/iio/adc/lpc32xx-adc.txt
+++ b/Documentation/devicetree/bindings/iio/adc/lpc32xx-adc.txt
@@ -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>;
};