dt-bindings: arm: nvidia,tegra20-pmc: Move fixed string property names under 'properties'
Subsystems (2)
Rob Herring
maintainerPATCH 1/1 dt-bindings: arm: nvidia,tegra20-pmc: Move fixed string property names under 'properties'
Fixed string property names should be under 'properties' rather than 'patternProperties'. Additionally, without beginning and end of line anchors, any prefix or suffix is allowed on the specified property names.
As all the nvidia,tegra20-pmc powergates child node properties are fixed strings, change 'patternProperties' to 'properties'.
--- .../devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.yaml +1 -1
@@ -208,7 +208,7 @@ properties: "^[a-z0-9]+$": type: object - patternProperties: + properties: clocks: minItems: 1 maxItems: 8
Signature · 1 line
2.34.1
Quoted 11 lines · Rob Herring
Fixed string property names should be under 'properties' rather than 'patternProperties'. Additionally, without beginning and end of line anchors, any prefix or suffix is allowed on the specified property names.
As all the nvidia,tegra20-pmc powergates child node properties are fixed strings, change 'patternProperties' to 'properties'.
Signed-off-by Rob Herring <[email protected]>--- .../devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
This is part of a local patch that I have that cleans up other aspects of this schema as well.
However, I don't know when I'll get around to send that out, so if you want to apply this in the meantime:
Quoted 4 lines · Rob Herring
Fixed string property names should be under 'properties' rather than 'patternProperties'. Additionally, without beginning and end of line anchors, any prefix or suffix is allowed on the specified property names.
Quoted 8 lines
As all the nvidia,tegra20-pmc powergates child node properties are fixed strings, change 'patternProperties' to 'properties'.
Signed-off-by Rob Herring <[email protected]>--- .../devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks!