ARM: dts: msm: Add support of cma heap

Add support of cma heap for shima.

Change-Id: Iaff7c9fb651d1a99511696f6ce3d9f11e6516c7a
This commit is contained in:
Faiz Nabi Kuchay 2020-09-01 00:31:56 +05:30
commit ce7280c09f
3 changed files with 21 additions and 2 deletions

View file

@ -7,6 +7,10 @@
};
&audio_apr {
msm_audio_ion_cma: qcom,msm-audio-ion-cma {
compatible = "qcom,msm-audio-ion-cma";
};
q6core: qcom,q6core-audio {
compatible = "qcom,q6core-audio";
#address-cells = <1>;
@ -47,8 +51,10 @@
<0x00000000>, <0x00000000>,
<0x00000006>;
clock-names = "lpass_core_hw_vote";
clocks = <&lpass_core_hw_vote 0>;
clock-names = "lpass_core_hw_vote",
"lpass_audio_hw_vote";
clocks = <&lpass_core_hw_vote 0>,
<&lpass_audio_hw_vote 0>;
};
bolero: bolero-cdc {

View file

@ -39,5 +39,10 @@
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

@ -428,6 +428,14 @@
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>;
};
};
chosen {