diff options
author | Matt Ranostay <mranostay@gmail.com> | 2016-09-19 01:42:15 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-09-27 22:33:03 +0300 |
commit | 92f0afb5b2be2e137ff223654af51f521dd74c3a (patch) | |
tree | 8c151d10dac0842e3da3903e6009af8c83de0087 /Documentation/devicetree | |
parent | 0023e67dd8951737588b8af0469446df3ec52afe (diff) | |
download | linux-92f0afb5b2be2e137ff223654af51f521dd74c3a.tar.xz |
iio: adc: ti-adc161s626: add regulator support
Allow IIO_CHAN_INFO_SCALE and IIO_CHAN_INFO_OFFSET attributes for
processing by checking voltage from a regulator.
Signed-off-by: Matt Ranostay <matt@ranostay.consulting>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/iio/adc/ti-adc161s626.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/adc/ti-adc161s626.txt b/Documentation/devicetree/bindings/iio/adc/ti-adc161s626.txt index 9ed2315781e4..3d25011f0c99 100644 --- a/Documentation/devicetree/bindings/iio/adc/ti-adc161s626.txt +++ b/Documentation/devicetree/bindings/iio/adc/ti-adc161s626.txt @@ -3,6 +3,7 @@ Required properties: - compatible: Should be "ti,adc141s626" or "ti,adc161s626" - reg: spi chip select number for the device + - vdda-supply: supply voltage to VDDA pin Recommended properties: - spi-max-frequency: Definition as per @@ -11,6 +12,7 @@ Recommended properties: Example: adc@0 { compatible = "ti,adc161s626"; + vdda-supply = <&vdda_fixed>; reg = <0>; spi-max-frequency = <4300000>; }; |