OSDN Git Service

dt-bindings: iio: humidity: add bindings for HDC100x sensors
authorMichael Stecklein <m-stecklein@ti.com>
Mon, 19 Jun 2017 16:01:04 +0000 (11:01 -0500)
committerJonathan Cameron <jic23@kernel.org>
Sat, 1 Jul 2017 09:16:38 +0000 (10:16 +0100)
Add the bindings for the family of HDC100x sensors.

Signed-off-by: Michael Stecklein <m-stecklein@ti.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/iio/humidity/hdc100x.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/iio/humidity/hdc100x.txt b/Documentation/devicetree/bindings/iio/humidity/hdc100x.txt
new file mode 100644 (file)
index 0000000..c52333b
--- /dev/null
@@ -0,0 +1,17 @@
+* HDC100x temperature + humidity sensors
+
+Required properties:
+  - compatible: Should contain one of the following:
+       ti,hdc1000
+       ti,hdc1008
+       ti,hdc1010
+       ti,hdc1050
+       ti,hdc1080
+  - reg: i2c address of the sensor
+
+Example:
+
+hdc100x@40 {
+       compatible = "ti,hdc1000";
+       reg = <0x40>;
+};