diff options
author | Angelo Compagnucci <angelo.compagnucci@gmail.com> | 2015-03-08 14:36:58 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-03-09 11:03:05 +0000 |
commit | d24fc643b5cfb4fdb0d1bd569e1a2e128c0bf311 (patch) | |
tree | feb7d4e409c394f854b2d2d793d1e1d6c408c6f6 /Documentation | |
parent | 1ec28ce66aa4b0f7aaab0d496ee293ff2a52dd20 (diff) | |
download | linux-stable-d24fc643b5cfb4fdb0d1bd569e1a2e128c0bf311.tar.gz linux-stable-d24fc643b5cfb4fdb0d1bd569e1a2e128c0bf311.tar.bz2 linux-stable-d24fc643b5cfb4fdb0d1bd569e1a2e128c0bf311.zip |
iio: ti-adc128s052: Add DT binding documentation
Adding binding documentation for Texas Instruments' ADC128S052 ADC chip.
Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/iio/adc/ti-adc128s052.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/adc/ti-adc128s052.txt b/Documentation/devicetree/bindings/iio/adc/ti-adc128s052.txt new file mode 100644 index 000000000000..42ca7deec97d --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/ti-adc128s052.txt @@ -0,0 +1,18 @@ +* Texas Instruments' ADC128S052 ADC chip + +Required properties: + - compatible: Should be "ti,adc128s052" + - reg: spi chip select number for the device + - vref-supply: The regulator supply for ADC reference voltage + +Recommended properties: + - spi-max-frequency: Definition as per + Documentation/devicetree/bindings/spi/spi-bus.txt + +Example: +adc@0 { + compatible = "ti,adc128s052"; + reg = <0>; + vref-supply = <&vdd_supply>; + spi-max-frequency = <1000000>; +}; |