[PATCH v4 4/4] hwmon: (sht3x) Add support for GXCAS GXHT30
From: Zaixiang Xu
Date: Wed Mar 25 2026 - 05:09:26 EST
Add support for the GXCAS GXHT30 humidity and temperature sensor.
The GXHT30 is software compatible with the Sensirion SHT30.
Signed-off-by: Zaixiang Xu <zaixiang.xu.dev@xxxxxxxxx>
---
drivers/hwmon/sht3x.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/hwmon/sht3x.c b/drivers/hwmon/sht3x.c
index f2b1d3b8eb23..1561c0f46f75 100644
--- a/drivers/hwmon/sht3x.c
+++ b/drivers/hwmon/sht3x.c
@@ -934,6 +934,7 @@ static const struct i2c_device_id sht3x_ids[] = {
{"sht3x", sht3x},
{"sts3x", sts3x},
{"sht85", sht3x},
+ {"gxht30", sht3x},
{}
};
@@ -942,6 +943,7 @@ MODULE_DEVICE_TABLE(i2c, sht3x_ids);
static const struct of_device_id sht3x_of_match[] = {
{ .compatible = "sensirion,sht30", .data = (void *)sht3x },
{ .compatible = "sensirion,sts30", .data = (void *)sts3x },
+ { .compatible = "gxcas,gxht30", .data = (void *)sht3x },
{ }
};
@@ -959,5 +961,6 @@ module_i2c_driver(sht3x_i2c_driver);
MODULE_AUTHOR("David Frey <david.frey@xxxxxxxxxxxxx>");
MODULE_AUTHOR("Pascal Sachs <pascal.sachs@xxxxxxxxxxxxx>");
+MODULE_AUTHOR("Zaixiang Xu <zaixiang.xu.dev@xxxxxxxxx>");
MODULE_DESCRIPTION("Sensirion SHT3x humidity and temperature sensor driver");
MODULE_LICENSE("GPL");
--
2.34.1