From: Hao Yu <haoyufine@gmail.com>
To: linux@roeck-us.net, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org
Cc: jcdra1@gmail.com, akhilesh@ee.iitb.ac.in,
linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, Hao Yu <haoyufine@gmail.com>
Subject: [PATCH 1/2] dt-bindings: hwmon: add aosong,aht10 family
Date: Sun, 22 Feb 2026 18:58:30 +0800 [thread overview]
Message-ID: <20260222105831.7360-2-haoyufine@gmail.com> (raw)
In-Reply-To: <20260222105831.7360-1-haoyufine@gmail.com>
Add Aosong AHT10, AHT20, and DHT20 humidity and temperature sensors.
Signed-off-by: Hao Yu <haoyufine@gmail.com>
---
.../bindings/hwmon/aosong,aht10.yaml | 41 +++++++++++++++++++
1 file changed, 41 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/aosong,aht10.yaml
diff --git a/Documentation/devicetree/bindings/hwmon/aosong,aht10.yaml b/Documentation/devicetree/bindings/hwmon/aosong,aht10.yaml
new file mode 100644
index 000000000000..6eb3944ae3da
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/aosong,aht10.yaml
@@ -0,0 +1,41 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwmon/aosong,aht10.yaml#
+$schema: http://devicetree.org/meta-schema.yaml#
+
+title: Aosong AHT10/AHT20/DHT20 Temperature and Humidity Sensor
+
+maintainers:
+ - Hao Yu <haoyufine@gmail.com>
+
+description: |
+ The Aosong AHT10, AHT20, and DHT20 are I2C humidity and temperature sensors.
+
+properties:
+ compatible:
+ enum:
+ - aosong,aht10
+ - aosong,aht20
+ - aosong,dht20
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ sensor@38 {
+ compatible = "aosong,aht20";
+ reg = <0x38>;
+ };
+ };
--
2.34.1
next prev parent reply other threads:[~2026-02-22 10:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-22 10:58 [PATCH 0/2] Add AHT20 sensor bindings and fix driver initialization Hao Yu
2026-02-22 10:58 ` Hao Yu [this message]
2026-02-22 10:58 ` [PATCH 2/2] hwmon: (aht10) Fix initialization commands and add DT support Hao Yu
2026-02-22 15:44 ` Guenter Roeck
2026-02-22 15:46 ` Guenter Roeck
2026-02-23 17:38 ` [PATCH v3 0/2] hwmon: aht10: add Device Tree support Hao Yu
2026-02-23 17:38 ` [PATCH v3 1/2] dt-bindings: hwmon: add Aosong AHT10/AHT20/DHT20 to trivial devices Hao Yu
2026-02-23 17:46 ` Krzysztof Kozlowski
2026-02-24 15:33 ` Guenter Roeck
2026-02-23 17:38 ` [PATCH v3 2/2] hwmon: (aht10) add device tree ID matching Hao Yu
2026-02-24 15:33 ` Guenter Roeck
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=20260222105831.7360-2-haoyufine@gmail.com \
--to=haoyufine@gmail.com \
--cc=akhilesh@ee.iitb.ac.in \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jcdra1@gmail.com \
--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