Skip to content

Support spread spectrum clocking for i.MX8{M,N,P} PLLs

Dario Binacchi imx linux-arm-kernel linux-clk linux-devicetree lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 18 repliesIn review
  2. v26 patches 1 replySuperseded
  3. v16 patches 13 repliesSuperseded

Changes in v3 from the cover letter

- Patches 1/8 has been added in version 3. The dt-bindings have been moved from fsl,imx8m-anatop.yaml to imx8m-clock.yaml. The anatop device (fsl,imx8m-anatop.yaml) is indeed more or less a syscon, so it represents a memory area accessible by ccm (imx8m-clock.yaml) to setup the PLLs.
- Patches {3,5}/8 have been added in version 3.
- Patches {4,6,8}/8 use ccm device node instead of the anatop one.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8dt-bindings: clock: imx8m-clock: support spread spectrum clockingDocumentation/devicetree/bindings/clock/imx8m-clock.yaml+46 -018 replies
2/8clk: imx: pll14xx: support spread spectrum clock generationdrivers/clk/imx/clk-imx8mp-audiomix.c drivers/clk/imx/clk-pll14xx.c drivers/clk/imx/clk.h+124 -40 replies
3/8clk: imx: imx8mm: distinguish between ccm and anatop referencesdrivers/clk/imx/clk-imx8mm.c+47 -470 replies
4/8clk: imx8mm: support spread spectrum clock generationdrivers/clk/imx/clk-imx8mm.c+9 -40 replies
5/8clk: imx: imx8mn: distinguish between ccm and anatop referencesdrivers/clk/imx/clk-imx8mn.c+48 -480 replies
6/8clk: imx8mn: support spread spectrum clock generationdrivers/clk/imx/clk-imx8mn.c+10 -40 replies
7/8clk: imx8mp: don't lose the anatop device nodedrivers/clk/imx/clk-imx8mp.c+4 -40 replies
8/8clk: imx8mp: support spread spectrum clock generationdrivers/clk/imx/clk-imx8mp.c+9 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/8] Support spread spectrum clocking for i.MX8{M,N,P} PLLs

The series adds support for spread spectrum clocking for i.MX8M{N,M,P} PLLs (audio, video and DRAM). It has been tested for the video PLL on boards using i.MX8MN and i.MX8MP.

Changes in v3:
- Patches 1/8 has been added in version 3. The dt-bindings have been moved from fsl,imx8m-anatop.yaml to imx8m-clock.yaml. The anatop device (fsl,imx8m-anatop.yaml) is indeed more or less a syscon, so it represents a memory area accessible by ccm (imx8m-clock.yaml) to setup the PLLs.
- Patches {3,5}/8 have been added in version 3.
- Patches {4,6,8}/8 use ccm device node instead of the anatop one.

Changes in v2:
- Add "allOf:" and place it after "required:" block, like in the example schema.
- Move the properties definition to the top-level.
- Drop unit types as requested by the "make dt_binding_check" command.

Dario Binacchi (8):
dt-bindings: clock: imx8m-clock: support spread spectrum clocking
clk: imx: pll14xx: support spread spectrum clock generation
clk: imx: imx8mm: distinguish between ccm and anatop references
clk: imx8mm: support spread spectrum clock generation
clk: imx: imx8mn: distinguish between ccm and anatop references
clk: imx8mn: support spread spectrum clock generation
clk: imx8mp: don't lose the anatop device node
clk: imx8mp: support spread spectrum clock generation

 .../bindings/clock/imx8m-clock.yaml           |  46 ++++++++
 drivers/clk/imx/clk-imx8mm.c                  |  99 +++++++++--------
 drivers/clk/imx/clk-imx8mn.c                  | 102 +++++++++---------
 drivers/clk/imx/clk-imx8mp-audiomix.c         |   2 +-
 drivers/clk/imx/clk-imx8mp.c                  |  21 ++--
 drivers/clk/imx/clk-pll14xx.c                 | 102 +++++++++++++++++-
 drivers/clk/imx/clk.h                         |  24 ++++-
 7 files changed, 289 insertions(+), 107 deletions(-)
Signature · 1 line
2.43.0