diff options
author | Jonathan Marek <jonathan@marek.ca> | 2020-06-09 21:40:20 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-07-09 10:55:25 +0200 |
commit | 2c5c3cfb2da577bb23c3d9d771cc08300dec3559 (patch) | |
tree | 0f60a771e36b11230f91818dcaa3a3c7bc519554 /drivers/iommu | |
parent | dt-bindings: arm-smmu: Add sm8150 and sm8250 compatible strings (diff) | |
download | linux-2c5c3cfb2da577bb23c3d9d771cc08300dec3559.tar.xz linux-2c5c3cfb2da577bb23c3d9d771cc08300dec3559.zip |
iommu: arm-smmu-impl: Use qcom impl for sm8150 and sm8250 compatibles
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>
Diffstat (limited to 'drivers/iommu')
-rw-r--r-- | drivers/iommu/arm-smmu-impl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/iommu/arm-smmu-impl.c b/drivers/iommu/arm-smmu-impl.c index 1fb4bb994dbf..22a9acd76955 100644 --- a/drivers/iommu/arm-smmu-impl.c +++ b/drivers/iommu/arm-smmu-impl.c @@ -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; |