Commit 14ee09a0 authored by Ulf Hansson's avatar Ulf Hansson Committed by Rob Herring

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: a3f048b5 ("dt: psci: Update DT bindings to support hierarchical PSCI states")
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
[robh: drop example change]
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 6198adea
...@@ -25,7 +25,7 @@ description: |+ ...@@ -25,7 +25,7 @@ description: |+
properties: properties:
$nodename: $nodename:
pattern: "^(power-controller|power-domain)(@.*)?$" pattern: "^(power-controller|power-domain)([@-].*)?$"
domain-idle-states: domain-idle-states:
$ref: /schemas/types.yaml#/definitions/phandle-array $ref: /schemas/types.yaml#/definitions/phandle-array
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment