mirror of
https://github.com/Evolution-X-Devices/kernel_oneplus_sm8550-devicetrees
synced 2026-02-01 09:49:52 +00:00
ARM: dts: msm: Add the IOMMU debug usecase devices for Kalama
Add the different IOMMU usecase test devices for Kalama to exercise different portions of the IOMMU framework. Change-Id: Ic4fbb71c52e7a90f71bb7efbb696d6320ec0d705
This commit is contained in:
@@ -325,4 +325,49 @@
|
||||
compatible = "qcom,iommu-dma";
|
||||
memory-region = <&system_cma>;
|
||||
};
|
||||
|
||||
iommu_test_device {
|
||||
compatible = "qcom,iommu-debug-test";
|
||||
|
||||
usecase0_apps {
|
||||
compatible = "qcom,iommu-debug-usecase";
|
||||
iommus = <&apps_smmu 0x400 0x0>;
|
||||
};
|
||||
|
||||
usecase1_apps_fastmap {
|
||||
compatible = "qcom,iommu-debug-usecase";
|
||||
iommus = <&apps_smmu 0x400 0x0>;
|
||||
qcom,iommu-dma = "fastmap";
|
||||
};
|
||||
|
||||
usecase2_apps_atomic {
|
||||
compatible = "qcom,iommu-debug-usecase";
|
||||
iommus = <&apps_smmu 0x400 0x0>;
|
||||
qcom,iommu-dma = "atomic";
|
||||
};
|
||||
|
||||
usecase3_apps_dma {
|
||||
compatible = "qcom,iommu-debug-usecase";
|
||||
iommus = <&apps_smmu 0x400 0x0>;
|
||||
dma-coherent;
|
||||
};
|
||||
|
||||
usecase4_apps_secure {
|
||||
compatible = "qcom,iommu-debug-usecase";
|
||||
iommus = <&apps_smmu 0x400 0x0>;
|
||||
qcom,iommu-dma = "atomic";
|
||||
qcom,iommu-vmid = <0xa>; /* VMID_CP_PIXEL */
|
||||
};
|
||||
|
||||
usecase5_kgsl {
|
||||
compatible = "qcom,iommu-debug-usecase";
|
||||
iommu = <&kgsl_smmu 0x7 0x0>;
|
||||
};
|
||||
|
||||
usecase6_kgsl_dma {
|
||||
compatible = "qcom,iommu-debug-usecase";
|
||||
iommu = <&kgsl_smmu 0x7 0x0>;
|
||||
dma-coherent;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user