From nobody Sun Feb 8 18:18:21 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 EA71134DB4C; Thu, 23 Oct 2025 19:52:18 +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=1761249142; cv=none; b=ZTPXpBwvG4MRm0pwSUlZ4r96FiWopNedrgpCSPykSyJUP/z6KuuwdRsvHwZXYs5VC00gLBgVsUy5GZ7efEMRvx/hVuvCfEsTjSJkSc1qHnfjYPBZIkaqgENX5QvquIQNrzP2ur8b/0quUF+D6mdUNN0ypeJKws1Qj+S/9i9wXjE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761249142; c=relaxed/simple; bh=dhHPKuURJIj5McbOTlyiJy2zuDlhCglU6Sx7LbpuVlM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=azkCsA+IOS32nBssZ+78RF4ZIOgmHASprq8FtD6hSWNrmJeGFGPYnuczn+ES9Sg0Ht627s2Ch+s56yjCg8McoWOEnXzMle29IDNjjHeYzlJyWhtBnzmXVtxnKLrw9D3oLhXS4imp4V2v06lOtV5KKabka/JSEq2xp0fClwOvatQ= 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=E/gVGIkY; dkim=permerror (0-bit key) header.d=mainlining.org header.i=@mainlining.org header.b=QdPmdLB2; 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="E/gVGIkY"; dkim=permerror (0-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="QdPmdLB2" DKIM-Signature: v=1; a=rsa-sha256; s=202507r; d=mainlining.org; c=relaxed/relaxed; h=To:Message-Id:Subject:Date:From; t=1761249129; bh=QO2cmeuIvRMrYEgMB0HuwUI swd79lUuQZPmj9I39kXA=; b=E/gVGIkYT1WwhFbCSPpHnaX4dmtMP14Z0cB+JhrM+1meFTPcFl MT3VaM1n25+xjvDOMkp/mjWnwcXooymYCnF0bPjOYI2g/NcnpPzML8WWS94FFCWhX/ezug5A93H WRa2MRu6cBoBGYO+MNELlVQ1udlUjvXPSGfDwxSWY3qGtdjdVr0VP57Y46pXMU81TqhqJqcVDl2 vIn9aXFQMbWConD8FEfUYOBYJ9rB4U0H4TrPRGB6Rxd6K4jXKdd+sklnnW3iTNWpIv3MGWhj+et fGXfv7T/OVhlWWiiHXXpuNtozJtp54hQPI6CQEuLQMlzJMcN1B/UtwujaThv8dnQUQg==; DKIM-Signature: v=1; a=ed25519-sha256; s=202507e; d=mainlining.org; c=relaxed/relaxed; h=To:Message-Id:Subject:Date:From; t=1761249129; bh=QO2cmeuIvRMrYEgMB0HuwUI swd79lUuQZPmj9I39kXA=; b=QdPmdLB2N4KdFrIaqy/P9ppKQqmOZwamWPTmb3yNTjDNH//zKF 3nlbhcuYJT9Nzm77t1d5CcsnzJQketXJIGBQ==; From: Nickolay Goppen Date: Thu, 23 Oct 2025 22:51:59 +0300 Subject: [PATCH v2 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: <20251023-qcom-sdm660-cdsp-adsp-dts-v2-1-895ffe50ab5f@mainlining.org> References: <20251023-qcom-sdm660-cdsp-adsp-dts-v2-0-895ffe50ab5f@mainlining.org> In-Reply-To: <20251023-qcom-sdm660-cdsp-adsp-dts-v2-0-895ffe50ab5f@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=1761249128; l=6792; i=setotau@mainlining.org; s=20250815; h=from:subject:message-id; bh=dhHPKuURJIj5McbOTlyiJy2zuDlhCglU6Sx7LbpuVlM=; b=Rp3M3KEpYnaysxtg4ww7tI6eNsEfU8B0CX0tlPKu5f+/MJOoPszovUWJWp7tWkFM+65Kr8iLH ffQZlNnpZ5KBtyad5FqxsWFjWpAWlCU3IshpfVjqda7zV8kwhN8tgfC 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 --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 2 +- arch/arm64/boot/dts/qcom/sdm636.dtsi | 23 +++-- arch/arm64/boot/dts/qcom/sdm660.dtsi | 162 +++++++++++++++++++++++++++++++= ++++ 3 files changed, 177 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..d50cce25ccbe 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,137 @@ &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 "turing"; + 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"; + qcom,non-secure-domain; + #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.1 From nobody Sun Feb 8 18:18:21 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 167B434E765; Thu, 23 Oct 2025 19:52:23 +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=1761249146; cv=none; b=LSisaIl51oTaHpHYM2FVuNsNPCIN1EvB3Jbq7ZjJC7Y1+quBufB3+F61ssAoAe2NeNOyFxr38WfgGdcPTHElx/Ho+XW/zZJ9sE9kvhfwBJEHKwjwMxptXsnfS53zmGMuiSYw3gTwxP6nrSKDy27iLYFTIKMK7w5qR3jIqEUCZcY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761249146; c=relaxed/simple; bh=DiXEeBLmW54fhAAmxJ5HhLS0zDYlt5h2rZJxm7LGak8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=A4vRWTmH5rxHz47FfrhkQ5m2xHkrfr1qLcdV7m5tjG1i4QcSGs33UBp1NQIgJzkHDgM0zEqsvgSF2J2zCyvgVzPdJYJGn8RqZn88KU5t56LAIcX2KmTjxJTR/SffElevYiqn34Ypma8kx/LJvOU9gsSwdtWKbpJFANmTovjlJms= 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=fJyvpxHW; dkim=permerror (0-bit key) header.d=mainlining.org header.i=@mainlining.org header.b=yEbgmDmy; 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="fJyvpxHW"; dkim=permerror (0-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="yEbgmDmy" DKIM-Signature: v=1; a=rsa-sha256; s=202507r; d=mainlining.org; c=relaxed/relaxed; h=To:Message-Id:Subject:Date:From; t=1761249130; bh=2eVH9tExxFIiMKzVTFLkdqw kS4noX3l5pWBg585Afig=; b=fJyvpxHWiDv5zviW820sbjEyHAaWdbH4IDk2l8DBfRUiHiNSK1 llmJOCQEud+NenLWERvGDbg9MSZ591ICWGVG0fSvY7xECjcWmKfF8sk05J3TiAuvgzI8gN5Ex1d D54pDQ00TqhGhiMcGFi3H+UR+9KUr57qdirxfrT3GA6UrUjEeUqPtSQR8Mr/omN6iGOLhIiuwbr EZ/U25g36EUYamX4yLUvuwXfEhBlOfNUaOgaOs9X/3SiIO6YA7DD+TLuGBVsqyVsN5kpR1+Cy4V VHtdIbwsoSXef6vNh8MRf8iAQcj5v5qiPwM+a/I2mIN6pDKI3pTJcYrd1agSgxq5G3A==; DKIM-Signature: v=1; a=ed25519-sha256; s=202507e; d=mainlining.org; c=relaxed/relaxed; h=To:Message-Id:Subject:Date:From; t=1761249130; bh=2eVH9tExxFIiMKzVTFLkdqw kS4noX3l5pWBg585Afig=; b=yEbgmDmy43Oob73QxpMIh62bvDGBrWxYXyzC5Umm0RjmWhaguC Ct1afIphuWHFaI4aQRNZdeCaZgggssWLUzCA==; From: Nickolay Goppen Date: Thu, 23 Oct 2025 22:52:00 +0300 Subject: [PATCH v2 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: <20251023-qcom-sdm660-cdsp-adsp-dts-v2-2-895ffe50ab5f@mainlining.org> References: <20251023-qcom-sdm660-cdsp-adsp-dts-v2-0-895ffe50ab5f@mainlining.org> In-Reply-To: <20251023-qcom-sdm660-cdsp-adsp-dts-v2-0-895ffe50ab5f@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=1761249128; l=829; i=setotau@mainlining.org; s=20250815; h=from:subject:message-id; bh=DiXEeBLmW54fhAAmxJ5HhLS0zDYlt5h2rZJxm7LGak8=; b=7F6OhrPtnsQ7FfINW7OKIEeOEWD7t/ZL5glldF/PW8Fn/6UtDKS2DDywqRpU7qKQcFbS2SZiP 3z/IrauymvYAJW1Yuoa2GS3pERGMvfZvJudrWGF5MscUtrgZuEtp74K X-Developer-Key: i=setotau@mainlining.org; a=ed25519; pk=Og7YO6LfW+M2QfcJfjaUaXc8oOr5zoK8+4AtX5ICr4o= Add missing vote clock and GDSC to lpass_smmu node to allow FastRPC services to probe properly. Signed-off-by: Nickolay Goppen Reviewed-by: Konrad Dybcio --- 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.1 From nobody Sun Feb 8 18:18:21 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 1F91D34EF08; Thu, 23 Oct 2025 19:52:54 +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=1761249177; cv=none; b=N1UgK+e9Gck+44OgUOeMrxVneb9BkbMHnxSFX1xwnVChsGBY7qu5Hcxw1wItyF1IfPBfICXXunYyUVUBNkLZw8XhwNBUZTu4KPJt/bxoZJPm9/FCdUewMc4gDgIBx+fP3huIGEOf7/uk0RST4FjzQrgVtUz/UKAqnb14OtuocB0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761249177; c=relaxed/simple; bh=XkCFV7kQMF+UdCqXzcpZ5l0Jrqpw//50JO2YNYemhXs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Pb3Td24DE9+jR2SbPrSqDAgShhQnPDScAXLHvRrI+S9ET+xwBsAv1ygLxCc7SFlHg/mDfQbOJnf5fLjhgoDSktvv4v9yFv0dS0vSm8LGhUvskRRBiBXy3VMGcjT9BRW8uJzTXWaaw40IUHgu82r+s65U0byJXUb5/V5EyPaXJzY= 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=NBlHOUX4; dkim=permerror (0-bit key) header.d=mainlining.org header.i=@mainlining.org header.b=XB+Hhwer; 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="NBlHOUX4"; dkim=permerror (0-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="XB+Hhwer" DKIM-Signature: v=1; a=rsa-sha256; s=202507r; d=mainlining.org; c=relaxed/relaxed; h=To:Message-Id:Subject:Date:From; t=1761249131; bh=xm4LduRCq2//QsRDs7TP7kW oXcuXVNBbPQWdSjZ5g5A=; b=NBlHOUX4ezeij37WNIP9nBDEGZMQaPLQoqdS0y/KUdCBFeczfF T6abq7s373xnTr3tBnoqMjHyHv0dHa003AJsZGseUIvbVj8TiRWfoZQYRIjw8m9dVoG8Osk3A1o wn8XE/m7yU5usAsljItMVMWZbh/kpy3OsFHCs8/FvlCaSfATtDzZKew3hdFpxDeRPeg7lScixAL zQr0xI0zO3MFWU9RI++MrmOZUHU15sRdjbCQZlTsYaug0oXLvRMdYrUPKJerndIcJbRTb8GmqSN uFYpMUCBnhkj+ovasolWuJMu9zZOfwjEemIj0ClPYtKbyl8Gv+7Ea5Fujg2uA4OSFsQ==; DKIM-Signature: v=1; a=ed25519-sha256; s=202507e; d=mainlining.org; c=relaxed/relaxed; h=To:Message-Id:Subject:Date:From; t=1761249131; bh=xm4LduRCq2//QsRDs7TP7kW oXcuXVNBbPQWdSjZ5g5A=; b=XB+HhwersYVj16y+dSP20jPpkea9sMX/2VpHFcIHqvYCv26JFx STkDOr0UKQ0vxLPY3A+DxnJU18wXMgjyWADw==; From: Nickolay Goppen Date: Thu, 23 Oct 2025 22:52:01 +0300 Subject: [PATCH v2 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: <20251023-qcom-sdm660-cdsp-adsp-dts-v2-3-895ffe50ab5f@mainlining.org> References: <20251023-qcom-sdm660-cdsp-adsp-dts-v2-0-895ffe50ab5f@mainlining.org> In-Reply-To: <20251023-qcom-sdm660-cdsp-adsp-dts-v2-0-895ffe50ab5f@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=1761249128; l=1337; i=setotau@mainlining.org; s=20250815; h=from:subject:message-id; bh=XkCFV7kQMF+UdCqXzcpZ5l0Jrqpw//50JO2YNYemhXs=; b=Oasg1XB+DxnDwtcJulAZtdnz1oq7hbLVOXG8E8XfT954JNjSvPlz+IZdUcd08zn6pp2f7ey2N 0oik3QE8gn5AcFn5wLBm20VWWikR2p+fcnnWCQVUsV0TuWL/e7dMCVZ 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.1