Commit 32b9a19a authored by Paul Cercueil's avatar Paul Cercueil Committed by Guenter Roeck
Browse files

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: default avatarPaul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20220110182256.30763-2-paul@crapouillou.net


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent b68437ac
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -9,6 +9,14 @@ Description:

		RO

What:		/sys/class/hwmon/hwmonX/label
Description:
		A descriptive label that allows to uniquely identify a
		device within the system.
		The contents of the label are free-form.

		RO

What:		/sys/class/hwmon/hwmonX/update_interval
Description:
		The interval at which the chip will update readings.
+4 −0
Original line number Diff line number Diff line
@@ -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.