diff options
Diffstat (limited to 'qcom/msm-arm-smmu-kona.dtsi')
-rwxr-xr-x | qcom/msm-arm-smmu-kona.dtsi | 39 |
1 files changed, 22 insertions, 17 deletions
diff --git a/qcom/msm-arm-smmu-kona.dtsi b/qcom/msm-arm-smmu-kona.dtsi index 513a697e..d120810c 100755 --- a/qcom/msm-arm-smmu-kona.dtsi +++ b/qcom/msm-arm-smmu-kona.dtsi @@ -2,7 +2,7 @@ &soc { kgsl_smmu: kgsl-smmu@3da0000 { - compatible = "qcom,qsmmu-v500"; + compatible = "qcom,qsmmu-v500", "qcom,adreno-smmu"; reg = <0x3DA0000 0x10000>, <0x3DC2000 0x20>; reg-names = "base", "tcu-base"; @@ -13,7 +13,6 @@ #size-cells = <1>; #address-cells = <1>; ranges; - dma-coherent; qcom,regulator-names = "vdd"; vdd-supply = <&gpu_cx_gdsc>; @@ -73,7 +72,6 @@ #size-cells = <1>; #address-cells = <1>; ranges; - dma-coherent; interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, @@ -333,31 +331,38 @@ iommu_test_device { compatible = "qcom,iommu-debug-test"; - kgsl_iommu_test_device { + usecase0_apps { compatible = "qcom,iommu-debug-usecase"; - iommus = <&kgsl_smmu 0x7 0>; - qcom,iommu-dma = "disabled"; + iommus = <&apps_smmu 0x23 0x0>; }; - kgsl_iommu_coherent_test_device { - status = "disabled"; + usecase1_apps_fastmap { compatible = "qcom,iommu-debug-usecase"; - iommus = <&kgsl_smmu 0x9 0>; - qcom,iommu-dma = "disabled"; - dma-coherent; + iommus = <&apps_smmu 0x23 0x0>; + qcom,iommu-dma = "fastmap"; }; - apps_iommu_test_device { + usecase2_apps_atomic { compatible = "qcom,iommu-debug-usecase"; - iommus = <&apps_smmu 0x21 0>; - qcom,iommu-dma = "disabled"; + iommus = <&apps_smmu 0x23 0x0>; + qcom,iommu-dma = "atomic"; }; - apps_iommu_coherent_test_device { + usecase3_apps_dma { compatible = "qcom,iommu-debug-usecase"; - iommus = <&apps_smmu 0x23 0>; - qcom,iommu-dma = "disabled"; + iommus = <&apps_smmu 0x23 0x0>; dma-coherent; }; + + usecase4_apps_secure { + compatible = "qcom,iommu-debug-usecase"; + iommus = <&apps_smmu 0x23 0x0>; + qcom,iommu-vmid = <0xa>; /* VMID_CP_PIXEL */ + }; + + usecase5_kgsl { + compatible = "qcom,iommu-debug-usecase"; + iommus = <&kgsl_smmu 0x7 0x0>; + }; }; }; |