From patchwork Sun Dec 17 15:22:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 13495915 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 E966C44C8A; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="4BYvUY06" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=s1; t=1702826610; bh=U4O59YmzzkaM+IwRrSwfwaATM9KrO7ydMyjrM5tHghw=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=4BYvUY06lpy8QKSYTk8QtcbsuGpWfmcWZVh/a6kl3r8L0X2YbRj7NlfuIUXGk4m27 Ffg7lYB3F79DHAH4rQcpk+mxsUVF2Gb9n5kgBJKygWUWASPKeh1tNbtFX0ZDVasZRU 0C5lbB5htIM91im09in+49fc3KlSTkABeYesv9oQ= From: Luca Weiss Date: Sun, 17 Dec 2023 16:22:53 +0100 Subject: [PATCH 1/3] ARM: dts: qcom: msm8974-klte: Remove unused property Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20231217-msm8974-misc-v1-1-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=971; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=aucsrlJ4PTIT5voU1HDppqMa8ZN5XwYsMHWrI4VbcJo=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlfxJvV8Hv9xjx03afxu1anN0JbZz1D/OGNWKr3 Qagnuj3emqJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZX8SbwAKCRBy2EO4nU3X VrcDEACSzDi/wwu5f4Sf0K6hRhZDXUq3Uq882Vjvw8uNSGObjYqav1orK9ZWTfk01aOROxYnDjp VdVEyhUesBiDlZFkCpwuKvVwvDHkd4tTn4RHi+YMOh6JcsOkfuaurrq/PkU5GliNc0mHHo1KAdO av78tiwyWU3TdGxdAhZGaCXUR5Ovx8rgsaeH9lWQVnmmEJd0NFF6/LsUGA9/l9DgZ5WkiRFrBuV mT+a3A1+kC5a+7Snagwk1AxXud8o5wKBQxnJMJA9hbWrUl37pJ47LZHAkFFWhKRW4f37T8wS+c0 5mj0BIqTLDPdCuDjgumvyYf2sNN2hmU8KX2A08FvQoQWHcwjGVIMYBf7+tXQ30KHqaxfySl2XZB HkaoQv8Hs23oPrb39+crQ5dIpH+X+UsJmsWRJdyGCRTg947c9h3OWXWA4OFnv/4QBCBLMx+VpI/ 54gPbtT96O9Rq5c5b3Je3Y6Od3GPanX4gW/oZoeVU0Ufi4/CdZl3mleTc4Bb05UUPrHNFEGKyG8 PJFOMboLuGA+5AwMVmywqiv2v9LL2xB65uq5vWJRUaBHFCWcKUiJr+xse3cWCOxS3Id1TEOFlJz b5iZgboLdsJHQuNHaUb28fqzH8WN61bG5GkJNcjjW7v3CfjTPX7yiAg/jbiG8iWH9E7/vmtGAgI r0HFiG/K9zybLnA== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD From: Alexey Minnekhanov Panel driver samsung,s6e3fa2 does not use te-gpios. The pin is already configured properly through pinctrl. Fixes: 3657b677d20d ("ARM: dts: qcom: msm8974-klte: add support for display") Signed-off-by: Alexey Minnekhanov [luca: adjust commit message, add Fixes tag] Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts b/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts index ca3aa16b4b10..b93539e2b87e 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts +++ b/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts @@ -363,7 +363,6 @@ panel: panel@0 { vddr-supply = <&vreg_panel>; reset-gpios = <&pma8084_gpios 17 GPIO_ACTIVE_LOW>; - te-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>; port { panel_in: endpoint { From patchwork Sun Dec 17 15:22:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 13495913 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 E963044C88; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="DQG1pI4D" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=s1; t=1702826610; bh=qPu+3MGKmpA8cB1TI/AWPRME8L11HdiUsjw4dCTJzEk=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=DQG1pI4DwVX8pxm50vijFX9kWoJ10XieG1yUeLPzO+XVxRxPal/BinlLq2f56eAgD gvF2iHEAwrXfRzckd3p+srlz37jOelfySO3IF7Fn+M3WIW9QtcyNN7RykxHrLBpeIy ugtk+XomnGUCKa2BoHcL/z9PXyHFxDProPro+W3s= From: Luca Weiss Date: Sun, 17 Dec 2023 16:22:54 +0100 Subject: [PATCH 2/3] ARM: dts: qcom: msm8974: Remove bogus cd-gpio pinctrl Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20231217-msm8974-misc-v1-2-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=940; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=qPu+3MGKmpA8cB1TI/AWPRME8L11HdiUsjw4dCTJzEk=; b=kA0DAAgBcthDuJ1N11YByyZiAGV/Em+hEFtVdeT7BLjKobhvRSGLUscyX5ClNbhOXP3LHp4Vw okCMwQAAQgAHRYhBDm60i8ILNqRuhWP+nLYQ7idTddWBQJlfxJvAAoJEHLYQ7idTddWkasP/jxx qbnkqGjEpUGAxRvF9ddF6zPKfxEIINgPo3eMesP4PHZ6Rg8cKEyIPHwrzGFMb+0KUSDjcJfx63v XwkSHttKObLbhvwbrQ7TQ6wJtXJ9W5/OAQjyovxAc2zKNsSXVRdRsKQCvLef6WSrGiK1A2ekEqb psqLpOa3bemV/4ldTvEfl8ImntLjtNxfYLQ5VMRFi9MNn4L/3AVt2fcOCr34G66XBjo5bqECEGe oEqF960bOSNREzGA4QgK7dGUOx2YBGZdAIXhaQCnfdaWXKEDeBsjh5iF09Jk4KzSyzjIhVFjBJR Q+168CMLO3p3B5c1eeazN2/5SEAGL/3IiKU+ODB94HUwg5Ux/j3qFpSiMgjaI6zMh5miRJL5M5D NtNQi7OVv+gBPP685ArjLkKzDa5iPM/Tk9+/JDoxxfyVJXJRmn+urVqTwaL0AYooY8PqEyUR8zY U9qujwjE/VbPfMv76BPE3+l4Op40WEAKGs/eEAeSVDjHA/pbg/O0LAyieDPk7UMLPuHEQfqXp+0 QRSjWWgTViMvcXCfFuC6F3LnWCV5FdmTknAXQZyPpBoQ6syJW4ia35WcqrNHZrGHS+ng04Bzcwy TeQpOhY9ronb5om5ThgDftJkdZGDtHkmcajPl7H+TRs4pATQm477upGn+1ABFxoXwu9ftgYypqM 9xLlE X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD No board in mainline uses GPIO 54 for card-detect on sdhc_2, and this also causes conflict when both sdhc_2 and blsp2_uart4 are used, such as on qcom-msm8974-lge-nexus5-hammerhead. Fixes: 1dfe967ec7cf ("ARM: dts: qcom-msm8974*: Consolidate I2C/UART/SDHCI") Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/qcom-msm8974.dtsi | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi index ee202f3f161e..b1413983787c 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi @@ -1641,13 +1641,6 @@ data-pins { bias-pull-up; drive-strength = <2>; }; - - cd-pins { - pins = "gpio54"; - function = "gpio"; - bias-disable; - drive-strength = <2>; - }; }; blsp1_uart2_default: blsp1-uart2-default-state { 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: 13495914 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="T/Eu/vLU" 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-arm-msm@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 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 {