Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3dc73b07 authored by Patrick Daly's avatar Patrick Daly
Browse files

ARM: dts: msm: Add ion system heap for mdmcalifornium



Enable the ion system and audio heaps in the mdmcalifornium
device tree.

Change-Id: I760a1603154eb2e66de939f877cca74750e34b23
Signed-off-by: default avatarPatrick Daly <pdaly@codeaurora.org>
parent 4e6ae250
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
/* Copyright (c) 2014-2015, 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
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

&soc {
	qcom,ion {
		compatible = "qcom,msm-ion";
		#address-cells = <1>;
		#size-cells = <0>;

		qcom,ion-heap@25 {
			reg = <25>;
			qcom,ion-heap-type = "SYSTEM";
		};

		qcom,ion-heap@28 { /* AUDIO HEAP */
			reg = <28>;
			memory-region = <&audio_mem>;
			qcom,ion-heap-type = "DMA";
		};
	};
};
+7 −0
Original line number Diff line number Diff line
@@ -39,6 +39,12 @@
			reg = <0x88000000 0x6E00000>;
			label = "mss_mem";
		};

		audio_mem: audio_region@0 {
			compatible = "shared-dma-pool";
			reusable;
			size = <0 0x400000>;
		 };
	};

	aliases {
@@ -70,6 +76,7 @@
#include "mdmcalifornium-blsp.dtsi"
#include "mdmcalifornium-bus.dtsi"
#include "mdmcalifornium-coresight.dtsi"
#include "mdmcalifornium-ion.dtsi"

&soc {
	#address-cells = <1>;