diff options
author | Stefan Gloor <code@stefan-gloor.ch> | 2024-01-31 14:15:12 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-02-25 23:37:36 +0300 |
commit | 9d613d9b8a9e54cc21379a40de29294adc1e6594 (patch) | |
tree | c21070ec2c351b939a409e85e0ab37308489d374 /drivers/hwmon/adt7310.c | |
parent | f20b4a931130cb574c40563cfda0fc2cb944b4df (diff) | |
download | linux-9d613d9b8a9e54cc21379a40de29294adc1e6594.tar.xz |
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.
Tested with: 2x STS31, 1x STS32, 1x SHT31
Signed-off-by: Stefan Gloor <code@stefan-gloor.ch>
Link: https://lore.kernel.org/r/20240131111512.25321-2-code@stefan-gloor.ch
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/adt7310.c')
0 files changed, 0 insertions, 0 deletions