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")
Signed-off-by: Peng Fan <[email protected]>
---
Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml b/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml
index 58022ae7d5dd..dfdb8dfb6b65 100644
--- a/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml
+++ b/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml
@@ -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
--
2.37.1
On 10/10/2022 06:09, Peng Fan (OSS) wrote:
> 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]+'
>
Acked-by: Krzysztof Kozlowski <[email protected]>
Best regards,
Krzysztof
On Mon, Oct 10, 2022 at 06:09:58PM +0800, Peng Fan (OSS) wrote:
> 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")
> Signed-off-by: Peng Fan <[email protected]>
Applied, thanks!