drm/msm/dpu: Add support for SM8350
authorRobert Foss <robert.foss@linaro.org>
Fri, 30 Dec 2022 15:35:47 +0000 (16:35 +0100)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 12 Jan 2023 19:45:16 +0000 (21:45 +0200)
Add compatibles string, "qcom,sm8350-dpu", for the display processing unit
used on Qualcomm SM8350 platform.

Signed-off-by: Robert Foss <robert.foss@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/516342/
Link: https://lore.kernel.org/r/20221230153554.105856-5-robert.foss@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c

index 558cc6e..4ac22ac 100644 (file)
                         BIT(MDP_INTF0_7xxx_INTR) | \
                         BIT(MDP_INTF1_7xxx_INTR) | \
                         BIT(MDP_INTF2_7xxx_INTR) | \
-                        BIT(MDP_INTF3_7xxx_INTR) | \
-                        0)
+                        BIT(MDP_INTF3_7xxx_INTR))
 
 #define IRQ_SC8180X_MASK (BIT(MDP_SSPP_TOP0_INTR) | \
                          BIT(MDP_SSPP_TOP0_INTR2) | \
index 0434cad..b733b17 100644 (file)
@@ -1302,6 +1302,7 @@ static const struct of_device_id dpu_dt_match[] = {
        { .compatible = "qcom,sm6115-dpu", },
        { .compatible = "qcom,sm8150-dpu", },
        { .compatible = "qcom,sm8250-dpu", },
+       { .compatible = "qcom,sm8350-dpu", },
        { .compatible = "qcom,sm8450-dpu", },
        {}
 };