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

Commit 3cc57456 authored by Andhavarapu Karthik's avatar Andhavarapu Karthik
Browse files

ARM: dts: qcom: enable display on trusted vm for yupik

Enable display on trusted vm for yupik target by including
display dt files. Add entry to use non secure display heap
memory for TUI usecase for yupik target.

Change-Id: Iaf821ddf8017f1341e23bca3a8450f0797990b7a
parent dd2cfd3c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -54,6 +54,12 @@
			memory-region = <&audio_cma_mem>;
			qcom,ion-heap-type = "DMA";
		};

		qcom,ion-heap@3 { /* NON SECURE DISPLAY HEAP */
			reg = <ION_DISPLAY_HEAP_ID>;
			memory-region = <&non_secure_display_memory>;
			qcom,ion-heap-type = "DMA";
		};
	};
};
+5 −0
Original line number Diff line number Diff line
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,dispcc-yupik.h>
#include <dt-bindings/clock/qcom,gcc-yupik.h>
#include <dt-bindings/clock/qcom,rpmh.h>

/ {
	#address-cells = <0x2>;
@@ -297,3 +300,5 @@
	};
};
#include "lahaina-vm-ion.dtsi"
#include "display/trustedvm-yupik-sde.dtsi"
#include "display/trustedvm-yupik-sde-display.dtsi"
+13 −0
Original line number Diff line number Diff line
@@ -432,6 +432,19 @@
		size = <0x0 0x1400000>;
	};

	non_secure_display_memory: non_secure_display_region {
		compatible = "shared-dma-pool";
		alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
		reusable;
		alignment = <0x0 0x400000>;
		size = <0x0 0x6400000>;
	};

	splash_memory:splash_region {
		reg = <0x0 0xe1000000 0x0 0x02400000>;
		label = "cont_splash_region";
	};

	qseecom_ta_mem: qseecom_ta_region {
		compatible = "shared-dma-pool";
		alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;