OSDN Git Service

dt-bindings: power: gpcv2: add power-domains property
authorPeng Fan <peng.fan@nxp.com>
Mon, 10 Oct 2022 10:09:58 +0000 (18:09 +0800)
committerShawn Guo <shawnguo@kernel.org>
Sat, 29 Oct 2022 08:26:31 +0000 (16:26 +0800)
Some pgc power-domain requires a parent power domain, so
add an optional power-domains property, otherwise there will be
dt check warning:
gpc@303a0000: pgc:power-domain@1: 'power-domains' does not match
any of the regexes: 'pinctrl-[0-9]+'

Fixes: 30af8513bdb5 ("dt-bindings: power: add defines for i.MX8MM power domains")
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml

index 58022ae..dfdb8df 100644 (file)
@@ -81,6 +81,9 @@ properties:
 
           power-supply: true
 
+          power-domains:
+            maxItems: 1
+
           resets:
             description: |
               A number of phandles to resets that need to be asserted during