dt-bindings: iio: temperature: Add bindings for TSYS01 temperature sensor
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Tue, 13 Jun 2017 15:53:13 +0000 (21:23 +0530)
committerJonathan Cameron <jic23@kernel.org>
Sat, 1 Jul 2017 09:16:44 +0000 (10:16 +0100)
Add device tree bindings for Measurement Specialties TSYS01 temperature sensor

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/iio/temperature/tsys01.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/iio/temperature/tsys01.txt b/Documentation/devicetree/bindings/iio/temperature/tsys01.txt
new file mode 100644 (file)
index 0000000..0d5cc55
--- /dev/null
@@ -0,0 +1,19 @@
+* TSYS01 - Measurement Specialties temperature sensor
+
+Required properties:
+
+       - compatible: should be "meas,tsys01"
+       - reg: I2C address of the sensor (changeable via CSB pin)
+
+               ------------------------
+               | CSB | Device Address |
+               ------------------------
+                  1         0x76
+                  0         0x77
+
+Example:
+
+tsys01@76 {
+       compatible = "meas,tsys01";
+       reg = <0x76>;
+};