devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] arm64: dts: imx8mm: fix missing pgc_vpu_* power domain parent
@ 2024-04-09  8:58 Vitor Soares
  2024-04-09  9:13 ` Lucas Stach
  0 siblings, 1 reply; 10+ messages in thread
From: Vitor Soares @ 2024-04-09  8:58 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
  Cc: Vitor Soares, devicetree, imx, linux-arm-kernel, linux-kernel,
	Lucas Stach, stable

From: Vitor Soares <vitor.soares@toradex.com>

The pgc_vpu_* nodes miss the reference to the power domain parent,
leading the system to hang during the resume.

As these PU domains are nested inside the vpumix domain, let's reference
it accordingly. After this change, the suspend/resume is working.

Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: <stable@vger.kernel.org>
Closes: https://lore.kernel.org/all/fccbb040330a706a4f7b34875db1d896a0bf81c8.camel@gmail.com/
Fixes: d39d4bb15310 ("arm64: dts: imx8mm: add GPC node")
Signed-off-by: Vitor Soares <vitor.soares@toradex.com>
---
 arch/arm64/boot/dts/freescale/imx8mm.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi
index 8a1b42b94dce..97d0c6d23ad8 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi
@@ -739,16 +739,19 @@ pgc_vpumix: power-domain@6 {
 					pgc_vpu_g1: power-domain@7 {
 						#power-domain-cells = <0>;
 						reg = <IMX8MM_POWER_DOMAIN_VPUG1>;
+						power-domains = <&pgc_vpumix>;
 					};
 
 					pgc_vpu_g2: power-domain@8 {
 						#power-domain-cells = <0>;
 						reg = <IMX8MM_POWER_DOMAIN_VPUG2>;
+						power-domains = <&pgc_vpumix>;
 					};
 
 					pgc_vpu_h1: power-domain@9 {
 						#power-domain-cells = <0>;
 						reg = <IMX8MM_POWER_DOMAIN_VPUH1>;
+						power-domains = <&pgc_vpumix>;
 					};
 
 					pgc_dispmix: power-domain@10 {
-- 
2.34.1


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

end of thread, other threads:[~2024-04-17 12:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-09  8:58 [PATCH v1] arm64: dts: imx8mm: fix missing pgc_vpu_* power domain parent Vitor Soares
2024-04-09  9:13 ` Lucas Stach
2024-04-09 13:22   ` Vitor Soares
2024-04-09 14:36     ` Lucas Stach
2024-04-09 16:44       ` Vitor Soares
2024-04-10 11:01         ` Vitor Soares
2024-04-16 10:53           ` Vitor Soares
2024-04-16 16:08             ` Vitor Soares
2024-04-17  8:00               ` Lucas Stach
2024-04-17 12:12                 ` Vitor Soares

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