From nobody Sun Feb 8 22:07:47 2026 Received: from mail.mainlining.org (mail.mainlining.org [5.75.144.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C20913396F4; Mon, 10 Nov 2025 18:55:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=5.75.144.95 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762800916; cv=none; b=R1yEhDYx2XCyTVHaDfNit/n/K9LyFlamJajAfzaEjjNertK0PXeOWRXi4bewoop/TDNxD62gCjX9sngc7up4NJgKmpKyXYk5wmgM8hgrZveVfySF9iT4gWgOvM6u+xmN+GGYPx8sOGRlX+Ako5/sPRyt3tqVcAf7/gKSsHk7AEQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762800916; c=relaxed/simple; bh=ypDwkRB+XA141P+jf7OlMh9MuNndrKvN/mIIyt1vyLc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=DapLZODOOq7Qwpum+ZLm4UP1YN72X1bQCyhsQ2ZgD/zUa1n9rvc5eF3q0uPQvvAk2lz9cRM4/QVXcJYffm/lUzHPQvAZ6Tg4fpUius7j5juAK3kixt6TL2QDSTLH8Wt9teOXBaGui1tLAI/n4Qsu8nlAPHkbQkpIFAJ5K+EeFpI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mainlining.org; spf=pass smtp.mailfrom=mainlining.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b=S58Jj/Zr; dkim=permerror (0-bit key) header.d=mainlining.org header.i=@mainlining.org header.b=FfJ+2n0f; arc=none smtp.client-ip=5.75.144.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mainlining.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mainlining.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="S58Jj/Zr"; dkim=permerror (0-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="FfJ+2n0f" DKIM-Signature: v=1; a=rsa-sha256; s=202507r; d=mainlining.org; c=relaxed/relaxed; h=To:Message-Id:Subject:Date:From; t=1762800910; bh=KgAePLFwDfeWDlUn/GOxG5A j2rciWjwL8KWM7YF3AVA=; b=S58Jj/Zrt5TTukUIOIk40+NyyaCMuV5K4RwkANlRBvlBvercgf tO4IB/oS6DqDrlM5HsOTqtRIM8PA1R3cAeEbXkb1ULVsdi+i5ARcM8K9H7VEHU1Ql6sasv1/0iy eaN6ejtMutXLN6Zdx4N/u+aRSz+V++yYQrKjxuWj7Z2PCxOH1lW9oR7tQis4QmcqIe3ef5+6u0N bYl4V0REXKpxEswJgFUxTzahVOxGpNtyyHw+woe5JrOUUYmQlev0y8yRZIEzo1KLWNreiLzMt6r HOS3wpz4shEl1VeBIx3lnUahPT29tavflubrfcMUWpvK6Wb9b8PDXbIT0gJpfX1iFEA==; DKIM-Signature: v=1; a=ed25519-sha256; s=202507e; d=mainlining.org; c=relaxed/relaxed; h=To:Message-Id:Subject:Date:From; t=1762800910; bh=KgAePLFwDfeWDlUn/GOxG5A j2rciWjwL8KWM7YF3AVA=; b=FfJ+2n0fP3Xz6UBWjImMIxlOeZsQhVRwwFy4JBgyAEARgrxNgr BHURwhz5NELIIF/9OoPv+ARJK+0oIZUU43DA==; From: Nickolay Goppen Date: Mon, 10 Nov 2025 21:55:06 +0300 Subject: [PATCH v3 1/3] arm64: dts: qcom: sdm630/660: Add CDSP-related nodes Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251110-qcom-sdm660-cdsp-adsp-dts-v3-1-d1f1c86e2e6d@mainlining.org> References: <20251110-qcom-sdm660-cdsp-adsp-dts-v3-0-d1f1c86e2e6d@mainlining.org> In-Reply-To: <20251110-qcom-sdm660-cdsp-adsp-dts-v3-0-d1f1c86e2e6d@mainlining.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, linux@mainlining.org, Nickolay Goppen X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1762800909; l=6760; i=setotau@mainlining.org; s=20250815; h=from:subject:message-id; bh=ypDwkRB+XA141P+jf7OlMh9MuNndrKvN/mIIyt1vyLc=; b=9etiaAsSp61mjjMc6aeyq+bkYGbIbBbJjZTiCJVS5kwPM9IwryJBlvnmaMlJiTfIiL1Lqr7L9 J1XwAxyRTKrB7lDwtKAQ+1QKV2dY0Jm3JzZxJy5eSCLnkrFnVmwwwBy X-Developer-Key: i=setotau@mainlining.org; a=ed25519; pk=Og7YO6LfW+M2QfcJfjaUaXc8oOr5zoK8+4AtX5ICr4o= In order to enable CDSP support for SDM660 SoC: * add shared memory p2p nodes for CDSP * add CDSP-specific smmu node * add CDSP peripheral image loader node Memory region for CDSP in SDM660 occupies the same spot as TZ buffer mem defined in sdm630.dtsi (which does not have CDSP). In sdm660.dtsi replace buffer_mem inherited from SDM630 with cdsp_region, which is also larger in size. SDM636 also doesn't have CDSP, so remove inherited from sdm660.dtsi related nodes and add buffer_mem back. Signed-off-by: Nickolay Goppen Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 2 +- arch/arm64/boot/dts/qcom/sdm636.dtsi | 23 +++-- arch/arm64/boot/dts/qcom/sdm660.dtsi | 161 +++++++++++++++++++++++++++++++= ++++ 3 files changed, 176 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qco= m/sdm630.dtsi index 8b1a45a4e56e..a6a1933229b9 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -563,7 +563,7 @@ modem_smp2p_in: slave-kernel { }; }; =20 - soc@0 { + soc: soc@0 { #address-cells =3D <1>; #size-cells =3D <1>; ranges =3D <0 0 0 0xffffffff>; diff --git a/arch/arm64/boot/dts/qcom/sdm636.dtsi b/arch/arm64/boot/dts/qco= m/sdm636.dtsi index ae15d81fa3f9..38e6e3bfc3ce 100644 --- a/arch/arm64/boot/dts/qcom/sdm636.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm636.dtsi @@ -7,15 +7,20 @@ =20 #include "sdm660.dtsi" =20 -/* - * According to the downstream DTS, - * 636 is basically a 660 except for - * different CPU frequencies, Adreno - * 509 instead of 512 and lack of - * turing IP. These differences will - * be addressed when the aforementioned - * peripherals will be enabled upstream. - */ +/delete-node/ &remoteproc_cdsp; +/delete-node/ &cdsp_smmu; +/delete-node/ &cdsp_region; + +/ { + /delete-node/ smp2p-cdsp; + + reserved-memory { + buffer_mem: tzbuffer@94a00000 { + reg =3D <0x0 0x94a00000 0x00 0x100000>; + no-map; + }; + }; +}; =20 &adreno_gpu { compatible =3D "qcom,adreno-509.0", "qcom,adreno"; diff --git a/arch/arm64/boot/dts/qcom/sdm660.dtsi b/arch/arm64/boot/dts/qco= m/sdm660.dtsi index ef4a563c0feb..c252f248ef15 100644 --- a/arch/arm64/boot/dts/qcom/sdm660.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm660.dtsi @@ -9,6 +9,37 @@ =20 #include "sdm630.dtsi" =20 +/delete-node/ &buffer_mem; + +/ { + smp2p-cdsp { + compatible =3D "qcom,smp2p"; + qcom,smem =3D <94>, <432>; + interrupts =3D ; + mboxes =3D <&apcs_glb 30>; + qcom,local-pid =3D <0>; + qcom,remote-pid =3D <5>; + + cdsp_smp2p_out: master-kernel { + qcom,entry-name =3D "master-kernel"; + #qcom,smem-state-cells =3D <1>; + }; + + cdsp_smp2p_in: slave-kernel { + qcom,entry-name =3D "slave-kernel"; + interrupt-controller; + #interrupt-cells =3D <2>; + }; + }; + + reserved-memory { + cdsp_region: cdsp@94a00000 { + reg =3D <0x0 0x94a00000 0x00 0x600000>; + no-map; + }; + }; +}; + &adreno_gpu { compatible =3D "qcom,adreno-512.0", "qcom,adreno"; operating-points-v2 =3D <&gpu_sdm660_opp_table>; @@ -247,6 +278,136 @@ &mmcc { <0>; }; =20 +&soc { + cdsp_smmu: iommu@5180000 { + compatible =3D "qcom,sdm630-smmu-v2", "qcom,smmu-v2"; + reg =3D <0x5180000 0x40000>; + #iommu-cells =3D <1>; + + #global-interrupts =3D <2>; + interrupts =3D , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + + clocks =3D <&gcc GCC_HLOS1_VOTE_TURING_ADSP_SMMU_CLK>; + clock-names =3D "bus"; + + power-domains =3D <&gcc HLOS1_VOTE_TURING_ADSP_GDSC>; + + }; + + remoteproc_cdsp: remoteproc@1a300000 { + compatible =3D "qcom,sdm660-cdsp-pas"; + reg =3D <0x1a300000 0x00100>; + interrupts-extended =3D <&intc GIC_SPI 518 IRQ_TYPE_EDGE_RISING>, + <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, + <&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, + <&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, + <&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; + interrupt-names =3D "wdog", + "fatal", + "ready", + "handover", + "stop-ack"; + + clocks =3D <&rpmcc RPM_SMD_XO_CLK_SRC>; + clock-names =3D "xo"; + + memory-region =3D <&cdsp_region>; + power-domains =3D <&rpmpd SDM660_VDDCX>; + power-domain-names =3D "cx"; + + qcom,smem-states =3D <&cdsp_smp2p_out 0>; + qcom,smem-state-names =3D "stop"; + + glink-edge { + interrupts =3D ; + + label =3D "cdsp"; + mboxes =3D <&apcs_glb 29>; + qcom,remote-pid =3D <5>; + + fastrpc { + compatible =3D "qcom,fastrpc"; + qcom,glink-channels =3D "fastrpcglink-apps-dsp"; + label =3D "cdsp"; + #address-cells =3D <1>; + #size-cells =3D <0>; + + compute-cb@5 { + compatible =3D "qcom,fastrpc-compute-cb"; + reg =3D <5>; + iommus =3D <&cdsp_smmu 3>; + }; + + compute-cb@6 { + compatible =3D "qcom,fastrpc-compute-cb"; + reg =3D <6>; + iommus =3D <&cdsp_smmu 4>; + }; + + compute-cb@7 { + compatible =3D "qcom,fastrpc-compute-cb"; + reg =3D <7>; + iommus =3D <&cdsp_smmu 5>; + }; + + compute-cb@8 { + compatible =3D "qcom,fastrpc-compute-cb"; + reg =3D <8>; + iommus =3D <&cdsp_smmu 6>; + }; + + compute-cb@9 { + compatible =3D "qcom,fastrpc-compute-cb"; + reg =3D <9>; + iommus =3D <&cdsp_smmu 7>; + }; + + compute-cb@10 { + compatible =3D "qcom,fastrpc-compute-cb"; + reg =3D <10>; + iommus =3D <&cdsp_smmu 8>; + }; + + compute-cb@11 { + compatible =3D "qcom,fastrpc-compute-cb"; + reg =3D <11>; + iommus =3D <&cdsp_smmu 9>; + }; + + compute-cb@12 { + compatible =3D "qcom,fastrpc-compute-cb"; + reg =3D <12>; + iommus =3D <&cdsp_smmu 10>; + }; + + compute-cb@13 { + compatible =3D "qcom,fastrpc-compute-cb"; + reg =3D <13>; + iommus =3D <&cdsp_smmu 11>; + }; + }; + }; + }; +}; + &tlmm { compatible =3D "qcom,sdm660-pinctrl"; }; --=20 2.51.2 From nobody Sun Feb 8 22:07:47 2026 Received: from mail.mainlining.org (mail.mainlining.org [5.75.144.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D11243396F2; Mon, 10 Nov 2025 18:55:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=5.75.144.95 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762800915; cv=none; b=tr3BbTsHfQ23feXG8ze6WEfjdcULZe6SFLc4oTJzvCJ98b5XhJ0j7hm0i2nkBxkeG5No1L2axEEpk4ZQSOHAGWnjMSHwej8G8y6C6ZK3DbWCu+0VVgNAI0oQxWUG/6m1RvGotIb8Pa4AN6nlChw1d6rhEWFc8iZFbPu7iiOnMD8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762800915; c=relaxed/simple; bh=0O6roTJVZf9NDxUu54FldHv7deAy7idU52GZoKcusFk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=KkgUX8ERIskYeECsfJnxfaj/rgCxKD4z8En5FmAjk/jHv0tL4zdWHZuY/t3VdKdPWLzUKcLLUCwQJa++/TMYsWns9TNx1ilUpiSm+rYs/fxAb0b78NaPJ6cYj8Qz/ea18gWgsf5ZpL3GZY9AmGJd9seoWSRdxSqmcfbJQOp5zZI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mainlining.org; spf=pass smtp.mailfrom=mainlining.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b=bKj5VvpT; dkim=permerror (0-bit key) header.d=mainlining.org header.i=@mainlining.org header.b=fhyeLeEn; arc=none smtp.client-ip=5.75.144.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mainlining.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mainlining.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="bKj5VvpT"; dkim=permerror (0-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="fhyeLeEn" DKIM-Signature: v=1; a=rsa-sha256; s=202507r; d=mainlining.org; c=relaxed/relaxed; h=To:Message-Id:Subject:Date:From; t=1762800911; bh=cM8U8uuTzdlKA7Xhq7Pjgvy 4K1WQA1TseyC25fxE+Rc=; b=bKj5VvpTP8xQxtLyVSPGyuBl7gXTYsh5YHXN6tWXftFHeXzjgN QmSGH7YWzbJBRqGx6DLXGOy34u0m/PqjkPtR+1knq/CWQ0hcLkHmRVADacguVy1WgSNgpwzldeL gjPJ5lgEqf3iYelBvR4gd8Z1KKgzKK0Ty5jasO0goGF/XUfLk63UmP9hTha4QbtUx0pkq7km2fm 00eGet13LWqAQoe18K4H1qPhujfpshXeWeoEYV9lgwdOw6GYcb1KS4MX+j7cId7K2mvxotngnY4 dGHfIVIIc4V09tbE17m6NU4egJKIPmP/ckiE5N3hDKU3QOrXGsZ1EwA9oyMAlQP4Fbw==; DKIM-Signature: v=1; a=ed25519-sha256; s=202507e; d=mainlining.org; c=relaxed/relaxed; h=To:Message-Id:Subject:Date:From; t=1762800911; bh=cM8U8uuTzdlKA7Xhq7Pjgvy 4K1WQA1TseyC25fxE+Rc=; b=fhyeLeEnHeC2sBv0jmbF9fS6YL6E4LUSDTZUyaO1OhDeReqOO6 14m6xKhbYJZodWecLFaqOrw8pY9DdluutXCg==; From: Nickolay Goppen Date: Mon, 10 Nov 2025 21:55:07 +0300 Subject: [PATCH v3 2/3] arm64: dts: qcom: sdm630: Add missing vote clock and GDSC to lpass_smmu Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251110-qcom-sdm660-cdsp-adsp-dts-v3-2-d1f1c86e2e6d@mainlining.org> References: <20251110-qcom-sdm660-cdsp-adsp-dts-v3-0-d1f1c86e2e6d@mainlining.org> In-Reply-To: <20251110-qcom-sdm660-cdsp-adsp-dts-v3-0-d1f1c86e2e6d@mainlining.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, linux@mainlining.org, Nickolay Goppen , Konrad Dybcio X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1762800909; l=935; i=setotau@mainlining.org; s=20250815; h=from:subject:message-id; bh=0O6roTJVZf9NDxUu54FldHv7deAy7idU52GZoKcusFk=; b=vgPDoqbK2oqyg3O2L0sVBWj0qLVT4hGW4l621T0Vbwv+qiqra5dEUC9dPJ6dYH08DTlDLuDJV UtRzaNfWO1gDowvsE4MtqlyyYstYjqG8FOT83C9NLRcBZbaLhysL6VY X-Developer-Key: i=setotau@mainlining.org; a=ed25519; pk=Og7YO6LfW+M2QfcJfjaUaXc8oOr5zoK8+4AtX5ICr4o= Add missing vote clock and GDSC to lpass_smmu node to make sure the required resources are enabled before attempting to access the hardware. Reviewed-by: Konrad Dybcio Signed-off-by: Nickolay Goppen --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qco= m/sdm630.dtsi index a6a1933229b9..f4906ee3f0c3 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -1217,6 +1217,11 @@ lpass_smmu: iommu@5100000 { reg =3D <0x05100000 0x40000>; #iommu-cells =3D <1>; =20 + clocks =3D <&gcc GCC_HLOS1_VOTE_LPASS_ADSP_SMMU_CLK>; + clock-names =3D "bus"; + + power-domains =3D <&gcc HLOS1_VOTE_LPASS_ADSP_GDSC>; + #global-interrupts =3D <2>; interrupts =3D , --=20 2.51.2 From nobody Sun Feb 8 22:07:47 2026 Received: from mail.mainlining.org (mail.mainlining.org [5.75.144.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DFB4C33B6C8; Mon, 10 Nov 2025 18:55:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=5.75.144.95 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762800920; cv=none; b=dOBJJ123DbBD5TvP05C0qETPqhM+jdZn6zAUgDiMXhSn0LCFPgyAhkBK0WuyOb9UqVBvE+oZLdfdtdA0sTs6qzlHYBog/1jU/mOaSnue5ok7Qbkbsqu1oCKiF27QfvdfPvdKGVNsmR6uPMBZjquqlz1OrlV28jhducP4/mOiw84= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762800920; c=relaxed/simple; bh=fPuoTgZC7rNwrfkVKiHzNGBC3fyoM+tBSWoj9cq5rag=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=btyP7oGWz+vNrKUZFEDu0BVCNZkFLZP5ow/xOA78X2z7L3x4+o1h3GTsqgesZl+eUnzGHonkYkAeYCTsz8C8uAMWfhejwxuLJ/tGS9taqwLoasBk15DHmXM0Knc7nTzysdItpxFaBN7MvqiX0mhtBBmAyLVAk3VRM9Ke24/wvkQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mainlining.org; spf=pass smtp.mailfrom=mainlining.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b=DjwEHmzY; dkim=permerror (0-bit key) header.d=mainlining.org header.i=@mainlining.org header.b=G8ROzNz3; arc=none smtp.client-ip=5.75.144.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mainlining.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mainlining.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="DjwEHmzY"; dkim=permerror (0-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="G8ROzNz3" DKIM-Signature: v=1; a=rsa-sha256; s=202507r; d=mainlining.org; c=relaxed/relaxed; h=To:Message-Id:Subject:Date:From; t=1762800911; bh=o1J75RrinyqC7VsB+e/l2lA YXB8pWyZVmDUqipNZARA=; b=DjwEHmzYNofsdi1SVeR+varM7x6D9YXGcB8aqKKwTqYAfozFzx y3aL1rSUTexc270IULT9TcmMWUDdAboje8+3wcDOkkYtpDpiLCFpDc7emBCkbW+2J0tCuME56at OEgdqBVgvOndERJAmXu1MiuuZ96rVmxNdsvuK9TpCK/MbTSKpaef3nrDumPIBrYNPR5pvRdvUet 33XPPwYhntfwamY5aJr4ZlGSezDi9rfKywF6/LIOnGpwoxaAoCyq1cC9G/xRTJEJXJTdnuBMixt g0zOD+Rf444UBGVQW+EdU/gG+djyE9F80Ssj6lkMqKGICSsyXDsv6/Piu4KLIy/yOuw==; DKIM-Signature: v=1; a=ed25519-sha256; s=202507e; d=mainlining.org; c=relaxed/relaxed; h=To:Message-Id:Subject:Date:From; t=1762800911; bh=o1J75RrinyqC7VsB+e/l2lA YXB8pWyZVmDUqipNZARA=; b=G8ROzNz3siUq5Fs30OORy1KG0gLtfhwCikze5iEz8+CnExy5gc oX+iodawfVcF/a0EWnWPcjOslKmXJBEoCuAQ==; From: Nickolay Goppen Date: Mon, 10 Nov 2025 21:55:08 +0300 Subject: [PATCH v3 3/3] arm64: dts: qcom: sdm630: Add FastRPC nodes to ADSP Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251110-qcom-sdm660-cdsp-adsp-dts-v3-3-d1f1c86e2e6d@mainlining.org> References: <20251110-qcom-sdm660-cdsp-adsp-dts-v3-0-d1f1c86e2e6d@mainlining.org> In-Reply-To: <20251110-qcom-sdm660-cdsp-adsp-dts-v3-0-d1f1c86e2e6d@mainlining.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, linux@mainlining.org, Nickolay Goppen X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1762800909; l=1337; i=setotau@mainlining.org; s=20250815; h=from:subject:message-id; bh=fPuoTgZC7rNwrfkVKiHzNGBC3fyoM+tBSWoj9cq5rag=; b=49e6v70G1J1sJ2637d3khbKFpxqOBJ2rR7JY/MfeW2F2SHSQt8bzHv2o/+AESrwjKKhorzjwX IawWcCXhHn0ASPic/aD4n5CusKoa4wkSZQa7O0aoE0/jWZXA1tpPXAG X-Developer-Key: i=setotau@mainlining.org; a=ed25519; pk=Og7YO6LfW+M2QfcJfjaUaXc8oOr5zoK8+4AtX5ICr4o= Add FastRPC subnode with compute-cb subnodes to ADSP node. Signed-off-by: Nickolay Goppen --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qco= m/sdm630.dtsi index f4906ee3f0c3..2764666714e6 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -2342,6 +2342,39 @@ q6routing: routing { }; }; }; + + fastrpc { + compatible =3D "qcom,fastrpc"; + qcom,glink-channels =3D "fastrpcglink-apps-dsp"; + label =3D "adsp"; + qcom,non-secure-domain; + #address-cells =3D <1>; + #size-cells =3D <0>; + + compute-cb@1 { + compatible =3D "qcom,fastrpc-compute-cb"; + reg =3D <1>; + iommus =3D <&lpass_smmu 3>; + }; + + compute-cb@2 { + compatible =3D "qcom,fastrpc-compute-cb"; + reg =3D <2>; + iommus =3D <&lpass_smmu 7>; + }; + + compute-cb@3 { + compatible =3D "qcom,fastrpc-compute-cb"; + reg =3D <3>; + iommus =3D <&lpass_smmu 8>; + }; + + compute-cb@4 { + compatible =3D "qcom,fastrpc-compute-cb"; + reg =3D <4>; + iommus =3D <&lpass_smmu 9>; + }; + }; }; }; =20 --=20 2.51.2