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>
---
Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yaml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yaml b/Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yaml
index 9e5ed901ae54..851fb16ec7fa 100644
--- a/Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yaml
+++ b/Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yaml
@@ -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
--
2.34.1
On Thu, Nov 20, 2025 at 07:12:31PM +0800, Billy Tsai wrote: > 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> Applied. Thanks, Guenter
On 20/11/2025 12:12, Billy Tsai wrote: > 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> Best regards, Krzysztof
© 2016 - 2025 Red Hat, Inc.