OSDN Git Service

DT: add binding documentation for STTS751
authorandrea.merello <andrea.merello@gmail.com>
Thu, 2 Feb 2017 07:44:04 +0000 (08:44 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 3 Feb 2017 13:33:19 +0000 (05:33 -0800)
Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/devicetree/bindings/hwmon/stts751.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/hwmon/stts751.txt b/Documentation/devicetree/bindings/hwmon/stts751.txt
new file mode 100644 (file)
index 0000000..3ee1dc3
--- /dev/null
@@ -0,0 +1,15 @@
+* STTS751 thermometer.
+
+Required node properties:
+- compatible: "stts751"
+- reg: I2C bus address of the device
+
+Optional properties:
+- smbus-timeout-disable: when set, the smbus timeout function will be disabled
+
+Example stts751 node:
+
+temp-sensor {
+       compatible = "stts751";
+       reg = <0x48>;
+}