summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorWojciech Slenska <wojciech.slenska@gmail.com>2018-10-05 05:38:35 +0000
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2020-03-23 23:36:45 +0000
commitfd0ec4d63feb9432e661be0424d15c4493599b30 (patch)
tree1c013ee7eaa7ebd815e02ff14843a55a023eab88 /Documentation
parent3b0f0e28ba939dca2958634c9586c3c9ec23a3f3 (diff)
hwmon: (sht3x) add devicetree support
Signed-off-by: Wojciech Slenska <wojciech.slenska@gmail.com> Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/hwmon/sht3x.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/hwmon/sht3x.txt b/Documentation/devicetree/bindings/hwmon/sht3x.txt
new file mode 100644
index 000000000000..e54327436605
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/sht3x.txt
@@ -0,0 +1,16 @@
+Sensirion SHT3x Humidity and Temperature Sensor
+
+Required node properties:
+- compatible: "sensirion,sht3x" or "sensirion,sts3x"
+- reg: I2C bus address of the device
+
+Optional properties:
+- sensirion,blocking-io: enable blocking mode on i2c
+- sensirion,no-high-precision: disable high accuracy
+
+Example sht3x node:
+
+sensor {
+ compatible = "sensirion,sht3x";
+ reg = <0x4a>;
+}