Skip to content

Commit 14ee09a

Browse files
storulfrobherring
authored andcommitted
dt-bindings: power: Extend nodename pattern for power-domain providers
The existing binding requires the nodename to have a '@', which is a bit limiting for the wider use case. Therefore, let's extend the pattern to allow either '@' or '-'. Fixes: a3f048b ("dt: psci: Update DT bindings to support hierarchical PSCI states") Signed-off-by: Ulf Hansson <[email protected]> [robh: drop example change] Signed-off-by: Rob Herring <[email protected]>
1 parent 6198ade commit 14ee09a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/devicetree/bindings/power/power-domain.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ description: |+
2525
2626
properties:
2727
$nodename:
28-
pattern: "^(power-controller|power-domain)(@.*)?$"
28+
pattern: "^(power-controller|power-domain)([@-].*)?$"
2929

3030
domain-idle-states:
3131
$ref: /schemas/types.yaml#/definitions/phandle-array

0 commit comments

Comments
 (0)