]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
devicetree: hwmon: Add documentation for TMP108 driver.
authorJohn Muir <john@jmuir.com>
Fri, 2 Dec 2016 02:32:42 +0000 (18:32 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 10 Dec 2016 05:54:26 +0000 (21:54 -0800)
Simple hwmon binding documentation.

Signed-off-by: John Muir <john@jmuir.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/devicetree/bindings/hwmon/tmp108.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/hwmon/tmp108.txt b/Documentation/devicetree/bindings/hwmon/tmp108.txt
new file mode 100644 (file)
index 0000000..8c4b10d
--- /dev/null
@@ -0,0 +1,14 @@
+TMP108 temperature sensor
+-------------------------
+
+This device supports I2C only.
+
+Requires node properties:
+- compatible : "ti,tmp108"
+- reg : the I2C address of the device. This is 0x48, 0x49, 0x4a, or 0x4b.
+
+Example:
+       tmp108@48 {
+               compatible = "ti,tmp108";
+               reg = <0x48>;
+       };