OSDN Git Service

ARM: dts: msm: change ION layout for msm8996 ivi vplatform
authorYimin Peng <yiminp@codeaurora.org>
Fri, 3 Aug 2018 09:28:23 +0000 (17:28 +0800)
committerGerrit - the friendly Code Review server <code-review@localhost>
Tue, 25 Sep 2018 06:41:58 +0000 (23:41 -0700)
Add carveout audio ION heap and change system ION heap from
CARVEOUT to SYSTEM.

Change-Id: I38698441a3479e213533d981aa06cc850b77d723
Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
arch/arm/boot/dts/qcom/vplatform-lfv-msm8996-ivi.dts

index 5f622b4..ae2ec05 100644 (file)
        qcom,msm-id = <246 0x0>;
 };
 
+&ion {
+       /delete-node/ qcom,ion-heap@25;
+
+       system_heap: qcom,ion-heap@25 {
+               reg = <25>;
+               qcom,ion-heap-type = "SYSTEM";
+       };
+
+       audio_heap: qcom,ion-heap@28 {
+               reg = <28>;
+               memory-region = <&ion_audio>;
+               qcom,ion-heap-type = "CARVEOUT";
+       };
+};
+
 &reserved_memory {
                pmem_shared: pmem_shared_region@1154ca000 {
                        reg = <0x1 0x154ca000 0x0 0x154ca000>;
                        label = "pmem_shared_mem";
                };
 
-               ion_system: ion_system_region@12a994000 {
-                       reg = <0x1 0x2a994000 0x0 0x154ca000>;
-                       label = "ion_system_mem";
+               ion_audio: ion_audio_region {
+                       reg = <0 0xf0000000 0 0x00400000>;
+                       label = "ion_audio_mem";
                };
 };