From patchwork Thu Jun 2 17:42:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Peter X-Patchwork-Id: 12868033 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9F6FFC43334 for ; Thu, 2 Jun 2022 17:43:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=xYqD07W6Ry/o69QPwWsq2wK8DqQ4SIXtDofM0soAbnE=; b=PI36jQgC7VMI64 6e9uXJx7KIaOrs+yNQqax8Pph8RG07Kd6UWSnsRUAo6SfqFTMn3wTqZ+Cr7uKA65TBa09KqZob4Sc y8XpxtIJtjLmlVwg4+cmcSISadgsh2k9RQWLrVXwp6zqZFEBPyvdJN/4j6sYfJ846klKcr0SvdnZN YsILn51t3MkU99hwOrKu8NbQf9Zz33my5HsiGxNbFkazfyaz/ETOoMjkeZQwpJLnsse917uUsppcc 9AkilmnnxilvjsVNZPIEk4w+2nrxsPIUbb4CfQjAJ0i6xn/2KRJqQj/160FFh6MgK8YDDRK2Frrgi w40fUnN+h7cJI4xKMR4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nwoqB-003suC-RB; Thu, 02 Jun 2022 17:42:35 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nwoq8-003stt-SR for linux-arm-kernel@lists.infradead.org; Thu, 02 Jun 2022 17:42:34 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 5CE35320031A; Thu, 2 Jun 2022 13:42:31 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 02 Jun 2022 13:42:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svenpeter.dev; h=cc:cc:content-transfer-encoding:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm1; t=1654191750; x=1654278150; bh=cvL9SEcO4X rzAEItTo8sQ83qSs8Uxjzv9TSBOoGmt2Y=; b=TeBIU2qeqDd6nKie+jZUnSL5WL tY4qti2AEn6kObPMQ/CwkYX7YFk4jH7XhN30sLh7qjSpylWKuuBWm6uXyk5N578H 5l+g2cx8VydpHv7jw8r9o0q/SmVbiQFOeEmfQe8TO0gd3U0K86Za2JRo/TL4v8oU BYRHnqVjLNP6dQzy9e3xTnRcq9pREw6jzl4lIyTtWlR9+5nHT0dJFIGU8ToyIyBg 6lbxr0yLAULc3Mc+uwa793q8bisYt/KICIXz44qkZm2RNo2HOyXfhw+2MyhdZLYX p+V78OLxJGx1FjRD/A9i3Q9ZnU39h8VMgSzJnsLEPY9wwvuorkQc5IKgWwpQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1654191750; x=1654278150; bh=cvL9SEcO4XrzAEItTo8sQ83qSs8Uxjzv9TS BOoGmt2Y=; b=JaBT4j6ftjbjOF/niwspOQRpMEmQBCp1AWBeKKsMQA8OfCWPwxa 7TvhXYe3NVkI3JFtxI6rOhu+LTjNlAMl+Mxy1oXaBIp5xME3vNkXztGSfgEa0KQN rekwC/Ry2/ZmKL5ouMlRf2aXb1rQx/fh14aIYj9ax7L3DBrNa9tKnUdLt+f+Trri UUhWW2sxpr3HLQjUde70d4uMQbcXV7DTyWU3ENBafhGUBI3MVnyNLaKb8kkjCbkB ice715C7p4utN/MqDn9CfsqTQqV6vi/8TejmOT/D9833vH95HolHBY1XQAirPP2U 826ez8HF9hD9ik3fptTxxTkg+cgpP6oX7fQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrleefgddvgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefuvhgvnhcurfgv thgvrhcuoehsvhgvnhesshhvvghnphgvthgvrhdruggvvheqnecuggftrfgrthhtvghrnh epleduffeiheeuvedtffevtdeuleeljeduudfgtedtvefhfeffvdfghfejhefgleelnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshhvvghnse hsvhgvnhhpvghtvghrrdguvghv X-ME-Proxy: Feedback-ID: i51094778:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 2 Jun 2022 13:42:29 -0400 (EDT) From: Sven Peter To: Hector Martin , 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 Subject: [PATCH 1/2] arm64: dts: apple: Re-parent ANS2 power domains Date: Thu, 2 Jun 2022 19:42:12 +0200 Message-Id: <20220602174213.2737-1-sven@svenpeter.dev> X-Mailer: git-send-email 2.30.1 (Apple Git-130) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220602_104233_010515_C5C25472 X-CRM114-Status: UNSURE ( 8.85 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 {