浏览代码

dt-bindings: iio: humidity: Add bindings for HTU21 and MS8607 sensors

Add device tree bindings for Measurement-Specialties HTU21 temperature & humidity sensor and humidity part of MS8607 sensor

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Manivannan Sadhasivam 8 年之前
父节点
当前提交
e049ca5fa7
共有 1 个文件被更改,包括 13 次插入0 次删除
  1. 13 0
      Documentation/devicetree/bindings/iio/humidity/htu21.txt

+ 13 - 0
Documentation/devicetree/bindings/iio/humidity/htu21.txt

@@ -0,0 +1,13 @@
+*HTU21 - Measurement-Specialties htu21 temperature & humidity sensor and humidity part of MS8607 sensor
+
+Required properties:
+
+	- compatible: should be "meas,htu21" or "meas,ms8607-humidity"
+	- reg: I2C address of the sensor
+
+Example:
+
+htu21@40 {
+	compatible = "meas,htu21";
+	reg = <0x40>;
+};