Skip to contentSkip to conversation

dt-bindings: power: gpcv2: add power-domains property

PATCH Applied Peng Fan (OSS) 3 participants 3 messages Oct 10, 2022 – Oct 29, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: power: gpcv2: add power-domains property

From: Peng Fan <[email protected]>

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")
---
 Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml +3 -0
index 58022ae7d5dd..dfdb8dfb6b65 100644
@@ -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
Signature · 1 line
2.37.1
Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · Peng Fan (OSS)

From: Peng Fan <[email protected]>

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]+'

Best regards,
Krzysztof

Applied
#2 lore raw
In reply to Peng Fan (OSS)
Quoted 10 lines · Peng Fan (OSS)

From: Peng Fan <[email protected]>

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")

Applied, thanks!