Merge "ARM: dts: msm: Enable page table coherency for smmu on waipio"

This commit is contained in:
qctecmdr
2021-01-15 22:07:25 -08:00
committed by Gerrit - the friendly Code Review server
4 changed files with 13 additions and 2 deletions

View File

@@ -546,7 +546,7 @@
};
/* global autoconfigured region for contiguous allocations */
linux,cma {
system_cma: linux,cma {
compatible = "shared-dma-pool";
alloc-ranges = <0x0 0x00000000 0x0 0xdfffffff>;
reusable;

View File

@@ -344,6 +344,11 @@
};
};
dma_dev@0x0 {
compatible = "qcom,iommu-dma";
memory-region = <&system_cma>;
};
kgsl_iommu_test_device {
compatible = "iommu-debug-test";
iommus = <&kgsl_smmu 0x7 0>;

View File

@@ -15,6 +15,7 @@
#size-cells = <1>;
#address-cells = <1>;
ranges;
dma-coherent;
interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
@@ -260,4 +261,9 @@
qcom,stream-id-range = <0x2c00 0x400>;
};
};
dma_dev@0x0 {
compatible = "qcom,iommu-dma";
memory-region = <&system_cma>;
};
};

View File

@@ -621,7 +621,7 @@
};
/* global autoconfigured region for contiguous allocations */
linux,cma {
system_cma: linux,cma {
compatible = "shared-dma-pool";
alloc-ranges = <0x0 0x00000000 0x0 0xdfffffff>;
reusable;