diff mbox series

[2/2] dt-bindings: iio: temperature: Add bindings for TSYS01 temperature sensor

Message ID 1497369193-32538-1-git-send-email-manivannan.sadhasivam@linaro.org
State New
Headers show
Series None | expand

Commit Message

Manivannan Sadhasivam June 13, 2017, 3:53 p.m. UTC
Add device tree bindings for Measurement Specialties TSYS01 temperature sensor

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

---
 .../devicetree/bindings/iio/temperature/tsys01.txt    | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/temperature/tsys01.txt

-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Rob Herring June 18, 2017, 2:05 p.m. UTC | #1
On Tue, Jun 13, 2017 at 09:23:13PM +0530, Manivannan Sadhasivam wrote:
> Add device tree bindings for Measurement Specialties TSYS01 temperature sensor

> 

> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

> ---

>  .../devicetree/bindings/iio/temperature/tsys01.txt    | 19 +++++++++++++++++++

>  1 file changed, 19 insertions(+)

>  create mode 100644 Documentation/devicetree/bindings/iio/temperature/tsys01.txt


Acked-by: Rob Herring <robh@kernel.org>

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Jonathan Cameron June 20, 2017, 5:14 p.m. UTC | #2
On Sun, 18 Jun 2017 09:05:08 -0500
Rob Herring <robh@kernel.org> wrote:

> On Tue, Jun 13, 2017 at 09:23:13PM +0530, Manivannan Sadhasivam wrote:

> > Add device tree bindings for Measurement Specialties TSYS01 temperature sensor

> > 

> > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

> > ---

> >  .../devicetree/bindings/iio/temperature/tsys01.txt    | 19 +++++++++++++++++++

> >  1 file changed, 19 insertions(+)

> >  create mode 100644 Documentation/devicetree/bindings/iio/temperature/tsys01.txt  

> 

> Acked-by: Rob Herring <robh@kernel.org>


Applied.  Thanks

Jonathan
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/temperature/tsys01.txt b/Documentation/devicetree/bindings/iio/temperature/tsys01.txt
new file mode 100644
index 0000000..0d5cc55
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/temperature/tsys01.txt
@@ -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>;
+};