mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
ARM: dts: msm: Add support of cma heap
Add support of cma heap for shima. Change-Id: Iaff7c9fb651d1a99511696f6ce3d9f11e6516c7a
This commit is contained in:
parent
03417227c2
commit
ce7280c09f
3 changed files with 21 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue