devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: dts: apple: Re-parent ANS2 power domains
@ 2022-06-02 17:42 Sven Peter
  2022-06-02 17:42 ` [PATCH 2/2] arm64: dts: apple: t8103: Add ANS2 NVMe nodes Sven Peter
  2022-06-21 10:07 ` [PATCH 1/2] arm64: dts: apple: Re-parent ANS2 power domains Hector Martin
  0 siblings, 2 replies; 3+ messages in thread
From: Sven Peter @ 2022-06-02 17:42 UTC (permalink / raw)
  To: Hector Martin, Sven Peter, Alyssa Rosenzweig
  Cc: Rob Herring, Krzysztof Kozlowski, asahi, linux-arm-kernel,
	devicetree, linux-kernel

From: Hector Martin <marcan@marcan.st>

Turns out that the APCIE_ST*_SYS domains do hard-depend on ANS2, so
without this they refuse to power up.

Signed-off-by: Hector Martin <marcan@marcan.st>
Reviewed-by: Sven Peter <sven@svenpeter.dev>
Signed-off-by: Sven Peter <sven@svenpeter.dev>
---
 arch/arm64/boot/dts/apple/t8103-pmgr.dtsi | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/arch/arm64/boot/dts/apple/t8103-pmgr.dtsi b/arch/arm64/boot/dts/apple/t8103-pmgr.dtsi
index fc51bc872468..a6dbb1f485d8 100644
--- a/arch/arm64/boot/dts/apple/t8103-pmgr.dtsi
+++ b/arch/arm64/boot/dts/apple/t8103-pmgr.dtsi
@@ -725,11 +725,6 @@ ps_ans2: power-controller@3f0 {
 		#power-domain-cells = <0>;
 		#reset-cells = <0>;
 		label = "ans2";
-		/*
-		 * The ADT makes ps_apcie_st depend on ps_ans2 instead, but this
-		 * doesn't make much sense since ANS2 uses APCIE_ST.
-		 */
-		power-domains = <&ps_apcie_st>;
 	};
 
 	ps_gfx: power-controller@3f8 {
@@ -836,7 +831,7 @@ ps_apcie_st: power-controller@418 {
 		#power-domain-cells = <0>;
 		#reset-cells = <0>;
 		label = "apcie_st";
-		power-domains = <&ps_apcie>;
+		power-domains = <&ps_apcie>, <&ps_ans2>;
 	};
 
 	ps_ane_sys: power-controller@470 {
-- 
2.25.1


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

end of thread, other threads:[~2022-06-21 10:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-02 17:42 [PATCH 1/2] arm64: dts: apple: Re-parent ANS2 power domains Sven Peter
2022-06-02 17:42 ` [PATCH 2/2] arm64: dts: apple: t8103: Add ANS2 NVMe nodes Sven Peter
2022-06-21 10:07 ` [PATCH 1/2] arm64: dts: apple: Re-parent ANS2 power domains Hector Martin

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