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

Commit 5e3454c3 authored by Jigarkumar Zala's avatar Jigarkumar Zala Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add iommu fault flag and dma range for kona targets



IOMMU driver is handling set attrs based on the flag pass to it.
Add attribute flag for this operation. Also, passing dma range
for the io region, so IOMMU driver can map the io domain to that
range.

Change-Id: I109cfea3d905f6ec2c8bf58545ba6b698f949b81
Signed-off-by: default avatarJigarkumar Zala <jzala@codeaurora.org>
parent 8df61858
Loading
Loading
Loading
Loading
+10 −0
Original line number Original line Diff line number Diff line
@@ -372,6 +372,8 @@
				<&apps_smmu 0xC01 0x400>,
				<&apps_smmu 0xC01 0x400>,
				<&apps_smmu 0xC40 0x400>,
				<&apps_smmu 0xC40 0x400>,
				<&apps_smmu 0xC41 0x400>;
				<&apps_smmu 0xC41 0x400>;
			qcom,iommu-faults = "non-fatal";
			dma-ranges = <0x7400000 0x7400000 0xd8c00000>;
			label = "ife";
			label = "ife";
			ife_iova_mem_map: iova-mem-map {
			ife_iova_mem_map: iova-mem-map {
				/* IO region is approximately 3.4 GB */
				/* IO region is approximately 3.4 GB */
@@ -390,6 +392,8 @@
			iommus = <&apps_smmu 0x2040 0x400>,
			iommus = <&apps_smmu 0x2040 0x400>,
				<&apps_smmu 0x2440 0x400>;
				<&apps_smmu 0x2440 0x400>;
			label = "jpeg";
			label = "jpeg";
			qcom,iommu-faults = "non-fatal";
			dma-ranges = <0x7400000 0x7400000 0xd8c00000>;
			jpeg_iova_mem_map: iova-mem-map {
			jpeg_iova_mem_map: iova-mem-map {
				/* IO region is approximately 3.4 GB */
				/* IO region is approximately 3.4 GB */
				iova-mem-region-io {
				iova-mem-region-io {
@@ -425,6 +429,8 @@
				<&apps_smmu 0x2420 0x400>,
				<&apps_smmu 0x2420 0x400>,
				<&apps_smmu 0x2421 0x400>;
				<&apps_smmu 0x2421 0x400>;
			label = "icp";
			label = "icp";
			qcom,iommu-faults = "non-fatal";
			dma-ranges = <0xda00000 0xda00000 0xace00000>;
			icp_iova_mem_map: iova-mem-map {
			icp_iova_mem_map: iova-mem-map {
				iova-mem-region-firmware {
				iova-mem-region-firmware {
					/* Firmware region is 5MB */
					/* Firmware region is 5MB */
@@ -479,6 +485,8 @@
			iommus = <&apps_smmu 0x20C0 0x400>,
			iommus = <&apps_smmu 0x20C0 0x400>,
				<&apps_smmu 0x24C0 0x400>;
				<&apps_smmu 0x24C0 0x400>;
			label = "cpas-cdm0";
			label = "cpas-cdm0";
			qcom,iommu-faults = "non-fatal";
			dma-ranges = <0x7400000 0x7400000 0xd8c00000>;
			cpas_cdm_iova_mem_map: iova-mem-map {
			cpas_cdm_iova_mem_map: iova-mem-map {
				iova-mem-region-io {
				iova-mem-region-io {
					/* IO region is approximately 3.4 GB */
					/* IO region is approximately 3.4 GB */
@@ -501,6 +509,8 @@
			compatible = "qcom,msm-cam-smmu-cb";
			compatible = "qcom,msm-cam-smmu-cb";
			iommus = <&apps_smmu 0x2080 0x400>,
			iommus = <&apps_smmu 0x2080 0x400>,
				<&apps_smmu 0x2480 0x400>;
				<&apps_smmu 0x2480 0x400>;
			qcom,iommu-faults = "non-fatal";
			dma-ranges = <0x7400000 0x7400000 0xd8c00000>;
			label = "fd";
			label = "fd";
			fd_iova_mem_map: iova-mem-map {
			fd_iova_mem_map: iova-mem-map {
				iova-mem-region-io {
				iova-mem-region-io {