linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] clk: si5351: PLL reset fixes
@ 2017-09-16 11:44 Sergej Sawazki
  2017-09-16 11:44 ` [PATCH v2 1/2] clk: si5351: Add DT property to enable PLL reset Sergej Sawazki
  2017-09-16 11:44 ` [PATCH v2 2/2] clk: si5351: Apply PLL soft reset before enabling the outputs Sergej Sawazki
  0 siblings, 2 replies; 5+ messages in thread
From: Sergej Sawazki @ 2017-09-16 11:44 UTC (permalink / raw)
  To: sboyd, mturquette, sebastian.hesselbarth
  Cc: linux, linux-clk, ce3a, Sergej Sawazki

The Si5351 clock generator has up to 8 output clocks and 2 PLLs. In order
to get a deterministic phase offset relationship between the output clocks,
it is necessary to reset the PLLs is certain scenarios.

This patch-set:
 * adds a dt-property for enabling/disabling the PLL reset
 * adds resetting the PLL before enabling the outputs

Changes in v2 (thanks to Sebastian Hesselbarth for reviewing v1):
 * removed fix for commit 6dc669a22c77 ("clk: si5351: Add PLL soft reset"),
   it is already fixed by commit 73c950da6ec5 ("clk: si5351: fix PLL reset")
 * adding the PLL reset dt-property is now the first patch, to avoid changing
   the driver behavior for current users
 * the debug message is squashed it into the patch adding the PLL reset function

Based on clk-next.

Best regards,
Sergej

Sergej Sawazki (2):
  clk: si5351: Add DT property to enable PLL reset
  clk: si5351: Apply PLL soft reset before enabling the outputs

 .../devicetree/bindings/clock/silabs,si5351.txt    |  1 +
 drivers/clk/clk-si5351.c                           | 32 ++++++++++++++++++++++
 include/linux/platform_data/si5351.h               |  2 ++
 3 files changed, 35 insertions(+)

-- 
2.7.4

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

end of thread, other threads:[~2017-12-22  2:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-16 11:44 [PATCH v2 0/2] clk: si5351: PLL reset fixes Sergej Sawazki
2017-09-16 11:44 ` [PATCH v2 1/2] clk: si5351: Add DT property to enable PLL reset Sergej Sawazki
2017-12-22  2:11   ` Stephen Boyd
2017-09-16 11:44 ` [PATCH v2 2/2] clk: si5351: Apply PLL soft reset before enabling the outputs Sergej Sawazki
2017-12-22  2:11   ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).