Skip to content

Commit cefb895

Browse files
billy-tsaigroeck
authored andcommitted
dt-bindings: hwmon: Add AST2700 compatible
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>
1 parent 4859395 commit cefb895

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@ description: |
1818
1919
properties:
2020
compatible:
21-
enum:
22-
- aspeed,ast2600-pwm-tach
21+
oneOf:
22+
- items:
23+
- const: aspeed,ast2700-pwm-tach
24+
- const: aspeed,ast2600-pwm-tach
25+
- const: aspeed,ast2600-pwm-tach
2326

2427
reg:
2528
maxItems: 1

0 commit comments

Comments
 (0)