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
This commit is contained in:
Chandan Kumar Jha 2020-08-17 14:08:38 +05:30
commit e1682de873

View file

@ -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"
};