From patchwork Sun Dec 17 15:22:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 180035 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp762738dyi; Sun, 17 Dec 2023 07:35:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IF21CX2TYRKDBnIuN9r6CiAi6kvvqf6mQ9ITQFq35nKclWfqYj9mZU9PBwhafcRVXKLHGUk X-Received: by 2002:a17:903:2349:b0:1d3:afa4:ce74 with SMTP id c9-20020a170903234900b001d3afa4ce74mr888818plh.77.1702827333775; Sun, 17 Dec 2023 07:35:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702827333; cv=none; d=google.com; s=arc-20160816; b=APjOinlcDt1PM6YAbMdqOKmYMadg+O7cnlex44+efYmNOBQqpgUT2RnmM5bwBE2yLn /sd7WlKjL5/BTE2JJmWMTqPsRHwe8cxaw7PmNlMoENkPaeS68vLdd8K6g6GPGKham8xc lUEYkT8Fzy7bUxg00sf+kvCdlirUIm9L2dUD9DhnJQbsN7wPq/43uaL+egd6D+hiEFCu dc6t+L56ZJY60fyVGTEXs3OpMMElEoExR74P0a4XdTFVDUJokNTxR2Sr1xv6GBKV0ZNv VbwJ6NaNKpDIe3Z3tLG6DnD1UDIDFYHL+PG/sLz1pcK6T1nI/mBPo3Eg95RMsHcqvKch bBcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=0ltIgfxFTVVNSHrkl0kZpKBsWq8DZR0GZ2pHji3daX4=; fh=D47bSeJLlwGIJV0aH04Vmgby5IE6JKKrScaTnyOXRyI=; b=P9EM3g2qLZTP+9oo2t5SNfDZR1lRLzJMVw8u+DYN7l/psvvyhbteYldQkWETISKqqO b4UDCLKzBYf3WSgX1uFQXq6ULU81DzkqeNEeEBOH4dErwKR6gJHIsqs1HbIaoJEDsKjE AnXVyKRvl5KwXXmdmUsuTEA9lyhH+fVusd1MyWWqB7KvIT+naN1I/3ouNoLZcJ7k3Crr vRXppk1i9VOPkS6C4bOVV9vCEbKmFES9BwFDLEoert8WTAMfm9dj/sC/quHkwRygtwQq 24j6ps9694ksUjlbRjFSrVT0UxY5YhsjuooijBFpNtMRrt8xruvVkIbDGeJqOc+42C3w unLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=s1 header.b="T/Eu/vLU"; spf=pass (google.com: domain of linux-kernel+bounces-2667-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2667-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id h11-20020a170902f54b00b001cffce3a2e2si526524plf.426.2023.12.17.07.35.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 07:35:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2667-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=s1 header.b="T/Eu/vLU"; spf=pass (google.com: domain of linux-kernel+bounces-2667-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2667-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id E5B25B20E55 for ; Sun, 17 Dec 2023 15:35:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3E62446BB7; Sun, 17 Dec 2023 15:34:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="T/Eu/vLU" X-Original-To: linux-kernel@vger.kernel.org Received: from ahti.lucaweiss.eu (ahti.lucaweiss.eu [128.199.32.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E95EA44C85; Sun, 17 Dec 2023 15:34:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=z3ntu.xyz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=z3ntu.xyz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=s1; t=1702826611; bh=1i/L1PXG5NykuzFxVKL7eBHoLIl2repmEychdXUJYDc=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=T/Eu/vLU4I7mMDUrdbSsCllWti3PDvOef4GPt40+nsMpKO/OzmczcckTpOC3FD0UX 6+767upfiW3vJZQPvN5h27Y0v/NsiMnO8f+UxNTrOiqHX1fTW+KJXzq4CzGs1Hevaf 32ZZsEmNz37sByefRLBdfGBlcfchDbRWJ6rFYaDY= From: Luca Weiss Date: Sun, 17 Dec 2023 16:22:55 +0100 Subject: [PATCH 3/3] ARM: dts: qcom: msm8974*: Re-enable remoteprocs on various boards Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20231217-msm8974-misc-v1-3-bece1ba2667d@z3ntu.xyz> References: <20231217-msm8974-misc-v1-0-bece1ba2667d@z3ntu.xyz> In-Reply-To: <20231217-msm8974-misc-v1-0-bece1ba2667d@z3ntu.xyz> To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Samuel Pascua , Iskren Chernev Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio , Alexey Minnekhanov , Luca Weiss X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=2616; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=1i/L1PXG5NykuzFxVKL7eBHoLIl2repmEychdXUJYDc=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlfxJwFdc9rAEiEncvhaXtVdq86LYr4x2Sh8I2T 0QO4ocCbLmJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZX8ScAAKCRBy2EO4nU3X VpG5EAChoA0dcmNtKC2tmtCEHr3nXy0F+J1PwTATxcCy1AoQcQBVzDokvB/J9jWNvAF3oDYMLI+ MDhT9lL5l35qfQzx9B/MM4VRHQ9dQrukRIEagMCDvE0OFCxQ4efS2YzsoBknLre7WekwlnUodBv ZAmN4f6ys2p5rSApZslUsrLK/rATIL4nWwqik/lJ9sgkGXr2GPjLccnH1dSwPQUi5XokRpwlCg6 cDmePYWoFFfCRjVdqaPa7elS/B0mZUXJ5f0FQgE98aigymlaAd5GUmbMl9OsK/IWbuUl+eq72K0 yQDyYgg6xltR0KCAw82LVMa0SK0KPWP/8gMLcMM51uL/5jZ21z6AaHzuSO/zvNFrSS8+uhX0JzQ N/Diz0+lX/gN5CBbr5/5GSp0/+sJP2AUVsxWsFJydaSmLBbtuPlsttV7EDVuMprLqz2TUEdw+Bn QYf6C9nRBlivBZQ0a8HofXb3yrZMTwTFYZTx8ve5oRPGfi/xUL1hKTdgk78Zm4F9vhPVld0r7Tf il9unK3Liv4hWp+hN9thAP6K0Cz3A9ZAW6hmpca9ZXb/Mf91oR5HvWTeJ3btJUJKlSovo4bEN6z N4JdTLXDRdddivniq2k+ljMs6gpgfccja/aqB1bIa6Pa+HroUSIGfLEuP6TePVzRUgM+veB6Y1W +/x/OF9+8B8KWgQ== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785543874299411258 X-GMAIL-MSGID: 1785543874299411258 Even though a previous patch re-added the supplies to the adsp and modem remoteprocs, due to timing differences in the meantime the remoteprocs were disabled by default, but the commit re-adding the supplies didn't enable them. Enable them now to hopefully properly resolve the fallout now. Fixes: 6d933c0ec171 ("ARM: dts: qcom: msm8974-*: re-add remoteproc supplies") Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/qcom-msm8974-lge-nexus5-hammerhead.dts | 2 ++ arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi | 2 ++ arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts | 2 ++ 3 files changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974-lge-nexus5-hammerhead.dts b/arch/arm/boot/dts/qcom/qcom-msm8974-lge-nexus5-hammerhead.dts index ca402b4a68bd..4aaae8537a3f 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8974-lge-nexus5-hammerhead.dts +++ b/arch/arm/boot/dts/qcom/qcom-msm8974-lge-nexus5-hammerhead.dts @@ -367,6 +367,7 @@ led@5 { &remoteproc_adsp { cx-supply = <&pm8841_s2>; + status = "okay"; }; &remoteproc_mss { @@ -374,6 +375,7 @@ &remoteproc_mss { mss-supply = <&pm8841_s3>; mx-supply = <&pm8841_s1>; pll-supply = <&pm8941_l12>; + status = "okay"; }; &rpm_requests { diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi index 94cbad81379f..d34659ebac22 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi @@ -217,6 +217,7 @@ &pm8941_wled { &remoteproc_adsp { cx-supply = <&pm8841_s2>; + status = "okay"; }; &remoteproc_mss { @@ -224,6 +225,7 @@ &remoteproc_mss { mss-supply = <&pm8841_s3>; mx-supply = <&pm8841_s1>; pll-supply = <&pm8941_l12>; + status = "okay"; }; &rpm_requests { diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts b/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts index 7c6fe442b559..ee94741a26ed 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts +++ b/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts @@ -324,6 +324,7 @@ led@7 { &remoteproc_adsp { cx-supply = <&pm8841_s2>; + status = "okay"; }; &remoteproc_mss { @@ -331,6 +332,7 @@ &remoteproc_mss { mss-supply = <&pm8841_s3>; mx-supply = <&pm8841_s1>; pll-supply = <&pm8941_l12>; + status = "okay"; }; &rpm_requests {