diff options
author | Thierry Reding <treding@nvidia.com> | 2021-12-07 13:48:55 +0100 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2021-12-09 18:17:02 +0100 |
commit | 3f0565451cc0c5158513af0bc4e91aa8fb0b5e75 (patch) | |
tree | f68126b03e45c6f5c94ecda6a981c786f414719e /Documentation | |
parent | b6ce2af8766c39a5b09afa466ed4d0ef2d8b5a65 (diff) | |
download | linux-stable-3f0565451cc0c5158513af0bc4e91aa8fb0b5e75.tar.gz linux-stable-3f0565451cc0c5158513af0bc4e91aa8fb0b5e75.tar.bz2 linux-stable-3f0565451cc0c5158513af0bc4e91aa8fb0b5e75.zip |
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/pwm/pwm.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pwm/pwm.yaml b/Documentation/devicetree/bindings/pwm/pwm.yaml index 2effe6c0de6b..3c01f85029e5 100644 --- a/Documentation/devicetree/bindings/pwm/pwm.yaml +++ b/Documentation/devicetree/bindings/pwm/pwm.yaml @@ -9,6 +9,8 @@ title: PWM controllers (providers) maintainers: - Thierry Reding <thierry.reding@gmail.com> +select: false + properties: $nodename: pattern: "^pwm(@.*|-[0-9a-f])*$" |