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

This commit is contained in:
qctecmdr 2020-11-18 22:31:06 -08:00 • committed by Gerrit - the friendly Code Review server
commit 54fde202fc

View file

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