[PATCH v6 4/4] hwmon: (sht3x) Add support for GXCAS GXHT30

From: Zaixiang Xu

Date: Tue Apr 28 2026 - 07:28:05 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 6437568aaf73..f52114c13edb 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},
{}
};

@@ -948,6 +949,7 @@ static const struct of_device_id sht3x_of_match[] = {
{ .compatible = "sensirion,sts31", .data = (void *)(uintptr_t)sts3x },
{ .compatible = "sensirion,sts32", .data = (void *)(uintptr_t)sts3x },
{ .compatible = "sensirion,sts35", .data = (void *)(uintptr_t)sts3x },
+ { .compatible = "gxcas,gxht30", .data = (void *)(uintptr_t)sht3x },
{ }
};

@@ -965,5 +967,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