projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b6b70d
)
iommu: arm-smmu-impl: Use qcom impl for sm8150 and sm8250 compatibles
author
Jonathan Marek
<jonathan@marek.ca>
Tue, 9 Jun 2020 19:40:20 +0000
(15:40 -0400)
committer
Will 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
patch
|
blob
|
history
diff --git
a/drivers/iommu/arm-smmu-impl.c
b/drivers/iommu/arm-smmu-impl.c
index 1fb4bb994dbf6af8df4a194aff9af8f99bd8998e..22a9acd76955ffd391e832fe1de111a477be4655 100644
(file)
--- 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;