arm64: dts: qcom: sm8250: Add memory-region for audio PD
PATCH 1/1 arm64: dts: qcom: sm8250: Add memory-region for audio PD
Reserve memory region for audio PD dynamic loading and remote heap requirements. Add the required VMID list for memory ownership transfers.
Signed-off-by Vinayak Katoch <[email protected]>
--- arch/arm64/boot/dts/qcom/sm8250.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+)
arch/arm64/boot/dts/qcom/sm8250.dtsi +12 -0
@@ -10,6 +10,7 @@ #include <dt-bindings/clock/qcom,gpucc-sm8250.h> #include <dt-bindings/clock/qcom,rpmh.h> #include <dt-bindings/dma/qcom-gpi.h> +#include <dt-bindings/firmware/qcom,scm.h> #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/interconnect/qcom,osm-l3.h> #include <dt-bindings/interconnect/qcom,sm8250.h>
@@ -863,6 +864,14 @@ cdsp_secure_heap: memory@8bf00000 { reg = <0x0 0x8bf00000 0x0 0x4600000>; no-map; }; + + adsp_rpc_remote_heap_mem: adsp-rpc-remote-heap { + compatible = "shared-dma-pool"; + alloc-ranges = <0x0 0x80000000 0x0 0x80000000>; + reusable; + alignment = <0x0 0x400000>; + size = <0x0 0x800000>; + }; }; smem {
@@ -6077,6 +6086,9 @@ fastrpc { compatible = "qcom,fastrpc"; qcom,glink-channels = "fastrpcglink-apps-dsp"; label = "adsp"; + memory-region = <&adsp_rpc_remote_heap_mem>; + qcom,vmids = <QCOM_SCM_VMID_LPASS + QCOM_SCM_VMID_ADSP_HEAP>; qcom,non-secure-domain; #address-cells = <1>; #size-cells = <0>;
---
base-commit: 4fa3f5fabb30bf00d7475d5a33459ea83d639bf9
change-id: 20260617-sm8250-audio-380d342c48cb
Best regards,
Signature · 1 line
Vinayak Katoch <[email protected]>
Quoted 5 lines · Vinayak Katoch
Reserve memory region for audio PD dynamic loading and remote heap requirements. Add the required VMID list for memory ownership transfers.
Applied, thanks!
[1/1] arm64: dts: qcom: sm8250: Add memory-region for audio PD
commit: 531ce288b6dd43c1ce90e0b501c209783f0e0ab2
Best regards,
Signature · 1 line
Bjorn Andersson <[email protected]>