From b1b70877844c53938bcc2fc2349d30ca155f767b Mon Sep 17 00:00:00 2001 From: Yimin Peng Date: Tue, 6 Mar 2018 15:16:03 +0800 Subject: [PATCH] ARM: dts: msm: set ION type to SYSTEM for msm8996 telematics Switch ION type from CARVEOUT to SYSTEM for audio function. Change-Id: Ida2ccb7d1dbe1a037f305fe749ca3bc0a8dd51b2 Signed-off-by: Yimin Peng --- arch/arm/boot/dts/qcom/vplatform-lfv-ion.dtsi | 4 ++-- .../dts/qcom/vplatform-lfv-msm8996-telematics.dts | 14 +++++++++----- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/qcom/vplatform-lfv-ion.dtsi b/arch/arm/boot/dts/qcom/vplatform-lfv-ion.dtsi index 8f7773a87816..542b5a814e78 100644 --- a/arch/arm/boot/dts/qcom/vplatform-lfv-ion.dtsi +++ b/arch/arm/boot/dts/qcom/vplatform-lfv-ion.dtsi @@ -1,4 +1,4 @@ -/* Copyright (c) 2017, The Linux Foundation. All rights reserved. +/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -11,7 +11,7 @@ */ &soc { - qcom,ion { + ion: qcom,ion { compatible = "qcom,msm-ion"; #address-cells = <1>; #size-cells = <0>; diff --git a/arch/arm/boot/dts/qcom/vplatform-lfv-msm8996-telematics.dts b/arch/arm/boot/dts/qcom/vplatform-lfv-msm8996-telematics.dts index 94cfabf78d82..cd8e49244b24 100644 --- a/arch/arm/boot/dts/qcom/vplatform-lfv-msm8996-telematics.dts +++ b/arch/arm/boot/dts/qcom/vplatform-lfv-msm8996-telematics.dts @@ -28,6 +28,15 @@ 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"; + }; +}; + &reserved_memory { modem_mem: modem_region@88800000 { compatible = "removed-dma-pool"; @@ -48,11 +57,6 @@ alignment = <0 0x100000>; size = <0 0x400000>; }; - - ion_system: ion_system_region@ff000000 { - reg = <0 0xff000000 0 0x00400000>; - label = "ion_system_mem"; - }; }; &soc {