mirror of
https://github.com/torvalds/linux.git
synced 2026-04-25 10:02:31 -04:00
dt-bindings: pwm: restrict node name suffixes
Make the pattern matching node names a bit stricter to improve DTS consistency. The pattern is restricted to: 1. Only one unit address or one -N suffix, 2. -N suffixes to decimal numbers. Suggested-by: Rob Herring <robh@kernel.org> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Rob Herring <robh@kernel.org> Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
This commit is contained in:
committed by
Thierry Reding
parent
8bfc651a28
commit
05b743db9d
@@ -13,7 +13,7 @@ select: false
|
||||
|
||||
properties:
|
||||
$nodename:
|
||||
pattern: "^pwm(@.*|-[0-9a-f])*$"
|
||||
pattern: "^pwm(@.*|-([0-9]|[1-9][0-9]+))?$"
|
||||
|
||||
"#pwm-cells":
|
||||
description:
|
||||
|
||||
Reference in New Issue
Block a user