aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Compagnucci <angelo.compagnucci@gmail.com>2015-03-08 09:36:58 -0400
committerJonathan Cameron <jic23@kernel.org>2015-03-09 07:03:05 -0400
commitd24fc643b5cfb4fdb0d1bd569e1a2e128c0bf311 (patch)
treefeb7d4e409c394f854b2d2d793d1e1d6c408c6f6
parent1ec28ce66aa4b0f7aaab0d496ee293ff2a52dd20 (diff)
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>
-rw-r--r--Documentation/devicetree/bindings/iio/adc/ti-adc128s052.txt18
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 @@
1* Texas Instruments' ADC128S052 ADC chip
2
3Required properties:
4 - compatible: Should be "ti,adc128s052"
5 - reg: spi chip select number for the device
6 - vref-supply: The regulator supply for ADC reference voltage
7
8Recommended properties:
9 - spi-max-frequency: Definition as per
10 Documentation/devicetree/bindings/spi/spi-bus.txt
11
12Example:
13adc@0 {
14 compatible = "ti,adc128s052";
15 reg = <0>;
16 vref-supply = <&vdd_supply>;
17 spi-max-frequency = <1000000>;
18};