drm/msm/dsi/phy: rework register setting for 7nm PHY
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 7 Dec 2022 01:22:25 +0000 (03:22 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sun, 8 Jan 2023 23:07:10 +0000 (01:07 +0200)
commit1a1bd3f450000828ba7845c54ea95b43badad50f
treea938e6981d12431828ece645bc91979c663dfbc0
parent44a9f577a087ee38a5291c1e5442613297a51a26
drm/msm/dsi/phy: rework register setting for 7nm PHY

In preparation to adding the sm8350 and sm8450 PHYs support, rearrange
register values calculations in dsi_7nm_phy_enable(). This change bears
no functional changes itself, it is merely a preparation for the next
patch.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/514232/
Link: https://lore.kernel.org/r/20221207012231.112059-6-dmitry.baryshkov@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/dsi/phy/dsi_phy_7nm.c