linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] clk: si5351: Add phase offset for clock output
@ 2021-09-13  8:51 Jens Renner
  2021-09-13  8:52 ` [PATCH 1/2] clk: si5351: Add DT property for phase offset Jens Renner
  2021-09-13  8:53 ` [PATCH 2/2] clk: si5351: Add clock output " Jens Renner
  0 siblings, 2 replies; 4+ messages in thread
From: Jens Renner @ 2021-09-13  8:51 UTC (permalink / raw)
  To: linux-clk
  Cc: mturquette, sboyd, robh+dt, devicetree, s.hauer,
	sebastian.hesselbarth, renner

This patch series adds a phase offset feature to the SI5351 clock
outputs. This is necessary to generate differential clocks or
arbitrary phase shifts with respect to other clock outputs.

Patch 1 adds the DT documentation to configure the phase offset.

Patch 2 implements the phase offset feature by adding *_set_phase()
functions to the multisynth and clockout stages.

Tested on a Xilinx Zynq (ARM Cortex-A9) board with Si5351A-B-GT for
several frequencies and phase offsets.

Jens Renner (2):
  clk: si5351: Add DT property for phase offset
  clk: si5351: Add clock output phase offset

 .../bindings/clock/silabs,si5351.txt          |  10 +-
 drivers/clk/clk-si5351.c                      | 234 +++++++++++++++++-
 drivers/clk/clk-si5351.h                      |   1 +
 include/linux/platform_data/si5351.h          |   2 +
 4 files changed, 243 insertions(+), 4 deletions(-)

-- 
2.33.0


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

end of thread, other threads:[~2021-09-21 20:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-13  8:51 [PATCH 0/2] clk: si5351: Add phase offset for clock output Jens Renner
2021-09-13  8:52 ` [PATCH 1/2] clk: si5351: Add DT property for phase offset Jens Renner
2021-09-21 20:21   ` Rob Herring
2021-09-13  8:53 ` [PATCH 2/2] clk: si5351: Add clock output " Jens Renner

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).