Thread (22 messages) 22 messages, 3 authors, 2021-10-17
STALE1706d LANDED
Revisions (5)
  1. v1 [diff vs current]
  2. v2 [diff vs current]
  3. v3 [diff vs current]
  4. v4 [diff vs current]
  5. v5 current

[PATCH v5 7/9] hwmon: (tmp421) update documentation

From: Krzysztof Adamski <hidden>
Date: 2021-10-14 13:10:53
Also in: linux-hwmon
Subsystem: documentation, hardware monitoring, the rest · Maintainers: Jonathan Corbet, Guenter Roeck, Linus Torvalds

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 <redacted>
---
  Documentation/hwmon/tmp421.rst | 10 ++++++++++
  1 file changed, 10 insertions(+)
diff --git a/Documentation/hwmon/tmp421.rst b/Documentation/hwmon/tmp421.rst
index ddcd5159c75d..a3002117bbd7 100644
--- a/Documentation/hwmon/tmp421.rst
+++ b/Documentation/hwmon/tmp421.rst
@@ -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**
-- 
2.31.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help