public inbox for linux-clk@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Add support to reconfigure PLL
@ 2025-01-13 17:27 Taniya Das
  2025-01-13 17:27 ` [PATCH 1/3] clk: qcom: clk-alpha-pll: Integrate PLL configuration into PLL structure Taniya Das
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Taniya Das @ 2025-01-13 17:27 UTC (permalink / raw)
  To: Bjorn Andersson, Michael Turquette, Stephen Boyd
  Cc: Ajit Pandey, Imran Shaik, Jagadeesh Kona, linux-arm-msm,
	linux-clk, linux-kernel, Taniya Das

During boot-up, there is a possibility that the PLL configuration might
be missed even after invoking pll_configure() from the clock controller
probe. This is often due to the PLL being connected to rail or rails
that are in an OFF state and current clock controller also cannot vote
on multiple rails. As a result, the PLL may be enabled with suboptimal
settings, leading to functional issues.

The PLL configuration, now part of clk_alpha_pll, can be reused to
reconfigure the PLL to a known good state before scaling for frequency.
The 'clk_alpha_pll_reconfigure()' can be updated to support more PLLs
in future.

The IRIS driver support added
https://lore.kernel.org/all/20241212-qcom-video-iris-v9-0-e8c2c6bd4041@quicinc.com/
observes the pll latch warning during boot up due to the dependency of
the PLL not in good state, thus add config support for SM8550 Video
clock controller PLLs.

Signed-off-by: Taniya Das <quic_tdas@quicinc.com>
---
Taniya Das (3):
      clk: qcom: clk-alpha-pll: Integrate PLL configuration into PLL structure
      clk: qcom: clk-alpha-pll: Add support to reconfigure PLL
      clk: qcom: videocc-sm8550: Update the pll config for Video PLLs

 drivers/clk/qcom/clk-alpha-pll.c  | 30 ++++++++++++++++++++++++++++++
 drivers/clk/qcom/clk-alpha-pll.h  |  2 ++
 drivers/clk/qcom/videocc-sm8550.c |  2 ++
 3 files changed, 34 insertions(+)
---
base-commit: 37136bf5c3a6f6b686d74f41837a6406bec6b7bc
change-id: 20250113-support-pll-reconfigure-9a9cbb43a90b

Best regards,
-- 
Taniya Das <quic_tdas@quicinc.com>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-02-14  9:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-13 17:27 [PATCH 0/3] Add support to reconfigure PLL Taniya Das
2025-01-13 17:27 ` [PATCH 1/3] clk: qcom: clk-alpha-pll: Integrate PLL configuration into PLL structure Taniya Das
2025-01-13 17:27 ` [PATCH 2/3] clk: qcom: clk-alpha-pll: Add support to reconfigure PLL Taniya Das
2025-01-13 17:27 ` [PATCH 3/3] clk: qcom: videocc-sm8550: Update the pll config for Video PLLs Taniya Das
2025-01-22 15:38 ` [PATCH 0/3] Add support to reconfigure PLL Stefan Schmidt
2025-02-04 10:08 ` Johan Hovold
2025-02-04 17:43   ` Taniya Das
2025-02-14  9:02     ` Johan Hovold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox