mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
ARM: dts: msm: add CMA heap allocation
Add CMA heap allocation. Change-Id: I6a1995ab21a9a7b9d0352d21c999d143da91c732
This commit is contained in:
parent
88ed68fcf5
commit
e7f937c19e
4 changed files with 28 additions and 0 deletions
|
|
@ -943,6 +943,16 @@ Example:
|
|||
qcom,smmu-enabled;
|
||||
};
|
||||
|
||||
* msm-audio-ion-cma
|
||||
|
||||
Required properties:
|
||||
- compatible : "qcom,msm-audio-ion-cma"
|
||||
|
||||
Example:
|
||||
qcom,msm-audio-ion-cma {
|
||||
compatible = "qcom,msm-audio-ion-cma";
|
||||
};
|
||||
|
||||
* msm-dai-tdm
|
||||
|
||||
[First Level Nodes]
|
||||
|
|
|
|||
|
|
@ -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>;
|
||||
|
|
|
|||
|
|
@ -61,5 +61,11 @@
|
|||
qcom,ion-heap-type = "HYP_CMA";
|
||||
};
|
||||
|
||||
qcom,ion-heap@5 { /* AUDIO ML HEAP */
|
||||
reg = <ION_AUDIO_ML_HEAP_ID>;
|
||||
memory-region = <&audio_cma_mem>;
|
||||
qcom,ion-heap-type = "DMA";
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -499,6 +499,14 @@
|
|||
size = <0x0 0x1000000>;
|
||||
};
|
||||
|
||||
audio_cma_mem: audio_cma_region {
|
||||
compatible = "shared-dma-pool";
|
||||
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
|
||||
reusable;
|
||||
alignment = <0x0 0x400000>;
|
||||
size = <0x0 0x1C00000>;
|
||||
};
|
||||
|
||||
splash_memory:splash_region {
|
||||
reg = <0x0 0xe1000000 0x0 0x02300000>;
|
||||
label = "cont_splash_region";
|
||||
|
|
|
|||
Loading…
Reference in a new issue