From patchwork Thu Dec 9 04:45:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hector Martin X-Patchwork-Id: 12695444 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 53818C433F5 for ; Thu, 9 Dec 2021 04:48:17 +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:References:In-Reply-To: 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: List-Owner; bh=X2P/hjUlhF4mp2WlXu9MyWCg1K9LbcAOx68kzSNJSG4=; b=iKUsoLYTQjkTVu xgEbNC31bEU3XtfuY5KxazqWJewkpnkVlPB9YdCleGO4TFyATbxd7OVobbm8CxeFMKJMM9EXsks2D /IVV0xUDzkZEWnhPtiOGCSrlZdRUTvGgN1jyA6A/1dltr59iNNllK4ijJ9xBFJj+jExUC7CpYsYmd 41ZB4Z6PKrAEv8rIgulz+xX2H647kQlrPyOqjnAyOP3b5JQWYhPGdvXHFnOlRmY6ex87eRfOco6P/ pQwv2u2eRS/hiAnVC9bqGSCStA0Mk4Fkdty6opB7BEciVRh0TfXcN/3FCpT/Ul3Su/m9+Ab8i9C6q DRrkrD+0a6ewZbjATMcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mvBKP-00EvCV-AJ; Thu, 09 Dec 2021 04:46:45 +0000 Received: from marcansoft.com ([212.63.210.85] helo=mail.marcansoft.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mvBJx-00Ev82-Fv for linux-arm-kernel@lists.infradead.org; Thu, 09 Dec 2021 04:46:18 +0000 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: hector@marcansoft.com) by mail.marcansoft.com (Postfix) with ESMTPSA id 0D0AE41E64; Thu, 9 Dec 2021 04:46:13 +0000 (UTC) From: Hector Martin To: Sven Peter , Rob Herring Cc: Hector Martin , Mark Kettenis , Alyssa Rosenzweig , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH 3/3] arm64: dts: apple: t8103: Add apple, min-ps to DCP PMGR nodes Date: Thu, 9 Dec 2021 13:45:01 +0900 Message-Id: <20211209044501.67028-4-marcan@marcan.st> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211209044501.67028-1-marcan@marcan.st> References: <20211209044501.67028-1-marcan@marcan.st> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211208_204617_707530_D823D85E X-CRM114-Status: UNSURE ( 8.71 ) 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 This is required for DCP to boot successfully; it seems if power gating is allowed, they do not wake up properly. Signed-off-by: Hector Martin Reviewed-by: Sven Peter --- arch/arm64/boot/dts/apple/t8103-pmgr.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/apple/t8103-pmgr.dtsi b/arch/arm64/boot/dts/apple/t8103-pmgr.dtsi index 1310be74df1d..fc51bc872468 100644 --- a/arch/arm64/boot/dts/apple/t8103-pmgr.dtsi +++ b/arch/arm64/boot/dts/apple/t8103-pmgr.dtsi @@ -665,6 +665,7 @@ ps_dispext_cpu0: power-controller@378 { #reset-cells = <0>; label = "dispext_cpu0"; power-domains = <&ps_dispext_fe>; + apple,min-state = <4>; }; ps_jpg: power-controller@3c0 { @@ -1005,6 +1006,7 @@ ps_disp0_cpu0: power-controller@10018 { label = "disp0_cpu0"; power-domains = <&ps_disp0_fe>; apple,always-on; /* TODO: figure out if we can enable PM here */ + apple,min-state = <4>; }; };