2023-09-13 22:12:04

by Danila Tikhonov

[permalink] [raw]
Subject: [PATCH 2/2] iommu/arm-smmu-qcom: Add SM7150 SMMUv2

SM7150 uses a qcom,smmu-v2-style SMMU just for Adreno and friends.
Add a compatible for it.

Signed-off-by: Danila Tikhonov <[email protected]>
---
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
index 7f52ac67495f..47e28945a8a0 100644
--- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
+++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
@@ -532,6 +532,7 @@ static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = {
{ .compatible = "qcom,sm6350-smmu-500", .data = &qcom_smmu_500_impl0_data },
{ .compatible = "qcom,sm6375-smmu-v2", .data = &qcom_smmu_v2_data },
{ .compatible = "qcom,sm6375-smmu-500", .data = &qcom_smmu_500_impl0_data },
+ { .compatible = "qcom,sm7150-smmu-v2", .data = &qcom_smmu_v2_data },
{ .compatible = "qcom,sm8150-smmu-500", .data = &qcom_smmu_500_impl0_data },
{ .compatible = "qcom,sm8250-smmu-500", .data = &qcom_smmu_500_impl0_data },
{ .compatible = "qcom,sm8350-smmu-500", .data = &qcom_smmu_500_impl0_data },
--
2.41.0


2023-09-27 14:48:22

by Konrad Dybcio

[permalink] [raw]
Subject: Re: [PATCH 2/2] iommu/arm-smmu-qcom: Add SM7150 SMMUv2

On 13.09.2023 20:45, Danila Tikhonov wrote:
> SM7150 uses a qcom,smmu-v2-style SMMU just for Adreno and friends.
> Add a compatible for it.
>
> Signed-off-by: Danila Tikhonov <[email protected]>
> ---
Reviewed-by: Konrad Dybcio <[email protected]>

Konrad