Skip to content

Commit a47ee18

Browse files
krzkgregkh
authored andcommitted
drm/msm/dsi/phy: Program clock inverters in correct register
[ Upstream commit baf4907 ] Since SM8250 all downstream sources program clock inverters in PLL_CLOCK_INVERTERS_1 register and leave the PLL_CLOCK_INVERTERS as reset value (0x0). The most recent Hardware Programming Guide for 3 nm, 4 nm, 5 nm and 7 nm PHYs also mention PLL_CLOCK_INVERTERS_1. Signed-off-by: Krzysztof Kozlowski <[email protected]> Fixes: 1ef7c99 ("drm/msm/dsi: add support for 7nm DSI PHY/PLL") Reviewed-by: Dmitry Baryshkov <[email protected]> Reported-by: Abhinav Kumar <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/634489/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 47a0250 commit a47ee18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/msm/dsi/phy/dsi_phy_7nm.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ static void dsi_pll_commit(struct dsi_pll_7nm *pll, struct dsi_pll_config *confi
305305
writel(pll->phy->cphy_mode ? 0x00 : 0x10,
306306
base + REG_DSI_7nm_PHY_PLL_CMODE_1);
307307
writel(config->pll_clock_inverters,
308-
base + REG_DSI_7nm_PHY_PLL_CLOCK_INVERTERS);
308+
base + REG_DSI_7nm_PHY_PLL_CLOCK_INVERTERS_1);
309309
}
310310

311311
static int dsi_pll_7nm_vco_set_rate(struct clk_hw *hw, unsigned long rate,

0 commit comments

Comments
 (0)