summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2020-03-03 16:07:46 +0100
committerRob Herring <robh@kernel.org>2020-03-06 12:12:20 -0600
commit14ee09a05ed5b8b9121ca80958a06fdfc8c85d93 (patch)
tree2e818a2ec957f869621d497694eeae9644d4358d /Documentation
parent6198adeaf21536f426a79f3d490651e52fd76d60 (diff)
downloadlwn-14ee09a05ed5b8b9121ca80958a06fdfc8c85d93.tar.gz
lwn-14ee09a05ed5b8b9121ca80958a06fdfc8c85d93.zip
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: a3f048b5424e ("dt: psci: Update DT bindings to support hierarchical PSCI states") Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> [robh: drop example change] Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/power/power-domain.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/power/power-domain.yaml b/Documentation/devicetree/bindings/power/power-domain.yaml
index 207e63ae10f9..6047aacd7766 100644
--- a/Documentation/devicetree/bindings/power/power-domain.yaml
+++ b/Documentation/devicetree/bindings/power/power-domain.yaml
@@ -25,7 +25,7 @@ description: |+
properties:
$nodename:
- pattern: "^(power-controller|power-domain)(@.*)?$"
+ pattern: "^(power-controller|power-domain)([@-].*)?$"
domain-idle-states:
$ref: /schemas/types.yaml#/definitions/phandle-array