]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
iommu: arm-smmu-impl: Use qcom impl for sm8150 and sm8250 compatibles
authorJonathan Marek <jonathan@marek.ca>
Tue, 9 Jun 2020 19:40:20 +0000 (15:40 -0400)
committerWill Deacon <will@kernel.org>
Thu, 9 Jul 2020 08:55:25 +0000 (09:55 +0100)
Use the qcom implementation for IOMMU hardware on sm8150 and sm8250 SoCs.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20200609194030.17756-3-jonathan@marek.ca
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm-smmu-impl.c

index 1fb4bb994dbf6af8df4a194aff9af8f99bd8998e..22a9acd76955ffd391e832fe1de111a477be4655 100644 (file)
@@ -172,7 +172,9 @@ struct arm_smmu_device *arm_smmu_impl_init(struct arm_smmu_device *smmu)
                smmu->impl = &calxeda_impl;
 
        if (of_device_is_compatible(np, "qcom,sdm845-smmu-500") ||
-           of_device_is_compatible(np, "qcom,sc7180-smmu-500"))
+           of_device_is_compatible(np, "qcom,sc7180-smmu-500") ||
+           of_device_is_compatible(np, "qcom,sm8150-smmu-500") ||
+           of_device_is_compatible(np, "qcom,sm8250-smmu-500"))
                return qcom_smmu_impl_init(smmu);
 
        return smmu;