Re: [PATCH 4/5] drm/msm/dsi: Add DSI PHY configuration on SC8280XP

From: Dmitry Baryshkov

Date: Wed Feb 25 2026 - 22:17:18 EST


On Wed, Feb 25, 2026 at 01:45:24PM +0800, Pengyu Luo wrote:
> According to the REG_DSI_7nm_PHY_CMN_GLBL_RESCODE_OFFSET_TOP_CTRL
> value(0x3c) on Windows OS, we can confirm that the SC8280XP uses the
> 5nm (v4.2) DSI PHY.
>
> Since SC8280XP and SA8775P have the same DSI version (v2.5.1), using
> SA8775P configuration.

Then we should not need separate config here. Use sa8775p as a fallback
compatible.

>
> Signed-off-by: Pengyu Luo <mitltlatltl@xxxxxxxxx>
> ---
> drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/msm/dsi/phy/dsi_phy.c b/drivers/gpu/drm/msm/dsi/phy/dsi_phy.c
> index 7937266de..4a37c50d9 100644
> --- a/drivers/gpu/drm/msm/dsi/phy/dsi_phy.c
> +++ b/drivers/gpu/drm/msm/dsi/phy/dsi_phy.c
> @@ -565,6 +565,8 @@ static const struct of_device_id dsi_phy_dt_match[] = {
> .data = &dsi_phy_5nm_sar2130p_cfgs },
> { .compatible = "qcom,sc7280-dsi-phy-7nm",
> .data = &dsi_phy_7nm_7280_cfgs },
> + { .compatible = "qcom,sc8280xp-dsi-phy-5nm",
> + .data = &dsi_phy_5nm_8775p_cfgs },
> { .compatible = "qcom,sm6375-dsi-phy-7nm",
> .data = &dsi_phy_7nm_6375_cfgs },
> { .compatible = "qcom,sm8350-dsi-phy-5nm",
> --
> 2.53.0
>

--
With best wishes
Dmitry