mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
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:
@@ -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;
|
||||
|
||||
@@ -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>;
|
||||
|
||||
@@ -260,4 +260,9 @@
|
||||
qcom,stream-id-range = <0x2c00 0x400>;
|
||||
};
|
||||
};
|
||||
|
||||
dma_dev@0x0 {
|
||||
compatible = "qcom,iommu-dma";
|
||||
memory-region = <&system_cma>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user