Commit 2c5c3cfb authored by Jonathan Marek's avatar Jonathan Marek Committed by Will Deacon
Browse files

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: default avatarJonathan Marek <jonathan@marek.ca>
Reviewed-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20200609194030.17756-3-jonathan@marek.ca


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 7b6b70d8
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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;