summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorWojciech Slenska <wojciech.slenska@gmail.com>2018-10-05 05:38:35 +0000
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-01-27 20:36:34 +0200
commit0a6f2e9d48e0055bdb2a7a8a2d509c64b56dde54 (patch)
tree629251d7b9a9bd7e3fa112b73a061c555eb8a17a /Documentation
parentccc9fa9fda622cf8f01cd925b4fdcc1684d92922 (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>;
+}