Re: [PATCH v4 3/7] drm/msm/mdp4: register the LVDS PLL as a clock provider

From: Abhinav Kumar
Date: Fri Apr 25 2025 - 15:55:22 EST




On 4/25/2025 2:51 AM, Dmitry Baryshkov wrote:
From: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>

The LVDS/LCDC controller uses pixel clock coming from the multimedia
controller (mmcc) rather than using the PLL directly. Stop using LVDS
PLL directly and register it as a clock provider. Use lcdc_clk as a
pixel clock for the LCDC.

Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>
---
drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.h | 2 +-
drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c | 3 +-
drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_pll.c | 45 ++++++++++++++++-------
3 files changed, 34 insertions(+), 16 deletions(-)



Reviewed-by: Abhinav Kumar <quic_abhinavk@xxxxxxxxxxx>