Skip to content

clk: meson: axg: add audio clock controller support

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 Latest6 patches 1 replyIn review
  2. v17 patches 11 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6clk: meson: clean-up meson clock configurationdrivers/clk/meson/Kconfig+5 -90 replies
2/6clk: meson: add clk-phase clock driverdrivers/clk/meson/Makefile drivers/clk/meson/clk-phase.c drivers/clk/meson/clkc.h+72 -00 replies
3/6clk: meson: add triple phase clock driverdrivers/clk/meson/Kconfig drivers/clk/meson/Makefile drivers/clk/meson/clk-triphase.c +1 more+94 -00 replies
4/6clk: meson: add axg audio sclk divider driverdrivers/clk/meson/Makefile drivers/clk/meson/clkc-audio.h drivers/clk/meson/sclk-div.c+252 -10 replies
5/6dt-bindings: clock: add meson axg audio clock controller bindingsDocumentation/devicetree/bindings/clock/amlogic,axg-audio-clkc.txt include/dt-bindings/clock/axg-audio-clkc.h+150 -00 replies
6/6clk: meson: axg: add the audio clock controller driverdrivers/clk/meson/Kconfig drivers/clk/meson/Makefile drivers/clk/meson/axg-audio.c +1 more+982 -00 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchNeil ArmstrongRob Herring
1/6A-b
2/6A-b
3/6A-b
4/6A-b
5/6A-b R-b
6/6A-b

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/6] clk: meson: axg: add audio clock controller support

The purpose of this patchset is to add support for the clock controller dedicated to the audio subsystem found on A113 based SoCs

The series depends on the CLK_MUX_ROUND_CLOSEST fixes [merged in clk-next] and the duty cycle support [1] making their way into CCF.

First patch is a clean-up of the meson clk Kconfig.
Then, there is 3 clock provider drivers for clocks found in the audio The last 3 are for the clock controller itself.

Changes since v1: [2]
* Rebase clk-meson's next/drivers
* Correct typo in documentation and squash DT patches

[1]: https://lkml.kernel.org/r/20180420211141.28929-1-jbrunet at baylibre.com [2]: https://lkml.kernel.org/r/20180425163304.10852-1-jbrunet at baylibre.com

Jerome Brunet (6):
clk: meson: clean-up meson clock configuration
clk: meson: add clk-phase clock driver
clk: meson: add triple phase clock driver
clk: meson: add axg audio sclk divider driver
dt-bindings: clock: add meson axg audio clock controller bindings
clk: meson: axg: add the audio clock controller driver

 .../bindings/clock/amlogic,axg-audio-clkc.txt      |  56 ++
 drivers/clk/meson/Kconfig                          |  28 +-
 drivers/clk/meson/Makefile                         |   3 +
 drivers/clk/meson/axg-audio.c                      | 845 +++++++++++++++++++++
 drivers/clk/meson/axg-audio.h                      | 127 ++++
 drivers/clk/meson/clk-phase.c                      |  63 ++
 drivers/clk/meson/clk-triphase.c                   |  68 ++
 drivers/clk/meson/clkc-audio.h                     |  28 +
 drivers/clk/meson/clkc.h                           |   8 +
 drivers/clk/meson/sclk-div.c                       | 243 ++++++
 include/dt-bindings/clock/axg-audio-clkc.h         |  94 +++
 11 files changed, 1554 insertions(+), 9 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/amlogic,axg-audio-clkc.txt
 create mode 100644 drivers/clk/meson/axg-audio.c
 create mode 100644 drivers/clk/meson/axg-audio.h
 create mode 100644 drivers/clk/meson/clk-phase.c
 create mode 100644 drivers/clk/meson/clk-triphase.c
 create mode 100644 drivers/clk/meson/clkc-audio.h
 create mode 100644 drivers/clk/meson/sclk-div.c
 create mode 100644 include/dt-bindings/clock/axg-audio-clkc.h
Signature · 1 line
2.14.3