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

Commit e1682de8 authored by Chandan Kumar Jha's avatar Chandan Kumar Jha
Browse files

ARM: dts: msm: Add support to discard a region in dma space

Add support to discard a specified address space region inside
the full dma map region for shima target.

CRs-Fixed: 2732941
Change-Id: I7ec78c2842b16396cfe1632e7b09d7cdd84bd8bb
parent fb56679b
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -461,7 +461,8 @@
				<&apps_smmu 0x2820 0x400>,
				<&apps_smmu 0x2C20 0x400>;
			label = "icp";
			qcom,iommu-dma-addr-pool = <0x10c00000 0xcf300000>;
			qcom,iommu-dma-addr-pool = <0x10c00000 0xee300000>;
			iova-region-discard = <0xdff00000 0x300000>;
			icp_iova_mem_map: iova-mem-map {
				iova-mem-region-firmware {
					/* Firmware region is 5MB */
@@ -491,10 +492,11 @@
				};

				iova-mem-region-io {
					/* IO region is approximately 3.3 GB */
					/* IO region is approximately 3.7 GB */
					iova-region-name = "io";
					iova-region-start = <0x10c00000>;
					iova-region-len = <0xcf300000>;
					iova-region-len = <0xee300000>;
					iova-region-discard = <0xdff00000 0x300000>;
					iova-region-id = <0x3>;
					status = "ok";
				};