summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorWojciech Slenska <wojciech.slenska@gmail.com>2018-10-05 05:38:35 +0000
committerPhilippe Schenker <philippe.schenker@toradex.com>2020-08-13 16:05:09 +0200
commit76fab913383f39f74a0b63c5240b961f9d18f580 (patch)
treea0cc351697fb22b54bbdf3e32550b3bf9d705d6e /Documentation
parentf955853096b8476eaa10ca5f269be4fbe1d41b35 (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> (cherry picked from commit 868500c715177280fef9db94ee81229311673857)
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>;
+}