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

Commit cc48ec3b authored by Shiraz Hashim's avatar Shiraz Hashim Committed by Vikram Mulukutla
Browse files

ARM: dts: msm: Add linux,contiguous-region for 8916 PIL regions



PIL is now being migrated from Ion to using CMA regions. Add the phandle
reference to the CMA regions for later use. This has no effect until
dma_alloc is called.

Also remove venus area from memory layout thus reducing the
peripheral_region by 5MB and create a separate CMA region to serve video
needs.

Change-Id: Icb1cb42bf41508a37892223a61da18598f7c8558
Signed-off-by: default avatarShiraz Hashim <shashim@codeaurora.org>
parent 9e65e773
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -101,10 +101,16 @@
			linux,reserve-contiguous-region;
			linux,reserve-region;
			linux,remove-completely;
			reg = <0x0 0x8eb00000 0x0 0x0b00000>;
			reg = <0x0 0x8eb00000 0x0 0x0600000>;
			label = "peripheral_mem";
		};

		venus_mem: venus_region@0 {
			linux,reserve-contiguous-region;
			reg = <0 0x8f100000 0 0x0500000>;
			label = "venus_mem";
		};

		secure_mem: secure_region@0 {
                        linux,reserve-contiguous-region;
			reg = <0 0 0 0x6D00000>;
@@ -1480,6 +1486,7 @@
		qcom,pas-id = <9>;
		qcom,proxy-timeout-ms = <5000>;
		qcom,firmware-name = "venus";
		linux,contiguous-region = <&venus_mem>;
	};

	qcom,msm-thermal {
@@ -1560,6 +1567,7 @@

		/* GPIO output to mss */
		qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>;
		linux,contiguous-region = <&modem_adsp_mem>;
	};

	qcom,vidc@1d00000 {
@@ -1655,6 +1663,7 @@

		/* GPIO output to wcnss */
		qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>;
		linux,contiguous-region = <&peripheral_mem>;
	};

	cpu-pmu {