]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: pwm: Avoid selecting schema on node name match
authorThierry Reding <treding@nvidia.com>
Tue, 7 Dec 2021 12:48:55 +0000 (13:48 +0100)
committerThierry Reding <thierry.reding@gmail.com>
Thu, 9 Dec 2021 17:17:02 +0000 (18:17 +0100)
commit6759eb9d16e7bd6b6aa5391df36d290771372f32
treef68126b03e45c6f5c94ecda6a981c786f414719e
parent5c10892e51e020488525fa55d07c1b71e2b4c696
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 <treding@nvidia.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Documentation/devicetree/bindings/pwm/pwm.yaml