From: Zaixiang Xu <zaixiang.xu.dev@gmail.com>
To: linux@roeck-us.net
Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, zaixiang.xu.dev@gmail.com
Subject: [PATCH v4 2/4] dt-bindings: hwmon: Add Sensirion SHT30 series
Date: Wed, 25 Mar 2026 17:08:08 +0800 [thread overview]
Message-ID: <1774429690-129139-3-git-send-email-zaixiang.xu.dev@gmail.com> (raw)
In-Reply-To: <1774429690-129139-1-git-send-email-zaixiang.xu.dev@gmail.com>
Add YAML devicetree binding schema for Sensirion SHT30 series.
Use fallback compatibles for compatible chips and add optional
interrupts and vdd-supply properties.
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
next prev parent reply other threads:[~2026-03-25 9:08 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-25 9:08 [PATCH v4 0/4] hwmon: (sht3x) Add support for GXCAS GXHT30 Zaixiang Xu
2026-03-25 9:08 ` [PATCH v4 1/4] dt-bindings: vendor-prefixes: Add GXCAS Technology Zaixiang Xu
2026-03-25 9:08 ` Zaixiang Xu [this message]
2026-03-25 18:20 ` [PATCH v4 2/4] dt-bindings: hwmon: Add Sensirion SHT30 series Conor Dooley
2026-03-26 1:05 ` Guenter Roeck
2026-03-26 17:42 ` Conor Dooley
2026-03-26 17:45 ` Conor Dooley
2026-03-26 23:55 ` Guenter Roeck
2026-03-27 0:03 ` Conor Dooley
2026-03-27 0:46 ` Roman Gushchin
2026-03-25 9:08 ` [PATCH v4 3/4] hwmon: (sht3x) Add devicetree support Zaixiang Xu
2026-03-25 9:08 ` [PATCH v4 4/4] hwmon: (sht3x) Add support for GXCAS GXHT30 Zaixiang Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1774429690-129139-3-git-send-email-zaixiang.xu.dev@gmail.com \
--to=zaixiang.xu.dev@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox