aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorNuno Sa <nuno.sa@analog.com>2024-01-29 17:13:24 +0100
committerGuenter Roeck <linux@roeck-us.net>2024-02-11 13:43:09 -0800
commit35c1bfb99fef9c71f9df5c1325db99a79300bc97 (patch)
tree38b776b57f7fdca4e3cd66d0b033a150d228fc49 /Documentation/ABI
parentd07c41eb963a4f621d1867c36ad3b79b2f5faa20 (diff)
downloadlinux-35c1bfb99fef9c71f9df5c1325db99a79300bc97.tar.gz
hwmon: add fault attribute for voltage channels
Sometimes a voltage channel might have an hard failure (eg: a shorted MOSFET). Hence, add a fault attribute to report such failures. Signed-off-by: Nuno Sa <nuno.sa@analog.com> Link: https://lore.kernel.org/r/20240129-b4-ltc4282-support-v4-2-fe75798164cc@analog.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r--Documentation/ABI/testing/sysfs-class-hwmon9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-hwmon b/Documentation/ABI/testing/sysfs-class-hwmon
index 3dac923c9b0ef..6c4e68ad4a833 100644
--- a/Documentation/ABI/testing/sysfs-class-hwmon
+++ b/Documentation/ABI/testing/sysfs-class-hwmon
@@ -149,6 +149,15 @@ Description:
RW
+What: /sys/class/hwmon/hwmonX/inY_fault
+Description:
+ Reports a voltage hard failure (eg: shorted component)
+
+ - 1: Failed
+ - 0: Ok
+
+ RO
+
What: /sys/class/hwmon/hwmonX/cpuY_vid
Description:
CPU core reference voltage.