Re: [PATCH 2/6] clk: qcom: ipq5018: mark XO clock as critical

From: George Moussalem
Date: Fri May 02 2025 - 08:46:26 EST




On 5/2/25 14:29, Konrad Dybcio wrote:
On 5/2/25 12:15 PM, George Moussalem via B4 Relay wrote:
From: George Moussalem <george.moussalem@xxxxxxxxxxx>

The XO clock must not be disabled, so let's add the CLK_IS_CRITICAL
flag to avoid the kernel trying to disable the XO clock (when parenting
it under the CMN PLL reference clock), else the kernel will panic and
the following message will appear in the kernel logs:

Remove the struct definition for this clock (and the assignment in
blah_blah_clks[]) and replace it with:

qcom_branch_set_clk_en(regmap, 0x30030); /* GCC_XO_CLK */

understood, thanks for the quick turnaround!


Konrad

Best regards,
George