From 1a52a7f7d0a34b952dc8b6ab2b653427057a5846 Mon Sep 17 00:00:00 2001 From: Liam Mark Date: Tue, 7 Mar 2017 14:48:00 -0800 Subject: [PATCH 1/2] ARM: dts: msm: add MBA carveout for msm8998 Add MBA carveout to make HLOS carveouts in sync with version 7.1 of the memory map. Change-Id: I34d531dc7e01e66305d155d44fb0850a699f6d5b Signed-off-by: Liam Mark --- arch/arm/boot/dts/qcom/msm8998.dtsi | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/qcom/msm8998.dtsi b/arch/arm/boot/dts/qcom/msm8998.dtsi index 0e014a171156..54527e41ea63 100644 --- a/arch/arm/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm/boot/dts/qcom/msm8998.dtsi @@ -286,16 +286,22 @@ reg = <0 0x85800000 0 0x3700000>; }; - pil_ipa_gpu_mem: pil_ipa_gpu_region@95000000 { + pil_ipa_gpu_mem: pil_ipa_gpu_region@95200000 { compatible = "removed-dma-pool"; no-map; - reg = <0 0x95000000 0 0x100000>; + reg = <0 0x95200000 0 0x100000>; }; - pil_slpi_mem: pil_slpi_region@94100000 { + pil_slpi_mem: pil_slpi_region@94300000 { compatible = "removed-dma-pool"; no-map; - reg = <0 0x94100000 0 0xf00000>; + reg = <0 0x94300000 0 0xf00000>; + }; + + pil_mba_mem: pil_mba_region@94100000 { + compatible = "removed-dma-pool"; + no-map; + reg = <0 0x94100000 0 0x200000>; }; pil_video_mem: pil_video_region@93c00000 { From fcb2e0761dec2fc94f400da9a78fb5af1904f3a2 Mon Sep 17 00:00:00 2001 From: Puja Gupta Date: Mon, 13 Feb 2017 13:34:38 -0800 Subject: [PATCH 2/2] ARM: dts: msm: Allow modem MBA to be loaded in carveout for MSM8998 Add sub-device node to allow mba to be able to load in carveout memory region for MSM8998. CRs-Fixed: 2006100 Change-Id: Iff3a83afad159f475d23a579c72d0c7c41c622c8 Signed-off-by: Puja Gupta --- arch/arm/boot/dts/qcom/msm8998.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/qcom/msm8998.dtsi b/arch/arm/boot/dts/qcom/msm8998.dtsi index 54527e41ea63..66ca39ee6ebc 100644 --- a/arch/arm/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm/boot/dts/qcom/msm8998.dtsi @@ -2115,6 +2115,10 @@ /* GPIO output to mss */ qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>; + qcom,mba-mem@0 { + compatible = "qcom,pil-mba-mem"; + memory-region = <&pil_mba_mem>; + }; }; tsens0: tsens@10aa000 {