Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3651088iog; Tue, 21 Jun 2022 03:10:47 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tJmDoswpjKKriib1Iz1yngvcMD64yyVm99G8k4w3sJWTslk672y4a03m1i6kHUm4t6YZqN X-Received: by 2002:a17:906:1109:b0:711:d8fe:fe56 with SMTP id h9-20020a170906110900b00711d8fefe56mr25228218eja.261.1655806247132; Tue, 21 Jun 2022 03:10:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655806247; cv=none; d=google.com; s=arc-20160816; b=MvVKXfzrm3YviNA/ZNRWaTLelxR5ZUHmKQPkPIZ4XZeU99NjtDZTwflk40vq8hYEVf 6Rzblx4GMEnJCAxcMI/Nq7h74zSTC1BkfIVJ7Pq2qcJ3CGZoaYLVqp9TcyTxXVy/h0Tz kenfi7aOlxux0599LS2Y4t6GEwlwh4CA3dogbGv4zJvQBtn0PeyTsRxXmjmzNJ5NqmpX FNWmxlSPbyHj39giZfadir4wXu2du6/s/aRmZxGOfx5dCueMzc94OqWj1FAcn78ABATr dNR93MYoFfTS/e8XMy2ApNDNSJxYfC4uI6C46a0aLW1OTinR6fl/SNItkjpZW1IbhEKf /E7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=jU5b6S0jqLBAZZwKzk9GIgS1qW5G9Ppn25hCVSAxyrI=; b=Y+lT5MaOhESt+NsqUxvjhLbGjS/uFP7JTpeXYkzuVJbDvFrcN2mZj+bJ56OJajOh2v jmFVhHcprdRLw9jvdnSoMhPNDmDJje2bcp5ucVSRLGlg2jtkHWGe9BsXhx1oysXxxrRX L8ELBBJTnIcWeAG3PidC3h5SleNnJovgJIyxl0TN+s/2Mmfm+d7mCC5uoRe9Tek6LQ8F 8cbIMkknXyQufb6WVdHUzsdCpnEnYERw6kWkogXgklaXXlxt0nlhiId9rOkIgCKG9XD4 BzVIbNdf0JXKlq4U7G45FdBTWUWobYQ1u8cy53UoweTdKUvj7UTYBJ04tKkttUpy7B5N cTGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marcan.st header.s=default header.b=p8C3ksm6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=marcan.st Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e19-20020a17090658d300b00710dad0f59dsi16558062ejs.777.2022.06.21.03.10.20; Tue, 21 Jun 2022 03:10:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@marcan.st header.s=default header.b=p8C3ksm6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=marcan.st Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231386AbiFUKHN (ORCPT + 99 others); Tue, 21 Jun 2022 06:07:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229535AbiFUKHL (ORCPT ); Tue, 21 Jun 2022 06:07:11 -0400 Received: from mail.marcansoft.com (marcansoft.com [212.63.210.85]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 395C027FEB for ; Tue, 21 Jun 2022 03:07:09 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: marcan@marcan.st) by mail.marcansoft.com (Postfix) with ESMTPSA id DE18A41DF4; Tue, 21 Jun 2022 10:07:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=marcan.st; s=default; t=1655806027; bh=mENta8LrzbYHKgS3y0BpqM4Nb7jfJxw8OCgUAYE0nlk=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=p8C3ksm6LXw1QNi98fXAdAcOkNhopVRn2G7HrRekhs3u0CmEbepH5iOgVmRkCFmLd KHtajS5pw6+ebcwMSbU4MNtAOKIpUY+Xmp4XBn45lJyXpF8vpA1qz2qzl/AiO+/BY2 nUJhKf/BSZRI4HacI4K6Ojq1S3ZHw/Crw+1kLT3oNzFLgeV47CuYdGfzi1TvtIlWl7 XMf1oID/q/NEv/oBjPIjV1ka6ltDMKDFEloEvhzngU/ozuLLIxT4gOnyxMV0hOTvb8 0hxcUQLP5ENUdKiJLDbQ1ipi4uGREhdNJhAQNoHOh3gZ2ebl0Xyb6p0x6DkbPSvdSE Qpj04li02/Mrw== Message-ID: <9d683b37-abb0-a0d6-417a-b5f7c97673c5@marcan.st> Date: Tue, 21 Jun 2022 19:07:02 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH 1/2] arm64: dts: apple: Re-parent ANS2 power domains Content-Language: es-ES To: Sven Peter , Alyssa Rosenzweig Cc: Rob Herring , Krzysztof Kozlowski , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220602174213.2737-1-sven@svenpeter.dev> From: Hector Martin In-Reply-To: <20220602174213.2737-1-sven@svenpeter.dev> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/06/2022 02.42, Sven Peter wrote: > From: Hector Martin > > 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 > Reviewed-by: Sven Peter > Signed-off-by: Sven Peter > --- > 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