[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220114164101.GA1270407@roeck-us.net>
Date: Fri, 14 Jan 2022 08:41:01 -0800
From: Guenter Roeck <linux@...ck-us.net>
To: Paul Cercueil <paul@...pouillou.net>
Cc: Jean Delvare <jdelvare@...e.com>, Jonathan Corbet <corbet@....net>,
linux-hwmon@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-doc@...r.kernel.org, list@...ndingux.net
Subject: Re: [PATCH v3 1/2] ABI: hwmon: Document "label" sysfs attribute
On Mon, Jan 10, 2022 at 06:22:55PM +0000, Paul Cercueil wrote:
> Add the "label" sysfs attribute, which can contain a descriptive label
> that allows to uniquely identify a device within the system.
>
> Signed-off-by: Paul Cercueil <paul@...pouillou.net>
Applied to hwmon-next.
Thanks,
Guenter
> ---
>
> Notes:
> v2: New patch
> v3: No change
>
> Documentation/ABI/testing/sysfs-class-hwmon | 8 ++++++++
> Documentation/hwmon/sysfs-interface.rst | 4 ++++
> 2 files changed, 12 insertions(+)
>
> diff --git a/Documentation/ABI/testing/sysfs-class-hwmon b/Documentation/ABI/testing/sysfs-class-hwmon
> index 1f20687def44..653d4c75eddb 100644
> --- a/Documentation/ABI/testing/sysfs-class-hwmon
> +++ b/Documentation/ABI/testing/sysfs-class-hwmon
> @@ -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.
> diff --git a/Documentation/hwmon/sysfs-interface.rst b/Documentation/hwmon/sysfs-interface.rst
> index 85652a6aaa3e..209626fb2405 100644
> --- a/Documentation/hwmon/sysfs-interface.rst
> +++ b/Documentation/hwmon/sysfs-interface.rst
> @@ -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.
>
Powered by blists - more mailing lists