linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: power: gpcv2: add power-domains property
@ 2022-10-10 10:09 Peng Fan (OSS)
  2022-10-10 10:35 ` Krzysztof Kozlowski
  2022-10-29  2:39 ` Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Peng Fan (OSS) @ 2022-10-10 10:09 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, shawnguo, ulf.hansson, l.stach,
	andrew.smirnov
  Cc: s.hauer, kernel, festevam, linux-imx, devicetree,
	linux-arm-kernel, linux-kernel, Peng Fan

From: Peng Fan <peng.fan@nxp.com>

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: power: gpcv2: add power-domains property
  2022-10-10 10:09 [PATCH] dt-bindings: power: gpcv2: add power-domains property Peng Fan (OSS)
@ 2022-10-10 10:35 ` Krzysztof Kozlowski
  2022-10-29  2:39 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2022-10-10 10:35 UTC (permalink / raw)
  To: Peng Fan (OSS),
	robh+dt, krzysztof.kozlowski+dt, shawnguo, ulf.hansson, l.stach,
	andrew.smirnov
  Cc: s.hauer, kernel, festevam, linux-imx, devicetree,
	linux-arm-kernel, linux-kernel, Peng Fan

On 10/10/2022 06:09, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
> 
> 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 <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: power: gpcv2: add power-domains property
  2022-10-10 10:09 [PATCH] dt-bindings: power: gpcv2: add power-domains property Peng Fan (OSS)
  2022-10-10 10:35 ` Krzysztof Kozlowski
@ 2022-10-29  2:39 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2022-10-29  2:39 UTC (permalink / raw)
  To: Peng Fan (OSS)
  Cc: robh+dt, krzysztof.kozlowski+dt, ulf.hansson, l.stach,
	andrew.smirnov, s.hauer, kernel, festevam, linux-imx, devicetree,
	linux-arm-kernel, linux-kernel, Peng Fan

On Mon, Oct 10, 2022 at 06:09:58PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
> 
> 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>

Applied, thanks!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-29  2:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-10 10:09 [PATCH] dt-bindings: power: gpcv2: add power-domains property Peng Fan (OSS)
2022-10-10 10:35 ` Krzysztof Kozlowski
2022-10-29  2:39 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).