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

Commit 44bc152a authored by Kishor PK's avatar Kishor PK
Browse files

ARM: dts: msm: Secure display ion heap support on msm8909



Add required ion heap and secure cma pool to support secure
display usecase.

Change-Id: I21bb6d71d4cd25e9b5239251acf73515d3861bde
Signed-off-by: default avatarKishor PK <kpbhat@codeaurora.org>
parent 830bf7cc
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
/* Copyright (c) 2016, The Linux Foundation. All rights reserved.
/* Copyright (c) 2016,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
@@ -15,6 +15,7 @@
#include "msm8909-cdp.dtsi"
#include "msm8909-pm8909.dtsi"
#include "msm8909-pm8909-cdp.dtsi"
#include "msm8909-mtp_qseev4.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. MSM8909-PM8909 1GB CDP";
+2 −1
Original line number Diff line number Diff line
/* Copyright (c) 2016, The Linux Foundation. All rights reserved.
/* Copyright (c) 2016,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
@@ -15,6 +15,7 @@
#include "msm8909-mtp.dtsi"
#include "msm8909-pm8909.dtsi"
#include "msm8909-pm8909-mtp.dtsi"
#include "msm8909-mtp_qseev4.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. MSM8909-PM8909 1GB MTP";
+2 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2016, The Linux Foundation. All rights reserved.
 * Copyright (c) 2016,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
@@ -16,6 +16,7 @@
#include "msm8909-cdp.dtsi"
#include "msm8909-pm8909.dtsi"
#include "msm8909-pm8909-cdp.dtsi"
#include "msm8909-mtp_qseev4.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. MSM8909-PM8909 1GB RCM";
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2014, 2016-2017, Linux Foundation. All rights reserved.
/* Copyright (c) 2014, 2016-2018, 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>;
+29 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 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
 * 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.
 */

&reserved_mem {
	secure_display_memory: secure_region {
		compatible = "shared-dma-pool";
		label = "secure_display_mem";
		size = <0 0x1400000>;
		reusable;
	};
};

&ion {
	secure_display_heap: qcom,ion-heap@10 { /* SECURE DISPLAY HEAP */
		reg = <10>;
		memory-region = <&secure_display_memory>;
		qcom,ion-heap-type = "SECURE_DMA";
	};
};
Loading