Skip to content

Commit ee580bf

Browse files
committed
FROMLIST: arm64: dts: qcom: talos: 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. Link: https://lore.kernel.org/all/20260424-talosaudio-v3-1-9e2ad5d78a2e@oss.qualcomm.com/ Signed-off-by: Jianping Li <jianping.li@oss.qualcomm.com>
1 parent 6964936 commit ee580bf

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/talos.dtsi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <dt-bindings/clock/qcom,qcs615-videocc.h>
1212
#include <dt-bindings/clock/qcom,rpmh.h>
1313
#include <dt-bindings/dma/qcom-gpi.h>
14+
#include <dt-bindings/firmware/qcom,scm.h>
1415
#include <dt-bindings/interconnect/qcom,icc.h>
1516
#include <dt-bindings/interconnect/qcom,osm-l3.h>
1617
#include <dt-bindings/interconnect/qcom,qcs615-rpmh.h>
@@ -693,6 +694,14 @@
693694
reg = <0x0 0x97717000 0x0 0x800000>;
694695
no-map;
695696
};
697+
698+
adsp_rpc_remote_heap_mem: adsp-rpc-remote-heap {
699+
compatible = "shared-dma-pool";
700+
alloc-ranges = <0x0 0x80000000 0x0 0x80000000>;
701+
reusable;
702+
alignment = <0x0 0x400000>;
703+
size = <0x0 0x800000>;
704+
}
696705
};
697706

698707
soc: soc@0 {
@@ -5252,6 +5261,9 @@
52525261
compatible = "qcom,fastrpc";
52535262
qcom,glink-channels = "fastrpcglink-apps-dsp";
52545263
label = "adsp";
5264+
memory-region = <&adsp_rpc_remote_heap_mem>;
5265+
qcom,vmids = <QCOM_SCM_VMID_LPASS
5266+
QCOM_SCM_VMID_ADSP_HEAP>;
52555267
#address-cells = <1>;
52565268
#size-cells = <0>;
52575269

0 commit comments

Comments
 (0)