diff options
| author | 2026-09-17 11:06:53 +0200 | |
|---|---|---|
| committer | 2026-10-13 09:49:40 -0500 | |
| commit | 72f34d429f6e51b0ef8c43ab7667c4fb4099dd46 (patch) | |
| tree | a81bab30e64b05fe2b527a6ce51d63fda079af70 /scripts/Makefile.thinlto | |
| parent | clk: qcom: mmcc-msm8960: Configure PLL15 only on APQ8064 (diff) | |
clk: qcom: rcg2: Initialize shared floor clock state
Shared floor RCGs use the cached parked_cfg whenever CCF considers the
clock disabled. Unlike the other shared RCG variants, their ops do not
initialize that cache, leaving it zeroed until the first disable or rate
change. This can make registration report an undivided XO configuration
instead of the boot-programmed parent and divider.
Initialize parked_cfg from CFG_REG without parking or otherwise changing
the hardware. Propagate read failures so a clock with unknown initial
state is not registered.
Fixes: aec8c0e28ce4 ("clk: qcom: rcg2: add clk_rcg2_shared_floor_ops")
Assisted-by: LLM
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Link: https://patch.msgid.link/20260917-topic-qc_clk_fixes-v1-1-5531cb00514b@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
