Skip to content

clk: meson: axg: add 32k clock generation

Jerome Brunet linux-amlogic linux-clk linux-devicetree lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 1 replyIn review
  2. v15 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5dt-bindings: clk: meson: add ao slow clock path idsinclude/dt-bindings/clock/axg-aoclkc.h include/dt-bindings/clock/gxbb-aoclkc.h+13 -10 replies
2/5clk: meson: clean-up clock registrationdrivers/clk/meson/meson-aoclk.c+10 -50 replies
3/5clk: meson: add dual divider clock driverdrivers/clk/meson/Makefile drivers/clk/meson/clk-dualdiv.c drivers/clk/meson/clkc.h+150 -10 replies
4/5clk: meson: gxbb-ao: replace cec-32k with the dual dividerdrivers/clk/meson/Makefile drivers/clk/meson/gxbb-aoclk-32k.c drivers/clk/meson/gxbb-aoclk.c +1 more+204 -2620 replies
5/5clk: meson: axg-ao: add 32k generation subtreedrivers/clk/meson/axg-aoclk.c drivers/clk/meson/axg-aoclk.h+163 -250 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRob HerringNeil Armstrong
SeriesA-b
1/5R-b
2/5
3/5
4/5
5/5

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/5] clk: meson: axg: add 32k clock generation

The goal of this patchset is to add the internal generation of the 32768Hz clock within the axg AO clock controller.

This was initially added has the CEC clock on gxbb. To properly integrate it on the axg, a simpler 'dual divider' driver is added. Then gxbb AO clock controller is reworked to use it. Finally the 32k clock tree is added to the AXG.

This patchset *no longer* requires depends on this CCF change [0]. There is a work around in place until a solution gets merged in the framework.

Changes since v1: [1]
* Add work around for [0] in gxbb-aoclk

[0]: https://lkml.kernel.org/r/[email protected]
[1]: https://lkml.kernel.org/r/[email protected]

Jerome Brunet (5):
dt-bindings: clk: meson: add ao slow clock path ids
clk: meson: clean-up clock registration
clk: meson: add dual divider clock driver
clk: meson: gxbb-ao: replace cec-32k with the dual divider
clk: meson: axg-ao: add 32k generation subtree

 drivers/clk/meson/Makefile              |   4 +-
 drivers/clk/meson/axg-aoclk.c           | 175 +++++++++++++++--
 drivers/clk/meson/axg-aoclk.h           |  13 +-
 drivers/clk/meson/clk-dualdiv.c         | 130 ++++++++++++
 drivers/clk/meson/clkc.h                |  19 ++
 drivers/clk/meson/gxbb-aoclk-32k.c      | 193 ------------------
 drivers/clk/meson/gxbb-aoclk.c          | 251 +++++++++++++++++++-----
 drivers/clk/meson/gxbb-aoclk.h          |  20 +-
 drivers/clk/meson/meson-aoclk.c         |  15 +-
 include/dt-bindings/clock/axg-aoclkc.h  |   7 +-
 include/dt-bindings/clock/gxbb-aoclkc.h |   7 +
 11 files changed, 540 insertions(+), 294 deletions(-)
 create mode 100644 drivers/clk/meson/clk-dualdiv.c
 delete mode 100644 drivers/clk/meson/gxbb-aoclk-32k.c
Signature · 1 line
2.19.2