From: Guenter Roeck <linux@roeck-us.net>
To: Paul Cercueil <paul@crapouillou.net>
Cc: Jean Delvare <jdelvare@suse.com>,
Jonathan Corbet <corbet@lwn.net>,
linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-doc@vger.kernel.org, list@opendingux.net
Subject: Re: [PATCH v3 1/2] ABI: hwmon: Document "label" sysfs attribute
Date: Fri, 14 Jan 2022 08:41:01 -0800 [thread overview]
Message-ID: <20220114164101.GA1270407@roeck-us.net> (raw)
In-Reply-To: <20220110182256.30763-2-paul@crapouillou.net>
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@crapouillou.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.
>
next prev parent reply other threads:[~2022-01-14 16:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-10 18:22 [PATCH v3 0/2] hwmon: Add "label" attribute v3 Paul Cercueil
2022-01-10 18:22 ` [PATCH v3 1/2] ABI: hwmon: Document "label" sysfs attribute Paul Cercueil
2022-01-14 16:41 ` Guenter Roeck [this message]
2022-01-10 18:22 ` [PATCH v3 2/2] hwmon: Add "label" attribute Paul Cercueil
2022-01-14 16:41 ` Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220114164101.GA1270407@roeck-us.net \
--to=linux@roeck-us.net \
--cc=corbet@lwn.net \
--cc=jdelvare@suse.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=list@opendingux.net \
--cc=paul@crapouillou.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome