diff options
| author | Antoni Pokusinski <apokusinski01@gmail.com> | 2025-12-11 19:58:42 +0100 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-01-31 07:38:31 -0800 |
| commit | 1fe80112e4a151d3184a702412b7be0bcd819dab (patch) | |
| tree | ecee08f7ff574e82f076b9eaecf946ee5b7fae93 /drivers/hwmon | |
| parent | af7e57d444141ac9e77b57296d59c3e965c4c4fa (diff) | |
hwmon: (sht3x) add support for SHT85
SHT85 is a temperature and humidity sensor with the same interface
as SHT3x.
Signed-off-by: Antoni Pokusinski <apokusinski01@gmail.com>
Link: https://lore.kernel.org/r/20251211185842.66084-1-apokusinski01@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon')
| -rw-r--r-- | drivers/hwmon/Kconfig | 4 | ||||
| -rw-r--r-- | drivers/hwmon/sht3x.c | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 157678b821fc..d9bac1e3057b 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -1983,8 +1983,8 @@ config SENSORS_SHT3x depends on I2C select CRC8 help - If you say yes here you get support for the Sensiron SHT30 and SHT31 - humidity and temperature sensors. + If you say yes here you get support for the Sensiron SHT30, SHT31 and + SHT85 humidity and temperature sensors. This driver can also be built as a module. If so, the module will be called sht3x. diff --git a/drivers/hwmon/sht3x.c b/drivers/hwmon/sht3x.c index f36c0229328f..08306ccb6d0b 100644 --- a/drivers/hwmon/sht3x.c +++ b/drivers/hwmon/sht3x.c @@ -933,6 +933,7 @@ static int sht3x_probe(struct i2c_client *client) static const struct i2c_device_id sht3x_ids[] = { {"sht3x", sht3x}, {"sts3x", sts3x}, + {"sht85", sht3x}, {} }; |
