Skip to content

clk: meson: axg-audio: add sm1 support

Jerome Brunet linux-amlogic linux-clk lkml 3 versions – Applied

Status from this message: Applied

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 1 replyApplied
  2. v27 patches 1 replySuperseded
  3. v17 patches 11 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/7dt-bindings: clk: axg-audio: add sm1 bindingsDocumentation/devicetree/bindings/clock/amlogic,axg-audio-clkc.txt include/dt-bindings/clock/axg-audio-clkc.h+12 -10 replies
2/7dt-bindings: clock: meson: add sm1 resets to the axg-audio controllerinclude/dt-bindings/reset/amlogic,meson-g12a-audio-reset.h+15 -00 replies
3/7clk: meson: axg-audio: remove useless definesdrivers/clk/meson/axg-audio.c+0 -40 replies
4/7clk: meson: axg-audio: fix regmap last registerdrivers/clk/meson/axg-audio.c+1 -10 replies
5/7clk: meson: axg-audio: prepare sm1 additiondrivers/clk/meson/axg-audio.c+782 -6850 replies
6/7clk: meson: axg-audio: provide clk top signal namedrivers/clk/meson/axg-audio.c drivers/clk/meson/axg-audio.h+17 -40 replies
7/7clk: meson: axg_audio: add sm1 supportdrivers/clk/meson/axg-audio.c drivers/clk/meson/axg-audio.h+574 -300 replies

Reviews trailers per patch

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

PatchNeil Armstrong
1/7R-b
2/7R-b
3/7A-b
4/7A-b
5/7R-b
6/7R-b
7/7R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/7] clk: meson: axg-audio: add sm1 support

The purpose of this patchset is to add the sm1 support to the amlogic audio clock controller. The line count is lot higher than what I hoped for. Even if extremely similar, there is a shift in the register address on the sm1 which makes a bit of a mess.

I could have patched the address on the fly if running on sm1 but the end result did not save much lines and would have been a pain to maintain and scale in the future

Instead I choose to re-arrange the driver to share the macros and declare separate clocks for the clock which have changed.

Changes since v2 [1]:
- Add missing gate ops for
* sm1_clk81_en
* sm1_sysclk_a_en
* sm1_sysclk_b_en

Changes since v1 [0]:
- Fix newline in the last patch

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

Jerome Brunet (7):
dt-bindings: clk: axg-audio: add sm1 bindings
dt-bindings: clock: meson: add sm1 resets to the axg-audio controller
clk: meson: axg-audio: remove useless defines
clk: meson: axg-audio: fix regmap last register
clk: meson: axg-audio: prepare sm1 addition
clk: meson: axg-audio: provide clk top signal name
clk: meson: axg_audio: add sm1 support

 .../bindings/clock/amlogic,axg-audio-clkc.txt |    3 +-
 drivers/clk/meson/axg-audio.c                 | 2021 +++++++++++------
 drivers/clk/meson/axg-audio.h                 |   21 +-
 include/dt-bindings/clock/axg-audio-clkc.h    |   10 +
 .../reset/amlogic,meson-g12a-audio-reset.h    |   15 +
 5 files changed, 1373 insertions(+), 697 deletions(-)
Signature · 1 line
2.21.0