Re: [PATCH 2/2] clk: qcom: gcc-msm8660: register PLL4_VOTE for LPASS
From: Herman van Hazendonk
Date: Tue Jun 02 2026 - 02:52:45 EST
Hi,
The promised clk-pll.c NULL-check fix is on linux-clk now:
https://lore.kernel.org/linux-clk/20260602062927.467249-1-github.com@xxxxxxxxxx/
[PATCH] clk: qcom: clk-pll: reject vote enable on orphan parent
Single hunk in drivers/clk/qcom/clk-pll.c::clk_pll_vote_enable():
resolve clk_hw_get_parent() first, return -ENODEV when it is NULL,
only then call wait_for_pll() with the resolved parent. Same change
benefits gcc-msm8960/apq8064/msm8660 and any future cross-controller
pll4_vote pattern.
Once that lands I will roll v2 of this gcc-msm8660 series with the
yaml maxItems=3 + pll4 clock-name addition (replied earlier in this
thread) as PATCH 1/3, the existing CE2 + PLL4_VOTE driver patches as
PATCH 2/3 and 3/3, and a cover-letter pointer to the clk-pll.c fix
as the parent-orphan precondition.
Thanks,
Herman