From 0a6f2e9d48e0055bdb2a7a8a2d509c64b56dde54 Mon Sep 17 00:00:00 2001 From: Wojciech Slenska Date: Fri, 5 Oct 2018 05:38:35 +0000 Subject: hwmon: (sht3x) add devicetree support Signed-off-by: Wojciech Slenska Signed-off-by: Philippe Schenker Signed-off-by: Stefan Agner (cherry picked from commit 868500c715177280fef9db94ee81229311673857) --- Documentation/devicetree/bindings/hwmon/sht3x.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/sht3x.txt (limited to 'Documentation') 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>; +} -- cgit v1.2.3