summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iio/adc/ti-adc128s052.txt
diff options
context:
space:
mode:
authorAngelo Compagnucci <angelo.compagnucci@gmail.com>2015-03-08 16:36:58 +0300
committerJonathan Cameron <jic23@kernel.org>2015-03-09 14:03:05 +0300
commitd24fc643b5cfb4fdb0d1bd569e1a2e128c0bf311 (patch)
treefeb7d4e409c394f854b2d2d793d1e1d6c408c6f6 /Documentation/devicetree/bindings/iio/adc/ti-adc128s052.txt
parent1ec28ce66aa4b0f7aaab0d496ee293ff2a52dd20 (diff)
downloadlinux-d24fc643b5cfb4fdb0d1bd569e1a2e128c0bf311.tar.xz
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/devicetree/bindings/iio/adc/ti-adc128s052.txt')
-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 @@
+* 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>;
+};