From patchwork Wed Oct 18 14:25:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nia Espera X-Patchwork-Id: 13427189 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 397EACDB48B for ; Wed, 18 Oct 2023 14:27:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345562AbjJRO1c (ORCPT ); Wed, 18 Oct 2023 10:27:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345541AbjJRO1U (ORCPT ); Wed, 18 Oct 2023 10:27:20 -0400 Received: from fanzine2.igalia.com (fanzine.igalia.com [178.60.130.6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 303FE10C7; Wed, 18 Oct 2023 07:26:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Cc:To:In-Reply-To:References:Message-Id: Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date:From:Sender: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=efNuveP4VSQprhkHQkpwOHrplziHFsZy17voswzgGok=; b=sIbMid20VaYul+AKT7kDbObZs7 EPY6mXjJUjfl15uvhcURAWRFNOITE90SaCvOH2XnVQx0GFBo9ZTxmu4bnzOiYYT/q4wEEP/BRTEQ6 Oo+ny7BagahAzAvJW7jGUvp7D1xez2RxwN9UYTorVkkdk3LxbuWOFbigHA9IdulWJ5uID0kCNGvwg QagfzywzmkwmLrlUZVPXtc4wGWPWavD5Klb6EFq5Ru6N5JOhdHkqz8+mWkXgZhnfc/hrX+yygdmnV 4LvxEA7Vbnth96uTvg9CkuBmPhB4waTne+Im/2bKV6AewNTqZI5ynESD7gK3sbahe6ArjYXq2WnC0 b+lTua8Q==; Received: from [145.18.212.154] by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) id 1qt7Uj-001paE-9O; Wed, 18 Oct 2023 16:25:57 +0200 From: Nia Espera Date: Wed, 18 Oct 2023 16:25:15 +0200 Subject: [PATCH v2 4/6] arm64: dts: qcom: sm8350: Fix remoteproc interrupt type MIME-Version: 1.0 Message-Id: <20231018-nia-sm8350-for-upstream-v2-4-7b243126cb77@igalia.com> References: <20231018-nia-sm8350-for-upstream-v2-0-7b243126cb77@igalia.com> In-Reply-To: <20231018-nia-sm8350-for-upstream-v2-0-7b243126cb77@igalia.com> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Conor Dooley , Kees Cook , Tony Luck , "Guilherme G. Piccoli" , Vinod Koul , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, phone-devel@vger.kernel.org, Rob , Clayton Craft , Caleb Connolly , Luca Weiss , ~postmarketos/upstreaming@lists.sr.ht, Nia Espera X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=2332; i=nespera@igalia.com; h=from:subject:message-id; bh=2PFXMWXBlmj0rQF2r2HKHb1q9m6vmsAuphNOSZ7iliw=; b=owEB7QES/pANAwAIAfIkzsI3VuKtAcsmYgBlL+rqoMi+lT6l3oC2K//kUoPDjzNRtkqPDeteR fNs+bLOflOJAbMEAAEIAB0WIQSBPDomug3slDJEnubyJM7CN1birQUCZS/q6gAKCRDyJM7CN1bi rQ4yC/95ExZFTdESZ6udg5FlQz/41i7JcVGI4Cxr0kjIfB3dBhG+te87REsmjRGE00MXDGiHtV+ wpHVqQKNTDJcBUalUu8jOeH9ECfh9+XDVP3ebz/y8VqTkj1FZEcPfvzDE6KXP0Tu6mFaU77fzB1 4sYohwYRiWlC9XYpmI0D/uJqFK+Js+xHxlG5KI/O60ohSUgcwNAwWPxV4skKLU486FM4Gym5lkv tlAhJiIdt/z86U0qAXxkvUL2dtuxYlMpVz1NpFEMFrYkcwPiyhFnTGhedJMaws6ymkDaSFQp7n6 gjv8l7mW6BwraDdsxeFEduX7K9RbtcVRVvnprcPD7Ao8Z0R49H1lqjYHOfK1Vymd+s94u1OWdUo wqGQti2gLBdrfPtPiIecYfUMag7/jzQOf4jVsMCDjrqMRzrLpgFxdup0WyteXDKCy8kQOdvnNyd TKEA09am1HHsLD9Tpm02ug64JdNPD5NK+3hhegUWEarCCogMOsmA/IDl+7asRBjaHpscU= X-Developer-Key: i=nespera@igalia.com; a=openpgp; fpr=813C3A26BA0DEC9432449EE6F224CEC23756E2AD Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org In a similar vein to https://lore.kernel.org/lkml/20220530080842.37024-3-manivannan.sadhasivam@linaro.org/, the remote processors on sm8350 fail to initialize with the 'correct' (i.e., specified in downstream) IRQ type. Change this to EDGE_RISING. Signed-off-by: Nia Espera --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index 6d12066389fa..7d5ea338a870 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -2020,7 +2020,7 @@ mpss: remoteproc@4080000 { compatible = "qcom,sm8350-mpss-pas"; reg = <0x0 0x04080000 0x0 0x4040>; - interrupts-extended = <&intc GIC_SPI 264 IRQ_TYPE_LEVEL_HIGH>, + interrupts-extended = <&intc GIC_SPI 264 IRQ_TYPE_EDGE_RISING>, <&smp2p_modem_in 0 IRQ_TYPE_EDGE_RISING>, <&smp2p_modem_in 1 IRQ_TYPE_EDGE_RISING>, <&smp2p_modem_in 2 IRQ_TYPE_EDGE_RISING>, @@ -2062,7 +2062,7 @@ slpi: remoteproc@5c00000 { compatible = "qcom,sm8350-slpi-pas"; reg = <0 0x05c00000 0 0x4000>; - interrupts-extended = <&pdc 9 IRQ_TYPE_LEVEL_HIGH>, + interrupts-extended = <&pdc 9 IRQ_TYPE_EDGE_RISING>, <&smp2p_slpi_in 0 IRQ_TYPE_EDGE_RISING>, <&smp2p_slpi_in 1 IRQ_TYPE_EDGE_RISING>, <&smp2p_slpi_in 2 IRQ_TYPE_EDGE_RISING>, @@ -3206,7 +3206,7 @@ adsp: remoteproc@17300000 { compatible = "qcom,sm8350-adsp-pas"; reg = <0 0x17300000 0 0x100>; - interrupts-extended = <&pdc 6 IRQ_TYPE_LEVEL_HIGH>, + interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>, <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>, <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>, <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>, @@ -3511,7 +3511,7 @@ cdsp: remoteproc@98900000 { compatible = "qcom,sm8350-cdsp-pas"; reg = <0 0x98900000 0 0x1400000>; - interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_LEVEL_HIGH>, + interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>, <&smp2p_cdsp_in 0 IRQ_TYPE_EDGE_RISING>, <&smp2p_cdsp_in 1 IRQ_TYPE_EDGE_RISING>, <&smp2p_cdsp_in 2 IRQ_TYPE_EDGE_RISING>,