Skip to content

Commit 3f05654

Browse files
committed
dt-bindings: pwm: Avoid selecting schema on node name match
Currently any node whose name starts with the "pwm-" prefix will match this schema and in turn required the "#pwm-cells" property. Avoid this by marking the schema with select: false, therefore only activating the schema when directly included from a PWM controller schema file. Signed-off-by: Thierry Reding <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent b6ce2af commit 3f05654

File tree

1 file changed

+2
-0
lines changed
  • Documentation/devicetree/bindings/pwm

1 file changed

+2
-0
lines changed

Documentation/devicetree/bindings/pwm/pwm.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ title: PWM controllers (providers)
99
maintainers:
1010
- Thierry Reding <[email protected]>
1111

12+
select: false
13+
1214
properties:
1315
$nodename:
1416
pattern: "^pwm(@.*|-[0-9a-f])*$"

0 commit comments

Comments
 (0)