[PATCH] docs: hwmon: htu31: document debugfs serial_number

Chen-Shi-Hong posted 1 patch 1 week ago
Documentation/hwmon/htu31.rst | 7 +++++++
1 file changed, 7 insertions(+)
[PATCH] docs: hwmon: htu31: document debugfs serial_number
Posted by Chen-Shi-Hong 1 week ago
Document the debugfs serial_number file exposed by the htu31 driver.

The driver creates a debugfs entry for the sensor serial number, but
the documentation currently only describes the sysfs interface.

Signed-off-by: Chen-Shi-Hong <eric039eric@gmail.com>
---
 Documentation/hwmon/htu31.rst | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/hwmon/htu31.rst b/Documentation/hwmon/htu31.rst
index ccde84264643..9ab774dcf65d 100644
--- a/Documentation/hwmon/htu31.rst
+++ b/Documentation/hwmon/htu31.rst
@@ -35,3 +35,10 @@ temp1_input:        temperature input
 humidity1_input:    humidity input
 heater_enable:      heater control
 =================== =================
+
+debugfs-Interface
+-----------------
+
+=================== =========================================
+serial_number:      unique serial number of the sensor
+=================== =========================================
-- 
2.53.0
Re: [PATCH] docs: hwmon: htu31: document debugfs serial_number
Posted by Guenter Roeck 1 week ago
On Sun, May 17, 2026 at 08:52:21PM +0800, Chen-Shi-Hong wrote:
> Document the debugfs serial_number file exposed by the htu31 driver.
> 
> The driver creates a debugfs entry for the sensor serial number, but
> the documentation currently only describes the sysfs interface.
> 
> Signed-off-by: Chen-Shi-Hong <eric039eric@gmail.com>

Applied.

Thanks,
Guenter

> ---
>  Documentation/hwmon/htu31.rst | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/Documentation/hwmon/htu31.rst b/Documentation/hwmon/htu31.rst
> index ccde84264643..9ab774dcf65d 100644
> --- a/Documentation/hwmon/htu31.rst
> +++ b/Documentation/hwmon/htu31.rst
> @@ -35,3 +35,10 @@ temp1_input:        temperature input
>  humidity1_input:    humidity input
>  heater_enable:      heater control
>  =================== =================
> +
> +debugfs-Interface
> +-----------------
> +
> +=================== =========================================
> +serial_number:      unique serial number of the sensor
> +=================== =========================================