* [PATCH v3 0/4] hwmon: (sht3x) Add support for GXCAS GXHT30
@ 2026-03-24 12:21 Zaixiang Xu
2026-03-24 12:21 ` [PATCH v3 1/4] dt-bindings: vendor-prefixes: Add GXCAS Technology Zaixiang Xu
` (4 more replies)
0 siblings, 5 replies; 8+ messages in thread
From: Zaixiang Xu @ 2026-03-24 12:21 UTC (permalink / raw)
To: linux
Cc: robh, krzk+dt, conor+dt, linux-hwmon, devicetree, linux-kernel,
zaixiang.xu.dev
This series adds support for the GXCAS GXHT30 humidity and temperature
sensor. The GXHT30 is software compatible with the Sensirion SHT30 series.
This series also introduces the missing YAML binding schema for the
Sensirion SHT30 family, replacing wildcards with specific model names.
Changes in v3:
- Split driver changes into two patches: one for DT framework and one
for adding GXHT30 (suggested by Guenter Roeck).
- Fixed commit message line lengths (suggested by Guenter Roeck).
- Removed wildcards 'x' from compatibles, used specific model names,
and renamed the binding file to sensirion,sht30.yaml
(suggested by Conor Dooley).
- Added manufacturer website to vendor-prefix patch and included
Acked-by from Conor Dooley.
- Fixed missing newline at end of YAML file (reported by kernel test robot).
Changes in v2:
- Fix placeholder "Your Name" in MODULE_AUTHOR.
Zaixiang Xu (4):
dt-bindings: vendor-prefixes: Add GXCAS Technology
dt-bindings: hwmon: Add Sensirion SHT30 series
hwmon: (sht3x) Add devicetree support
hwmon: (sht3x) Add support for GXCAS GXHT30
Documentation/devicetree/bindings/hwmon/sensirion,sht30.yaml | 44 ++++++++++++++++++++
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 +
drivers/hwmon/sht3x.c | 16 +++++++-
3 files changed, 61 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/hwmon/sensirion,sht30.yaml
--
2.34.1
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v3 1/4] dt-bindings: vendor-prefixes: Add GXCAS Technology
2026-03-24 12:21 [PATCH v3 0/4] hwmon: (sht3x) Add support for GXCAS GXHT30 Zaixiang Xu
@ 2026-03-24 12:21 ` Zaixiang Xu
2026-03-25 8:46 ` Krzysztof Kozlowski
2026-03-24 12:21 ` [PATCH v3 2/4] dt-bindings: hwmon: Add Sensirion SHT30 series Zaixiang Xu
` (3 subsequent siblings)
4 siblings, 1 reply; 8+ messages in thread
From: Zaixiang Xu @ 2026-03-24 12:21 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>
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] 8+ messages in thread
* [PATCH v3 2/4] dt-bindings: hwmon: Add Sensirion SHT30 series
2026-03-24 12:21 [PATCH v3 0/4] hwmon: (sht3x) Add support for GXCAS GXHT30 Zaixiang Xu
2026-03-24 12:21 ` [PATCH v3 1/4] dt-bindings: vendor-prefixes: Add GXCAS Technology Zaixiang Xu
@ 2026-03-24 12:21 ` Zaixiang Xu
2026-03-25 8:45 ` Krzysztof Kozlowski
2026-03-24 12:21 ` [PATCH v3 3/4] hwmon: (sht3x) Add devicetree support Zaixiang Xu
` (2 subsequent siblings)
4 siblings, 1 reply; 8+ messages in thread
From: Zaixiang Xu @ 2026-03-24 12:21 UTC (permalink / raw)
To: linux
Cc: robh, krzk+dt, conor+dt, linux-hwmon, devicetree, linux-kernel,
zaixiang.xu.dev
Add YAML devicetree binding schema for Sensirion SHT30 series and
GXCAS GXHT30 sensors. Wildcards are replaced with specific model
names as per maintainer feedback.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/r/202603212044.BRPaiz86-lkp@intel.com/
Signed-off-by: Zaixiang Xu <zaixiang.xu.dev@gmail.com>
---
.../bindings/hwmon/sensirion,sht30.yaml | 50 +++++++++++++++++++
1 file changed, 50 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/sensirion,sht30.yaml
diff --git a/Documentation/devicetree/bindings/hwmon/sensirion,sht30.yaml b/Documentation/devicetree/bindings/hwmon/sensirion,sht30.yaml
new file mode 100644
index 000000000000..1b5ce822b37b
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/sensirion,sht30.yaml
@@ -0,0 +1,50 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwmon/sensirion,sht30.yaml#
+$schema: http://devicetree.org/meta-schema.yaml#
+
+title: Sensirion SHT30 Humidity and Temperature Sensor
+
+maintainers:
+ - Zaixiang Xu <zaixiang.xu.dev@gmail.com>
+
+description: |
+ The SHT30 series is a family of humidity and temperature sensors by Sensirion.
+ Compatible sensors like the GXCAS GXHT30 are also supported.
+
+properties:
+ compatible:
+ enum:
+ - gxcas,gxht30
+ - sensirion,sht30
+ - sensirion,sht31
+ - sensirion,sht35
+ - sensirion,sht85
+ - sensirion,sts30
+ - sensirion,sts31
+ - sensirion,sts32
+ - sensirion,sts35
+
+ reg:
+ maxItems: 1
+ description: I2C address (usually 0x44 or 0x45)
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ sensor@44 {
+ compatible = "gxcas,gxht30";
+ reg = <0x44>;
+ };
+ };
+
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v3 3/4] hwmon: (sht3x) Add devicetree support
2026-03-24 12:21 [PATCH v3 0/4] hwmon: (sht3x) Add support for GXCAS GXHT30 Zaixiang Xu
2026-03-24 12:21 ` [PATCH v3 1/4] dt-bindings: vendor-prefixes: Add GXCAS Technology Zaixiang Xu
2026-03-24 12:21 ` [PATCH v3 2/4] dt-bindings: hwmon: Add Sensirion SHT30 series Zaixiang Xu
@ 2026-03-24 12:21 ` Zaixiang Xu
2026-03-24 12:21 ` [PATCH v3 4/4] hwmon: (sht3x) Add support for GXCAS GXHT30 Zaixiang Xu
2026-03-24 20:29 ` [PATCH v3 0/4] " Guenter Roeck
4 siblings, 0 replies; 8+ messages in thread
From: Zaixiang Xu @ 2026-03-24 12:21 UTC (permalink / raw)
To: linux
Cc: robh, krzk+dt, conor+dt, linux-hwmon, devicetree, linux-kernel,
zaixiang.xu.dev
Add of_match_table to support devicetree based instantiation.
Specific compatible strings are used instead of wildcards.
Signed-off-by: Zaixiang Xu <zaixiang.xu.dev@gmail.com>
---
drivers/hwmon/sht3x.c | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/drivers/hwmon/sht3x.c b/drivers/hwmon/sht3x.c
index 08306ccb6d0b..64404fe83f0b 100644
--- a/drivers/hwmon/sht3x.c
+++ b/drivers/hwmon/sht3x.c
@@ -939,8 +939,23 @@ static const struct i2c_device_id sht3x_ids[] = {
MODULE_DEVICE_TABLE(i2c, sht3x_ids);
+static const struct of_device_id sht3x_of_match[] = {
+ { .compatible = "sensirion,sht30" },
+ { .compatible = "sensirion,sht31" },
+ { .compatible = "sensirion,sht35" },
+ { .compatible = "sensirion,sht85" },
+ { .compatible = "sensirion,sts30" },
+ { .compatible = "sensirion,sts31" },
+ { }
+};
+
+MODULE_DEVICE_TABLE(of, sht3x_of_match);
+
static struct i2c_driver sht3x_i2c_driver = {
- .driver.name = "sht3x",
+ .driver = {
+ .name = "sht3x",
+ .of_match_table = sht3x_of_match,
+ },
.probe = sht3x_probe,
.id_table = sht3x_ids,
};
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v3 4/4] hwmon: (sht3x) Add support for GXCAS GXHT30
2026-03-24 12:21 [PATCH v3 0/4] hwmon: (sht3x) Add support for GXCAS GXHT30 Zaixiang Xu
` (2 preceding siblings ...)
2026-03-24 12:21 ` [PATCH v3 3/4] hwmon: (sht3x) Add devicetree support Zaixiang Xu
@ 2026-03-24 12:21 ` Zaixiang Xu
2026-03-24 20:29 ` [PATCH v3 0/4] " Guenter Roeck
4 siblings, 0 replies; 8+ messages in thread
From: Zaixiang Xu @ 2026-03-24 12:21 UTC (permalink / raw)
To: linux
Cc: robh, krzk+dt, conor+dt, linux-hwmon, devicetree, linux-kernel,
zaixiang.xu.dev
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
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH v3 0/4] hwmon: (sht3x) Add support for GXCAS GXHT30
2026-03-24 12:21 [PATCH v3 0/4] hwmon: (sht3x) Add support for GXCAS GXHT30 Zaixiang Xu
` (3 preceding siblings ...)
2026-03-24 12:21 ` [PATCH v3 4/4] hwmon: (sht3x) Add support for GXCAS GXHT30 Zaixiang Xu
@ 2026-03-24 20:29 ` Guenter Roeck
4 siblings, 0 replies; 8+ messages in thread
From: Guenter Roeck @ 2026-03-24 20:29 UTC (permalink / raw)
To: Zaixiang Xu
Cc: robh, krzk+dt, conor+dt, linux-hwmon, devicetree, linux-kernel
On 3/24/26 05:21, Zaixiang Xu wrote:
> This series adds support for the GXCAS GXHT30 humidity and temperature
> sensor. The GXHT30 is software compatible with the Sensirion SHT30 series.
>
> This series also introduces the missing YAML binding schema for the
> Sensirion SHT30 family, replacing wildcards with specific model names.
>
AI feedback:
https://sashiko.dev/#/patchset/1774354869-119736-1-git-send-email-zaixiang.xu.dev%40gmail.com
I wonder if all those chips should be modeled with fallback for the chips
with the same functionality. sht3x_of_match in patch 3 looks wrong, though,
since the sht and the sts chips are _not_ the same and need to be configured
differently.
Thanks,
Guenter
> Changes in v3:
> - Split driver changes into two patches: one for DT framework and one
> for adding GXHT30 (suggested by Guenter Roeck).
> - Fixed commit message line lengths (suggested by Guenter Roeck).
> - Removed wildcards 'x' from compatibles, used specific model names,
> and renamed the binding file to sensirion,sht30.yaml
> (suggested by Conor Dooley).
> - Added manufacturer website to vendor-prefix patch and included
> Acked-by from Conor Dooley.
> - Fixed missing newline at end of YAML file (reported by kernel test robot).
>
> Changes in v2:
> - Fix placeholder "Your Name" in MODULE_AUTHOR.
>
> Zaixiang Xu (4):
> dt-bindings: vendor-prefixes: Add GXCAS Technology
> dt-bindings: hwmon: Add Sensirion SHT30 series
> hwmon: (sht3x) Add devicetree support
> hwmon: (sht3x) Add support for GXCAS GXHT30
>
> Documentation/devicetree/bindings/hwmon/sensirion,sht30.yaml | 44 ++++++++++++++++++++
> Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 +
> drivers/hwmon/sht3x.c | 16 +++++++-
> 3 files changed, 61 insertions(+), 1 deletion(-)
> create mode 100644 Documentation/devicetree/bindings/hwmon/sensirion,sht30.yaml
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v3 2/4] dt-bindings: hwmon: Add Sensirion SHT30 series
2026-03-24 12:21 ` [PATCH v3 2/4] dt-bindings: hwmon: Add Sensirion SHT30 series Zaixiang Xu
@ 2026-03-25 8:45 ` Krzysztof Kozlowski
0 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2026-03-25 8:45 UTC (permalink / raw)
To: Zaixiang Xu
Cc: linux, robh, krzk+dt, conor+dt, linux-hwmon, devicetree,
linux-kernel
On Tue, Mar 24, 2026 at 08:21:07PM +0800, Zaixiang Xu wrote:
> Add YAML devicetree binding schema for Sensirion SHT30 series and
> GXCAS GXHT30 sensors. Wildcards are replaced with specific model
> names as per maintainer feedback.
Which wildcards? I do not see your patch replacing any wildcards. Your
patch only adds new code, so what "are replaced" means?
>
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/r/202603212044.BRPaiz86-lkp@intel.com/
What kernel test robot exactly report? That SHT30 is missing?
> Signed-off-by: Zaixiang Xu <zaixiang.xu.dev@gmail.com>
> ---
> .../bindings/hwmon/sensirion,sht30.yaml | 50 +++++++++++++++++++
> 1 file changed, 50 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/hwmon/sensirion,sht30.yaml
>
> diff --git a/Documentation/devicetree/bindings/hwmon/sensirion,sht30.yaml b/Documentation/devicetree/bindings/hwmon/sensirion,sht30.yaml
> new file mode 100644
> index 000000000000..1b5ce822b37b
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/sensirion,sht30.yaml
> @@ -0,0 +1,50 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/hwmon/sensirion,sht30.yaml#
> +$schema: http://devicetree.org/meta-schema.yaml#
> +
> +title: Sensirion SHT30 Humidity and Temperature Sensor
> +
> +maintainers:
> + - Zaixiang Xu <zaixiang.xu.dev@gmail.com>
> +
> +description: |
No improvements. More comments were also ignored.
<form letter>
This is a friendly reminder during the review process.
It seems my or other reviewer's previous comments were not fully
addressed. Maybe the feedback got lost between the quotes, maybe you
just forgot to apply it. Please go back to the previous discussion and
either implement all requested changes or keep discussing them.
Thank you.
</form letter>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v3 1/4] dt-bindings: vendor-prefixes: Add GXCAS Technology
2026-03-24 12:21 ` [PATCH v3 1/4] dt-bindings: vendor-prefixes: Add GXCAS Technology Zaixiang Xu
@ 2026-03-25 8:46 ` Krzysztof Kozlowski
0 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2026-03-25 8:46 UTC (permalink / raw)
To: Zaixiang Xu
Cc: linux, robh, krzk+dt, conor+dt, linux-hwmon, devicetree,
linux-kernel
On Tue, Mar 24, 2026 at 08:21:06PM +0800, Zaixiang Xu wrote:
> 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>
> Signed-off-by: Zaixiang Xu <zaixiang.xu.dev@gmail.com>
So my tag you ignored... not that having that tag matters, really, but
the fact of ignoring actually does.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2026-03-25 8:46 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-24 12:21 [PATCH v3 0/4] hwmon: (sht3x) Add support for GXCAS GXHT30 Zaixiang Xu
2026-03-24 12:21 ` [PATCH v3 1/4] dt-bindings: vendor-prefixes: Add GXCAS Technology Zaixiang Xu
2026-03-25 8:46 ` Krzysztof Kozlowski
2026-03-24 12:21 ` [PATCH v3 2/4] dt-bindings: hwmon: Add Sensirion SHT30 series Zaixiang Xu
2026-03-25 8:45 ` Krzysztof Kozlowski
2026-03-24 12:21 ` [PATCH v3 3/4] hwmon: (sht3x) Add devicetree support Zaixiang Xu
2026-03-24 12:21 ` [PATCH v3 4/4] hwmon: (sht3x) Add support for GXCAS GXHT30 Zaixiang Xu
2026-03-24 20:29 ` [PATCH v3 0/4] " Guenter Roeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox