[PATCH v2 1/3] dt-bindings: hwmon: add aosong,aht10 family
From: Hao Yu
Date: Sun Feb 22 2026 - 12:04:21 EST
Add device tree bindings for Aosong AHT10, AHT20 and DHT20 sensors.
Signed-off-by: Hao Yu <haoyufine@xxxxxxxxx>
---
.../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@xxxxxxxxx>
+
+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