From: Stefan Gloor <code@stefan-gloor.ch>
To: jdelvare@suse.com, linux@roeck-us.net, corbet@lwn.net,
linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: Stefan Gloor <code@stefan-gloor.ch>
Subject: [PATCH v3 0/1] hwmon: (sht3x) read out sensor serial number
Date: Wed, 27 Dec 2023 20:00:35 +0100 [thread overview]
Message-ID: <20231227190036.20725-1-code@stefan-gloor.ch> (raw)
The temperature/humidity sensors of the STS3x/SHT3x family are
calibrated and factory-programmed with a unique serial number.
For some sensors, this serial number can be used to obtain a calibration
certificate via an API provided by the manufacturer (Sensirion).
Expose the serial number via debugfs.
Changelog
=========
v2 -> v3:
- Remove #ifdef for debugfs
- Add debugfs cleanup
- Do not expose serial number if read fails
v1 -> v2:
- Change from sysfs to debugfs
- Add documentation improvements
Stefan Gloor (1):
hwmon: (sht3x) read out sensor serial number
Documentation/hwmon/sht3x.rst | 11 +++++++
drivers/hwmon/sht3x.c | 56 ++++++++++++++++++++++++++++++++++-
2 files changed, 66 insertions(+), 1 deletion(-)
--
2.41.0
next reply other threads:[~2023-12-27 19:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-27 19:00 Stefan Gloor [this message]
2023-12-27 19:00 ` [PATCH v3 1/1] hwmon: (sht3x) read out sensor serial number Stefan Gloor
2023-12-31 18:32 ` Guenter Roeck
2024-01-01 22:18 ` Stefan Gloor
2024-01-02 16:39 ` 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=20231227190036.20725-1-code@stefan-gloor.ch \
--to=code@stefan-gloor.ch \
--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=linux@roeck-us.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.