Re: [PATCH] drm/msm/dsi/phy: power up the digital top before starting the 7nm PLL

From: Venkat Yadlapati

Date: Sun Nov 22 2026 - 14:29:18 EST


On Thu, Sep 24, 2026 at 03:51:03AM +0300, Dmitry Baryshkov wrote:
> dsi_pll_7nm_vco_prepare() de-asserts PLL_SHUTDOWNB and starts the PLL,
> but leaves the PHY digital top powered down; only dsi_7nm_phy_enable()
> sets DIGTOP_PWRDN_B. The PLL cannot lock in that state.

The same lock failure shows up on Molokai (SM8845, derived from
Kaanapali) in the Motorola Signature, whose panel is on DSI1, but there
it is reached through a different path than of_clk_set_defaults():
msm_mdss resets MDSS at probe, which leaves the DSI1 PHY powered down,
while the dispcc byte1/pclk1 source muxes (not reset) still select the
DSI1 PLL. They are orphans until the PHY registers its clocks;
clk_core_reparent_orphans() then reparents them, and since the
Kaanapali dispcc driver, which Molokai uses, marks them
CLK_OPS_PARENT_ENABLE, __clk_set_parent_before() prepares and enables
the unpowered PLL:

DSI PLL(1) lock failed, status=0x00000000
PLL(1) lock failed
dsi1_phy_pll_out_dsiclk already disabled
WARNING: drivers/clk/clk.c:1259 at clk_core_disable+0xb8/0x220
dsi1_phy_pll_out_dsiclk already unprepared
WARNING: drivers/clk/clk.c:1119 at clk_core_unprepare+0xe4/0x254
...
dsi_phy_driver_probe+0x334/0x364

On next-20261113 without clk_ignore_unused that is 12 lock failures and
12 WARNs per boot. With this patch applied there are none, on three
boots. The panel (DSC command mode) comes up as before, and the
brightness, a blank/unblank cycle and Phosh all keep working.

Tested-by: Venkat Yadlapati <venkat.yadlapati@xxxxxxxxx> # Motorola Signature (Molokai, SM8845)

I have no HDMI output to check the SM8350 HDK regression you mentioned.