iommu/arm-smmu-qcom: Add SM6350 SMMUv2
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Thu, 17 Nov 2022 09:44:22 +0000 (10:44 +0100)
committerWill Deacon <will@kernel.org>
Fri, 18 Nov 2022 14:16:39 +0000 (14:16 +0000)
SM6350 uses a qcom,smmu-v2-style SMMU just for Adreno and friends.
Add a compatible for it.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20221117094422.11000-3-konrad.dybcio@linaro.org
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c

index c94daf8..91d404d 100644 (file)
@@ -509,6 +509,7 @@ static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = {
        { .compatible = "qcom,sdm845-smmu-500", .data = &sdm845_smmu_500_data },
        { .compatible = "qcom,sm6115-smmu-500", .data = &qcom_smmu_500_impl0_data},
        { .compatible = "qcom,sm6125-smmu-500", .data = &qcom_smmu_500_impl0_data },
+       { .compatible = "qcom,sm6350-smmu-v2", .data = &qcom_smmu_v2_data },
        { .compatible = "qcom,sm6350-smmu-500", .data = &qcom_smmu_500_impl0_data },
        { .compatible = "qcom,sm6375-smmu-500", .data = &qcom_smmu_500_impl0_data },
        { .compatible = "qcom,sm8150-smmu-500", .data = &qcom_smmu_500_impl0_data },