mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
drm/rockchip: dsi: fix phy pll programming order
The order of the write registers is as follows: 0x17->0x18(lsb)->0x19->0x18(msb)->0x19 Change-Id: I3164a46ed49be611db5bd62d2ae7810613bdbfe0 Signed-off-by: Jerry Xu <xbl@rock-chips.com>
This commit is contained in:
@@ -527,6 +527,7 @@ static int dw_mipi_dsi_phy_init(struct dw_mipi_dsi *dsi)
|
||||
dw_mipi_dsi_phy_write(dsi, 0x17, INPUT_DIVIDER(dsi->dphy.input_div));
|
||||
val = LOOP_DIV_LOW_SEL(dsi->dphy.feedback_div) | LOW_PROGRAM_EN;
|
||||
dw_mipi_dsi_phy_write(dsi, 0x18, val);
|
||||
dw_mipi_dsi_phy_write(dsi, 0x19, PLL_LOOP_DIV_EN | PLL_INPUT_DIV_EN);
|
||||
val = LOOP_DIV_HIGH_SEL(dsi->dphy.feedback_div) | HIGH_PROGRAM_EN;
|
||||
dw_mipi_dsi_phy_write(dsi, 0x18, val);
|
||||
dw_mipi_dsi_phy_write(dsi, 0x19, PLL_LOOP_DIV_EN | PLL_INPUT_DIV_EN);
|
||||
|
||||
Reference in New Issue
Block a user