[v2] iommu/arm-smmu-qcom: Add SM8150 DPU compatible

Message ID 20221212121054.193059-1-konrad.dybcio@linaro.org
State New
Headers
Series [v2] iommu/arm-smmu-qcom: Add SM8150 DPU compatible |

Commit Message

Konrad Dybcio Dec. 12, 2022, 12:10 p.m. UTC
  From: Marijn Suijten <marijn.suijten@somainline.org>

Add the SM8150 DPU compatible to clients compatible list, as it also
needs the workarounds.

Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
Changes since v1:
- rebase on clean -next

 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Dmitry Baryshkov Dec. 12, 2022, 1:43 p.m. UTC | #1
On 12 December 2022 15:10:53 GMT+03:00, Konrad Dybcio <konrad.dybcio@linaro.org> wrote:
>From: Marijn Suijten <marijn.suijten@somainline.org>
>
>Add the SM8150 DPU compatible to clients compatible list, as it also
>needs the workarounds.
>
>Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
>Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Reviewed-by: Dmitry Baryshkov<dmitry.baryshkov@linaro.org>

>---
>Changes since v1:
>- rebase on clean -next
>
> 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 91d404deb115..ed884c85e262 100644
>--- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
>+++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
>@@ -250,6 +250,7 @@ static const struct of_device_id qcom_smmu_client_of_match[] __maybe_unused = {
> 	{ .compatible = "qcom,sc7280-mdss" },
> 	{ .compatible = "qcom,sc7280-mss-pil" },
> 	{ .compatible = "qcom,sc8180x-mdss" },
>+	{ .compatible = "qcom,sm8150-mdss" },
> 	{ .compatible = "qcom,sm8250-mdss" },
> 	{ .compatible = "qcom,sdm845-mdss" },
> 	{ .compatible = "qcom,sdm845-mss-pil" },
  
Marijn Suijten Dec. 12, 2022, 2:01 p.m. UTC | #2
On 2022-12-12 13:10:53, Konrad Dybcio wrote:
> From: Marijn Suijten <marijn.suijten@somainline.org>
> 
> Add the SM8150 DPU compatible to clients compatible list, as it also
> needs the workarounds.
> 
> Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> ---
> Changes since v1:
> - rebase on clean -next
> 
>  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 91d404deb115..ed884c85e262 100644
> --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
> +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
> @@ -250,6 +250,7 @@ static const struct of_device_id qcom_smmu_client_of_match[] __maybe_unused = {
>  	{ .compatible = "qcom,sc7280-mdss" },
>  	{ .compatible = "qcom,sc7280-mss-pil" },
>  	{ .compatible = "qcom,sc8180x-mdss" },
> +	{ .compatible = "qcom,sm8150-mdss" },
>  	{ .compatible = "qcom,sm8250-mdss" },
>  	{ .compatible = "qcom,sdm845-mdss" },
>  	{ .compatible = "qcom,sdm845-mss-pil" },

Yikes, this is neither chronological /nor/ alphabetical; that's on the
one adding sm8250 though.  Perhaps because of where sc8180x and friends
are?

> -- 
> 2.38.1
>
  
Will Deacon Jan. 19, 2023, 7:08 p.m. UTC | #3
On Mon, 12 Dec 2022 13:10:53 +0100, Konrad Dybcio wrote:
> From: Marijn Suijten <marijn.suijten@somainline.org>
> 
> Add the SM8150 DPU compatible to clients compatible list, as it also
> needs the workarounds.
> 
> 

Applied to will (for-joerg/arm-smmu/updates), thanks!

[1/1] iommu/arm-smmu-qcom: Add SM8150 DPU compatible
      https://git.kernel.org/will/c/4fef70ad65f6

Cheers,
  

Patch

diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
index 91d404deb115..ed884c85e262 100644
--- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
+++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
@@ -250,6 +250,7 @@  static const struct of_device_id qcom_smmu_client_of_match[] __maybe_unused = {
 	{ .compatible = "qcom,sc7280-mdss" },
 	{ .compatible = "qcom,sc7280-mss-pil" },
 	{ .compatible = "qcom,sc8180x-mdss" },
+	{ .compatible = "qcom,sm8150-mdss" },
 	{ .compatible = "qcom,sm8250-mdss" },
 	{ .compatible = "qcom,sdm845-mdss" },
 	{ .compatible = "qcom,sdm845-mss-pil" },