Add support for GXCAS GXHT30 sensor. The sensor is software
compatible with the Sensirion SHT30.
Signed-off-by: Zaixiang Xu <zaixiang.xu.dev@gmail.com>
---
drivers/hwmon/sht3x.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/hwmon/sht3x.c b/drivers/hwmon/sht3x.c
index 64404fe83f0b..0bb81af4396e 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},
{}
};
@@ -946,6 +947,7 @@ static const struct of_device_id sht3x_of_match[] = {
{ .compatible = "sensirion,sht85" },
{ .compatible = "sensirion,sts30" },
{ .compatible = "sensirion,sts31" },
+ { .compatible = "gxcas,gxht30" },
{ }
};
@@ -963,5 +965,6 @@ module_i2c_driver(sht3x_i2c_driver);
MODULE_AUTHOR("David Frey <david.frey@sensirion.com>");
MODULE_AUTHOR("Pascal Sachs <pascal.sachs@sensirion.com>");
+MODULE_AUTHOR("Zaixiang Xu <zaixiang.xu.dev@gmail.com>");
MODULE_DESCRIPTION("Sensirion SHT3x humidity and temperature sensor driver");
MODULE_LICENSE("GPL");
--
2.34.1