Skip to content

clk: si5351: Add phase offset for clock output

Jens Renner linux-clk linux-devicetree 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 1 replySuperseded

Changes in v2 from the cover letter

- Use vendor-specific DT property silabs,clock-phase

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2clk: si5351: Add DT property for phase offsetDocumentation/devicetree/bindings/clock/silabs,si5351.txt+8 -22 replies
2/2clk: si5351: Add clock output phase offsetdrivers/clk/clk-si5351.c drivers/clk/clk-si5351.h include/linux/platform_data/si5351.h+235 -20 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] clk: si5351: Add phase offset for clock output

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(-)
Signature · 1 line
2.30.2