From 18aaec7c8cb615c9217b6dee5e1dcad2fcd5bdfe Mon Sep 17 00:00:00 2001 From: Vinay Sudra Date: Fri, 23 Sep 2022 18:47:29 +0530 Subject: [PATCH] ARM: dts: msm: Enable fastrpc ADSP support for sdmshrike Enable ADSP SSR notification for fastrpc. Added fastrpc context banks for ADSP subsytem. Change-Id: I18be588bd392163f0189095e2cc568304f5628b9 --- qcom/sdmshrike.dtsi | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/qcom/sdmshrike.dtsi b/qcom/sdmshrike.dtsi index 9ca236e9..4bd01c18 100644 --- a/qcom/sdmshrike.dtsi +++ b/qcom/sdmshrike.dtsi @@ -1492,6 +1492,9 @@ qcom,intents = <0x64 64>; }; + qcom,adsp_glink_ssr { + qcom,glink-channels = "glink_ssr"; + }; }; }; @@ -1762,6 +1765,45 @@ "l3-scu-faultirq"; }; + qcom,msm-adsprpc-mem { + compatible = "qcom,msm-adsprpc-mem-region"; + memory-region = <&adsp_mem>; + }; + + msm_fastrpc: qcom,msm_fastrpc { + compatible = "qcom,msm-fastrpc-compute"; + qcom,fastrpc-adsp-audio-pdr; + qcom,rpc-latency-us = <235>; + qcom,adsp-remoteheap-vmid = <3 5 6>; + + + qcom,msm_fastrpc_compute_cb10 { + compatible = "qcom,msm-fastrpc-compute-cb"; + label = "adsprpc-smd"; + iommus = <&apps_smmu 0x1b23 0x0>; + qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>; + qcom,iommu-faults = "stall-disable"; + dma-coherent; + }; + + qcom,msm_fastrpc_compute_cb11 { + compatible = "qcom,msm-fastrpc-compute-cb"; + label = "adsprpc-smd"; + iommus = <&apps_smmu 0x1b24 0x0>; + qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>; + qcom,iommu-faults = "stall-disable"; + dma-coherent; + }; + + qcom,msm_fastrpc_compute_cb12 { + compatible = "qcom,msm-fastrpc-compute-cb"; + label = "adsprpc-smd"; + iommus = <&apps_smmu 0x1b25 0x0>; + qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>; + qcom,iommu-faults = "stall-disable"; + dma-coherent; + }; + }; }; &firmware {