]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: sc8280xp: Add ADSP FastRPC node
authorPengyu Luo <mitltlatltl@gmail.com>
Fri, 3 Apr 2026 12:07:52 +0000 (20:07 +0800)
committerBjorn Andersson <andersson@kernel.org>
Mon, 27 Apr 2026 19:49:24 +0000 (14:49 -0500)
Add the FastRPC node to enable offloading compute tasks to the ADSP
via the FastRPC framework.

Signed-off-by: Pengyu Luo <mitltlatltl@gmail.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260403120753.105869-1-mitltlatltl@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sc8280xp.dtsi

index 761f229e8f472c61515f2d04f02ef8685581f49f..ee02acd188561dc31484c9ceca8cad455e2388e7 100644 (file)
                                label = "lpass";
                                qcom,remote-pid = <2>;
 
+                               fastrpc {
+                                       compatible = "qcom,fastrpc";
+                                       qcom,glink-channels = "fastrpcglink-apps-dsp";
+                                       label = "adsp";
+                                       qcom,non-secure-domain;
+                                       #address-cells = <1>;
+                                       #size-cells = <0>;
+
+                                       compute-cb@3 {
+                                               compatible = "qcom,fastrpc-compute-cb";
+                                               reg = <3>;
+                                               iommus = <&apps_smmu 0x0c03 0x0>;
+                                       };
+
+                                       compute-cb@4 {
+                                               compatible = "qcom,fastrpc-compute-cb";
+                                               reg = <4>;
+                                               iommus = <&apps_smmu 0x0c04 0x0>;
+                                       };
+
+                                       compute-cb@5 {
+                                               compatible = "qcom,fastrpc-compute-cb";
+                                               reg = <5>;
+                                               iommus = <&apps_smmu 0x0c05 0x0>;
+                                       };
+                               };
+
                                gpr {
                                        compatible = "qcom,gpr";
                                        qcom,glink-channels = "adsp_apps";