ARM: dts: msm: Add cma heap region for diwali

Add cma heap region for diwali audio ml usecases.

Change-Id: I0b35b7fa2d758402d11a0f3c00ad58e5d4953ec9
This commit is contained in:
Aditya Bavanari
2021-12-01 11:37:08 +05:30
parent 3c77e2202f
commit 76425e4b00
2 changed files with 14 additions and 0 deletions

View File

@@ -28,5 +28,11 @@
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
memory-region = <&qseecom_ta_mem>;
};
qcom,audio_ml {
qcom,dma-heap-name = "qcom,audio-ml";
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
memory-region = <&audio_cma_mem>;
};
};
};

View File

@@ -399,6 +399,14 @@
size = <0x0 0x400000>;
};
audio_cma_mem: audio_cma_region {
compatible = "shared-dma-pool";
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
reusable;
alignment = <0x0 0x400000>;
size = <0x0 0x1C00000>;
};
adsp_mem_heap: adsp_heap_region {
compatible = "shared-dma-pool";
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;