[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231227190036.20725-1-code@stefan-gloor.ch>
Date: Wed, 27 Dec 2023 20:00:35 +0100
From: Stefan Gloor <code@...fan-gloor.ch>
To: jdelvare@...e.com,
linux@...ck-us.net,
corbet@....net,
linux-hwmon@...r.kernel.org,
linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Stefan Gloor <code@...fan-gloor.ch>
Subject: [PATCH v3 0/1] hwmon: (sht3x) read out sensor serial number
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
Powered by blists - more mailing lists