Skip to content

Commit

Permalink
dt-bindings: iio: adc: lpc32xx-adc: Document vref-supply
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Gregory CLEMENT authored and Jonathan Cameron committed Apr 4, 2019
1 parent e32cff6 commit caeffab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Documentation/devicetree/bindings/iio/adc/lpc32xx-adc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@ 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 {
compatible = "nxp,lpc3220-adc";
reg = <0x40048000 0x1000>;
interrupt-parent = <&mic>;
interrupts = <39 0>;
vref-supply = <&vcc>;
};

0 comments on commit caeffab

Please sign in to comment.