mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hector Martin <marcan@marcan.st>
To: Sven Peter <sven@svenpeter.dev>,
	Alyssa Rosenzweig <alyssa@rosenzweig.io>
Cc: Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] arm64: dts: apple: Re-parent ANS2 power domains
Date: Tue, 21 Jun 2022 19:07:02 +0900	[thread overview]
Message-ID: <9d683b37-abb0-a0d6-417a-b5f7c97673c5@marcan.st> (raw)
In-Reply-To: <20220602174213.2737-1-sven@svenpeter.dev>

On 03/06/2022 02.42, Sven Peter wrote:
> 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 {

Applied both patches to asahi-soc/dt. Thanks!

-- 
Hector Martin (marcan@marcan.st)
Public Key: https://mrcn.st/pub

      parent reply	other threads:[~2022-06-21 10:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Hector Martin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9d683b37-abb0-a0d6-417a-b5f7c97673c5@marcan.st \
    --to=marcan@marcan.st \
    --cc=alyssa@rosenzweig.io \
    --cc=asahi@lists.linux.dev \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=sven@svenpeter.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®