Linux clock framework development
 help / color / mirror / Atom feed
* [PATCH 0/2] clk: eswin: Fix the EIC7700 PLL post-divider
@ 2026-11-24 18:41 Han Gao via B4 Relay
  2026-11-24 18:41 ` [PATCH 1/2] " Han Gao via B4 Relay
  2026-11-24 18:41 ` [PATCH 2/2] clk: eswin: Use REFDIV and the post-dividers in the EIC7700 PLL rate Han Gao via B4 Relay
  0 siblings, 2 replies; 5+ messages in thread
From: Han Gao via B4 Relay @ 2026-11-24 18:41 UTC (permalink / raw)
  To: Yifeng Huang, Xuyang Dong, Stephen Boyd, Brian Masney,
	Jerome Brunet
  Cc: Brian Masney, Han Gao, linux-clk, Han Gao, Jingkun Zheng

clk_pll_set_rate() sets a post-divider the rate math doesn't know
about, so the P550 CPU ran at half speed. Patch 1 fixes that, patch 2
makes recalc_rate use the full formula from the TRM.

Tested on a HiFive Premier P550: all CPU operating points, and setting
and reading back the audio PLL rate.

Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
---
Han Gao (2):
      clk: eswin: Fix the EIC7700 PLL post-divider
      clk: eswin: Use REFDIV and the post-dividers in the EIC7700 PLL rate

 drivers/clk/eswin/clk.c | 26 ++++++++++++++++++--------
 1 file changed, 18 insertions(+), 8 deletions(-)
---
base-commit: b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f
change-id: 20261125-eic7700-cpu-pll-postdiv-24d1c98f1d10

Best regards,
-- 
Han Gao <gaohan@iscas.ac.cn>



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

end of thread, other threads:[~2026-11-25  8:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24 18:41 [PATCH 0/2] clk: eswin: Fix the EIC7700 PLL post-divider Han Gao via B4 Relay
2026-11-24 18:41 ` [PATCH 1/2] " Han Gao via B4 Relay
2026-11-25  8:12   ` Xuyang Dong
2026-11-24 18:41 ` [PATCH 2/2] clk: eswin: Use REFDIV and the post-dividers in the EIC7700 PLL rate Han Gao via B4 Relay
2026-11-25  8:12   ` Xuyang Dong

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