]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: hwmon: Add AST2700 compatible
authorBilly Tsai <billy_tsai@aspeedtech.com>
Thu, 20 Nov 2025 11:12:31 +0000 (19:12 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 21 Nov 2025 19:20:29 +0000 (11:20 -0800)
Adds support for the AST2700 PWM/Tach controller by extending the
compatible string enumeration in the device tree binding.

The AST2700 PWM/Tach hardware is compatible with the existing binding
schema and requires no additional properties or modifications beyond
the new compatible string.

Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20251120-upstream_pwm_tach-v3-1-eaa2f9b300a2@aspeedtech.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yaml

index 9e5ed901ae54c62366324f01406f3f9dc8ab729b..851fb16ec7fa1038abb722b72ce2c902e9e4bdcd 100644 (file)
@@ -18,8 +18,11 @@ description: |
 
 properties:
   compatible:
-    enum:
-      - aspeed,ast2600-pwm-tach
+    oneOf:
+      - items:
+          - const: aspeed,ast2700-pwm-tach
+          - const: aspeed,ast2600-pwm-tach
+      - const: aspeed,ast2600-pwm-tach
 
   reg:
     maxItems: 1