summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlaviu Nistor <flaviu.nistor@gmail.com>2026-04-17 08:45:11 +0300
committerGuenter Roeck <linux@roeck-us.net>2026-05-24 13:54:01 -0700
commita7c5aab8105d04d0784deabaa544f2fe581cd661 (patch)
tree5a8aead9318738e95bff87d8e86f101b2e30e23c
parente656735fe32c59cc323c41e7922e77ac7bcd9f68 (diff)
downloadlinux-a7c5aab8105d04d0784deabaa544f2fe581cd661.tar.gz
linux-a7c5aab8105d04d0784deabaa544f2fe581cd661.zip
docs: hwmon: (lm75) Add section for sysfs interface
Similar to other HWMON sensors add a section in the documentation describing the sysfs attributes, their permissions and a short description. Signed-off-by: Flaviu Nistor <flaviu.nistor@gmail.com> Link: https://lore.kernel.org/r/20260417054511.5432-1-flaviu.nistor@gmail.com [groeck: Removed trailing ":" from attribute names; fixed minor typo] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
-rw-r--r--Documentation/hwmon/lm75.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/hwmon/lm75.rst b/Documentation/hwmon/lm75.rst
index 4269da04508e..ca46754e028b 100644
--- a/Documentation/hwmon/lm75.rst
+++ b/Documentation/hwmon/lm75.rst
@@ -181,3 +181,19 @@ is supported by this driver, other specific enhancements are not.
The LM77 is not supported, contrary to what we pretended for a long time.
Both chips are simply not compatible, value encoding differs.
+
+sysfs-Interface
+---------------
+
+The following list includes the sysfs attributes that the driver provides, their
+permissions and a short description:
+
+=============================== ======= ===========================================
+Name Perm Description
+=============================== ======= ===========================================
+temp1_input RO Temperature input
+temp1_label RO Descriptive name for the sensor
+temp1_max RW Maximum temperature
+temp1_max_hyst RW Maximum hysteresis temperature
+update_interval RW Update conversions interval in milliseconds
+=============================== ======= ===========================================