* [PATCH] docs: hwmon: (lm75) Add section for sysfs interface
@ 2026-04-17 5:45 Flaviu Nistor
2026-04-30 17:26 ` Guenter Roeck
0 siblings, 1 reply; 2+ messages in thread
From: Flaviu Nistor @ 2026-04-17 5:45 UTC (permalink / raw)
To: Guenter Roeck, Jonathan Corbet, Shuah Khan
Cc: Flaviu Nistor, linux-hwmon, linux-kernel
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>
---
Documentation/hwmon/lm75.rst | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/Documentation/hwmon/lm75.rst b/Documentation/hwmon/lm75.rst
index 4269da04508e..288cf8485ea6 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
+=============================== ======= ===========================================
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] docs: hwmon: (lm75) Add section for sysfs interface
2026-04-17 5:45 [PATCH] docs: hwmon: (lm75) Add section for sysfs interface Flaviu Nistor
@ 2026-04-30 17:26 ` Guenter Roeck
0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2026-04-30 17:26 UTC (permalink / raw)
To: Flaviu Nistor; +Cc: Jonathan Corbet, Shuah Khan, linux-hwmon, linux-kernel
On Fri, Apr 17, 2026 at 08:45:11AM +0300, Flaviu Nistor wrote:
> 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>
Applied, after removing the trailing ":" in attribute names.
Guenter
> ---
> Documentation/hwmon/lm75.rst | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/Documentation/hwmon/lm75.rst b/Documentation/hwmon/lm75.rst
> index 4269da04508e..288cf8485ea6 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
> +=============================== ======= ===========================================
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-04-30 17:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-17 5:45 [PATCH] docs: hwmon: (lm75) Add section for sysfs interface Flaviu Nistor
2026-04-30 17:26 ` Guenter Roeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox