Skip to content

Commit e040921

Browse files
krzkthierryreding
authored andcommitted
dt-bindings: pwm: sifive: Include generic PWM schema
Include generic pwm.yaml schema, which enforces PWM node naming and brings pwm-cells requirement. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
1 parent ef75324 commit e040921

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Documentation/devicetree/bindings/pwm/pwm-sifive.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ description:
2222

2323
https://github.com/sifive/sifive-blocks/tree/master/src/main/scala/devices/pwm
2424

25+
allOf:
26+
- $ref: pwm.yaml#
27+
2528
properties:
2629
compatible:
2730
items:
@@ -55,7 +58,6 @@ required:
5558
- compatible
5659
- reg
5760
- clocks
58-
- "#pwm-cells"
5961
- interrupts
6062

6163
additionalProperties: false

0 commit comments

Comments
 (0)