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

Commit dd7649e1 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Add IOMMU Geometry property for storage"

parents 8c0842d4 6f9c6f45
Loading
Loading
Loading
Loading
+35 −0
Original line number Diff line number Diff line
@@ -2615,6 +2615,23 @@
		iommus = <&apps_smmu 0x60 0x0>;
		qcom,iommu-dma = "fastmap";

		/*
		 * iommu-dma-addr-pool- Indicate the range of data addresses which will be
		 * used in dma allocation.
		 *
		 * iommu-geometry -  This is specific for fastmap which Allow clients
		 * to save SMMU page table memory.
		 *
		 * The 2nd parameter indicates size of the smmu page table memory.
		 * If its exceeds beyond this size, last unused entry from page table
		 * memory will be invalidated.
		 *
		 * It's better to provide range of dma address, hence provide
		 * iommu-dma-addr-pool property along with iommu-geometry property.
		 */

		qcom,iommu-dma-addr-pool = <0x40000000 0x40000000>;
		qcom,iommu-geometry = <0x40000000 0x40000000>;
		reset-gpios = <&tlmm 156 GPIO_ACTIVE_LOW>;

		resets = <&gcc GCC_UFS_PHY_BCR>;
@@ -2643,6 +2660,24 @@
		iommus = <&apps_smmu 0x20 0x0>;
		qcom,iommu-dma = "fastmap";

		/*
		 * iommu-dma-addr-pool- Indicate the range of data addresses which will be
		 * used in dma allocation.
		 *
		 * iommu-geometry -  This is specific for fastmap which Allow clients
		 * to save SMMU page table memory.
		 *
		 * The 2nd parameter indicates size of the smmu page table memory.
		 * If its exceeds beyond this size, last unused entry from page table
		 * memory will be invalidated.
		 *
		 * It's better to provide range of dma address, hence provide
		 * iommu-dma-addr-pool property along with iommu-geometry property.
		 */

		qcom,iommu-dma-addr-pool = <0x40000000 0x40000000>;
		qcom,iommu-geometry = <0x40000000 0x40000000>;

		interrupts = <GIC_SPI 348 IRQ_TYPE_LEVEL_HIGH>,
				<GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
		interrupt-names = "hc_irq", "pwr_irq";