* [PATCH v5 1/3] dt-bindings: vendor-prefixes: Add GXCAS Technology
2026-04-03 10:14 [PATCH v5 0/3] hwmon: (sht3x) Add support for GXCAS GXHT30 Zaixiang Xu
@ 2026-04-03 10:14 ` Zaixiang Xu
2026-04-03 10:14 ` [PATCH v5 2/3] dt-bindings: trivial-devices: add Sensirion SHT3x/STS3x and GXCAS GXHT30 Zaixiang Xu
2026-04-03 10:14 ` [PATCH v5 3/3] hwmon: (sht3x) Add support for GXCAS GXHT30 sensor Zaixiang Xu
2 siblings, 0 replies; 4+ messages in thread
From: Zaixiang Xu @ 2026-04-03 10:14 UTC (permalink / raw)
To: linux
Cc: robh, krzk+dt, conor+dt, linux-hwmon, devicetree, linux-kernel,
zaixiang.xu.dev
Add vendor prefix for Beijing Galaxy-CAS Technology Co., Ltd. (GXCAS).
The prefix was confirmed from the manufacturer's website:
https://www.gxcas.com/en/index.html
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Zaixiang Xu <zaixiang.xu.dev@gmail.com>
---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index ee7fd3cfe203..354836eb8e72 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -676,6 +676,8 @@ patternProperties:
description: Gateworks Corporation
use "gateworks" vendor prefix
deprecated: true
+ "^gxcas,.*":
+ description: Beijing Galaxy-CAS Technology Co., Ltd.
"^hannstar,.*":
description: HannStar Display Corporation
"^haochuangyi,.*":
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH v5 2/3] dt-bindings: trivial-devices: add Sensirion SHT3x/STS3x and GXCAS GXHT30
2026-04-03 10:14 [PATCH v5 0/3] hwmon: (sht3x) Add support for GXCAS GXHT30 Zaixiang Xu
2026-04-03 10:14 ` [PATCH v5 1/3] dt-bindings: vendor-prefixes: Add GXCAS Technology Zaixiang Xu
@ 2026-04-03 10:14 ` Zaixiang Xu
2026-04-03 10:14 ` [PATCH v5 3/3] hwmon: (sht3x) Add support for GXCAS GXHT30 sensor Zaixiang Xu
2 siblings, 0 replies; 4+ messages in thread
From: Zaixiang Xu @ 2026-04-03 10:14 UTC (permalink / raw)
To: linux
Cc: robh, krzk+dt, conor+dt, linux-hwmon, devicetree, linux-kernel,
zaixiang.xu.dev
The Sensirion SHT3x/STS3x series (and its compatible alternative, the
GXCAS GXHT30) are simple I2C temperature and humidity sensors. They
require no external resources other than the I2C bus and power supply,
fitting perfectly into the trivial-devices category.
Historically, the driver matched against the "sht3x" wildcard compatible
string. However, as pointed out by DT maintainers, wildcards are heavily
discouraged in new bindings, and specific part numbers representing real
devices should be used instead.
Therefore, document the explicit chip names (sht30, sht31, sht35, sht85,
sts30, sts31) along with the fully compatible gxht30 in
trivial-devices.yaml. Note that sht85 is already supported in the driver
but was missing from the bindings.
Signed-off-by: Zaixiang Xu <zaixiang.xu.dev@gmail.com>
---
Documentation/devicetree/bindings/trivial-devices.yaml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
index a482aeadcd44..e6efabfb1b14 100644
--- a/Documentation/devicetree/bindings/trivial-devices.yaml
+++ b/Documentation/devicetree/bindings/trivial-devices.yaml
@@ -125,6 +125,8 @@ properties:
- fsl,mma8450
# MPR121: Proximity Capacitive Touch Sensor Controller
- fsl,mpr121
+ # GXCAS temperature & humidity sensor with I2C interface
+ - gxcas,gxht30
# HiTRON AC/DC CompactPCI Power Supply
- hitron,hac300s
# Honeywell Humidicon HIH-6130 humidity/temperature sensor
@@ -399,7 +401,14 @@ properties:
- sensirion,sht20
- sensirion,sht21
- sensirion,sht25
+ - sensirion,sht30
+ - sensirion,sht31
+ - sensirion,sht35
- sensirion,sht4x
+ - sensirion,sht85
+ # Sensirion temperature sensor with I2C interface
+ - sensirion,sts30
+ - sensirion,sts31
# Sensortek 3 axis accelerometer
- sensortek,stk8312
# Sensortek 3 axis accelerometer
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH v5 3/3] hwmon: (sht3x) Add support for GXCAS GXHT30 sensor
2026-04-03 10:14 [PATCH v5 0/3] hwmon: (sht3x) Add support for GXCAS GXHT30 Zaixiang Xu
2026-04-03 10:14 ` [PATCH v5 1/3] dt-bindings: vendor-prefixes: Add GXCAS Technology Zaixiang Xu
2026-04-03 10:14 ` [PATCH v5 2/3] dt-bindings: trivial-devices: add Sensirion SHT3x/STS3x and GXCAS GXHT30 Zaixiang Xu
@ 2026-04-03 10:14 ` Zaixiang Xu
2 siblings, 0 replies; 4+ messages in thread
From: Zaixiang Xu @ 2026-04-03 10:14 UTC (permalink / raw)
To: linux
Cc: robh, krzk+dt, conor+dt, linux-hwmon, devicetree, linux-kernel,
zaixiang.xu.dev
The GXCAS GXHT30 is a humidity and temperature sensor that is software
compatible with the Sensirion SHT3x series.
Add the "gxht30" chip name to the i2c_device_id table to allow I2C core
matching. For Device Tree instantiation, this driver relies on the I2C
core fallback matching or DT compatible fallbacks (e.g., matching
"gxcas,gxht30" with "sensirion,sht30").
Signed-off-by: Zaixiang Xu <zaixiang.xu.dev@gmail.com>
---
drivers/hwmon/sht3x.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/hwmon/sht3x.c b/drivers/hwmon/sht3x.c
index 08306ccb6d0b..abcc7b4abe5a 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,5 +949,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
^ permalink raw reply related [flat|nested] 4+ messages in thread