devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] clk: si5351: Add phase offset for clock output
@ 2021-12-08 15:44 Jens Renner
  2021-12-08 15:45 ` [PATCH v2 1/2] clk: si5351: Add DT property for phase offset Jens Renner
  2021-12-08 15:46 ` [PATCH v2 2/2] clk: si5351: Add clock output " Jens Renner
  0 siblings, 2 replies; 5+ messages in thread
From: Jens Renner @ 2021-12-08 15:44 UTC (permalink / raw)
  To: linux-clk
  Cc: mturquette, sboyd, sebastian.hesselbarth, s.hauer, devicetree,
	robh+dt, 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.

Changes in v2:
  - Use vendor-specific DT property silabs,clock-phase

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


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

end of thread, other threads:[~2021-12-17  1:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-08 15:44 [PATCH v2 0/2] clk: si5351: Add phase offset for clock output Jens Renner
2021-12-08 15:45 ` [PATCH v2 1/2] clk: si5351: Add DT property for phase offset Jens Renner
2021-12-15 16:43   ` Rob Herring
2021-12-17  1:50   ` Stephen Boyd
2021-12-08 15:46 ` [PATCH v2 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).