Skip to content

Commit 2c5c3cf

Browse files
fltowilldeacon
authored andcommitted
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 <[email protected]> Reviewed-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 7b6b70d commit 2c5c3cf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/iommu/arm-smmu-impl.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,9 @@ struct arm_smmu_device *arm_smmu_impl_init(struct arm_smmu_device *smmu)
172172
smmu->impl = &calxeda_impl;
173173

174174
if (of_device_is_compatible(np, "qcom,sdm845-smmu-500") ||
175-
of_device_is_compatible(np, "qcom,sc7180-smmu-500"))
175+
of_device_is_compatible(np, "qcom,sc7180-smmu-500") ||
176+
of_device_is_compatible(np, "qcom,sm8150-smmu-500") ||
177+
of_device_is_compatible(np, "qcom,sm8250-smmu-500"))
176178
return qcom_smmu_impl_init(smmu);
177179

178180
return smmu;

0 commit comments

Comments
 (0)