ARM: dts: msm: add CMA heap allocation

Add CMA heap allocation for yupik target.

Change-Id: I627c5d0036cebe752e884399fcc0252c6ac7dd87
This commit is contained in:
Harshal Ahire 2021-01-22 16:17:22 +05:30 • committed by Gerrit - the friendly Code Review server
commit 6f09b011db
2 changed files with 14 additions and 0 deletions

View file

@ -48,6 +48,12 @@
memory-region = <&qseecom_mem>;
qcom,ion-heap-type = "DMA";
};
qcom,ion-heap@5 { /* AUDIO ML HEAP */
reg = <ION_AUDIO_ML_HEAP_ID>;
memory-region = <&audio_cma_mem>;
qcom,ion-heap-type = "DMA";
};
};
};

View file

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