ARM: dts: msm: Add stub device for qcom dma layer

Add initial support for qcom dma layer.

Change-Id: I576af50b53255a40474b6126412a8c4451497d43
This commit is contained in:
Patrick Daly
2021-01-08 13:08:32 -08:00
parent 7c1ffd43ad
commit 66e37b33ca
4 changed files with 12 additions and 2 deletions

View File

@@ -538,7 +538,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

@@ -260,4 +260,9 @@
qcom,stream-id-range = <0x2c00 0x400>;
};
};
dma_dev@0x0 {
compatible = "qcom,iommu-dma";
memory-region = <&system_cma>;
};
};

View File

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