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

Commit 9bacba42 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Add Ion heaps to device tree for krypton"

parents fb64e3c9 9d61b493
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
/* Copyright (c) 2013, 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 */
			compatible = "qcom,msm-ion-reserve";
			reg = <28>;
			linux,contiguous-region = <&audio_mem>;
			qcom,ion-heap-type = "DMA";
		};
	};
};
+10 −0
Original line number Diff line number Diff line
@@ -23,6 +23,15 @@
		sdhc2 = &sdhc_2; /* SDC2 SD card slot */
	};

	memory {
		audio_mem: audio_region {
			linux,contiguous-region;
			linux,reserve-region;
			reg = <0 0xAF000>;
			label = "audio_mem";
		};
	};

	soc: soc { };
};

@@ -31,6 +40,7 @@
#include "msm-gdsc.dtsi"
#include "msmkrypton-pm.dtsi"
#include "msmkrypton-bus.dtsi"
#include "msmkrypton-ion.dtsi"

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