Commit 3f056545 authored by Thierry Reding's avatar Thierry Reding Committed by Thierry Reding
Browse files

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: default avatarThierry Reding <treding@nvidia.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent b6ce2af8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -9,6 +9,8 @@ title: PWM controllers (providers)
maintainers:
  - Thierry Reding <thierry.reding@gmail.com>

select: false

properties:
  $nodename:
    pattern: "^pwm(@.*|-[0-9a-f])*$"