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
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
© 2016 - 2026 Red Hat, Inc.