Re: [PATCH] clk: qcom: camcc-sc8280xp: add CLK_IGNORE_UNUSED to camcc_gdsc_clk

From: Konrad Dybcio

Date: Wed Jul 01 2026 - 10:58:40 EST


On 7/1/26 4:16 PM, Brian Masney wrote:
> With the introduction of sync_state support in the clk and pmdomain
> subsystems, the following warning happens when the unused clocks are
> shutdown in camcc-sc8280xp:

[...]

> camcc_sc8280xp_probe() has the following snippet:
>
> /* Keep some clocks always-on */
> qcom_branch_set_clk_en(regmap, 0xc1e4); /* CAMCC_GDSC_CLK */

Let's just unregister it from the clock driver. It's just a branch
that can be online 24/7 (as this snippet makes it), see

b60521eff227 ("clk: qcom: gcc-x1e80100: Unregister GCC_GPU_CFG_AHB_CLK/GCC_DISP_XO_CLK")

Konrad