All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clk: vc5: Enable VC5_HAS_PFD_FREQ_DBL on 5p49v6965
@ 2022-03-13 11:57 Adam Ford
  2022-03-15  8:55 ` Luca Ceresoli
  0 siblings, 1 reply; 8+ messages in thread
From: Adam Ford @ 2022-03-13 11:57 UTC (permalink / raw)
  To: linux-clk
  Cc: aford, cstevens, Adam Ford, Claude Fillion, Luca Ceresoli,
	Michael Turquette, Stephen Boyd, linux-kernel

The 5p49v6965 has a reference clock frequency doubler.
Enabling it adds versaclock_som.dbl to the clock tree,
but the output frequency remains correct.

Suggested-by: Claude Fillion <Claude.Fillion@mksinst.com>
Signed-off-by: Adam Ford <aford173@gmail.com>

diff --git a/drivers/clk/clk-versaclock5.c b/drivers/clk/clk-versaclock5.c
index e7be3e54b9be..4d190579e874 100644
--- a/drivers/clk/clk-versaclock5.c
+++ b/drivers/clk/clk-versaclock5.c
@@ -1211,7 +1211,7 @@ static const struct vc5_chip_info idt_5p49v6965_info = {
 	.model = IDT_VC6_5P49V6965,
 	.clk_fod_cnt = 4,
 	.clk_out_cnt = 5,
-	.flags = VC5_HAS_BYPASS_SYNC_BIT,
+	.flags = VC5_HAS_BYPASS_SYNC_BIT | VC5_HAS_PFD_FREQ_DBL,
 };
 
 static const struct i2c_device_id vc5_id[] = {
-- 
2.34.1


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

end of thread, other threads:[~2022-03-21 23:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-13 11:57 [PATCH] clk: vc5: Enable VC5_HAS_PFD_FREQ_DBL on 5p49v6965 Adam Ford
2022-03-15  8:55 ` Luca Ceresoli
2022-03-15 19:34   ` [EXTERNAL] " Fillion, Claude
2022-03-15 22:52     ` Luca Ceresoli
2022-03-17 18:57       ` Fillion, Claude
2022-03-19 21:24         ` Adam Ford
2022-03-21 21:11           ` Fillion, Claude
2022-03-21 21:49             ` Fillion, Claude

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.