summaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2022-01-10 19:22:55 +0100
committerGuenter Roeck <linux@roeck-us.net>2022-02-28 02:03:16 +0100
commit32b9a19a1966fb3124d7ddd60ebd08688be2f3fa (patch)
tree070c7d7b7e8ed4243e6ceb661179509e85b4638b /Documentation/hwmon
parenthwmon: (nct6775) add support for TSI temperature registers (diff)
downloadlinux-32b9a19a1966fb3124d7ddd60ebd08688be2f3fa.tar.xz
linux-32b9a19a1966fb3124d7ddd60ebd08688be2f3fa.zip
ABI: hwmon: Document "label" sysfs attribute
Add the "label" sysfs attribute, which can contain a descriptive label that allows to uniquely identify a device within the system. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Link: https://lore.kernel.org/r/20220110182256.30763-2-paul@crapouillou.net Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon')
-rw-r--r--Documentation/hwmon/sysfs-interface.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/hwmon/sysfs-interface.rst b/Documentation/hwmon/sysfs-interface.rst
index 85652a6aaa3e..209626fb2405 100644
--- a/Documentation/hwmon/sysfs-interface.rst
+++ b/Documentation/hwmon/sysfs-interface.rst
@@ -99,6 +99,10 @@ Global attributes
`name`
The chip name.
+`label`
+ A descriptive label that allows to uniquely identify a device
+ within the system.
+
`update_interval`
The interval at which the chip will update readings.