hwmon: (tmp421) update documentation
authorKrzysztof Adamski <krzysztof.adamski@nokia.com>
Thu, 14 Oct 2021 13:10:44 +0000 (15:10 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 15 Oct 2021 22:54:26 +0000 (15:54 -0700)
Sysfs interface of the tmp421 driver was extended in the recent patches
so lets update the documentation to reflect that.

Signed-off-by: Krzysztof Adamski <krzysztof.adamski@nokia.com>
Link: https://lore.kernel.org/r/6ae22fdf18513ddd09f430ef9c5e46c17e27886b.1634206677.git.krzysztof.adamski@nokia.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/tmp421.rst

index ddcd515..a300211 100644 (file)
@@ -64,3 +64,13 @@ the temperature values via the following sysfs files:
 **temp[1-4]_input**
 
 **temp[2-4]_fault**
+
+Each sensor can be individually disabled via Devicetree or from sysfs
+via:
+
+**temp[1-4]_enable**
+
+If labels were specified in Devicetree, additional sysfs files will
+be present:
+
+**temp[1-4]_label**