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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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