Skip to content

add clk controller driver for Meson-AXG SoC

Yixun Lan linux-amlogic linux-arm-kernel linux-clk linux-devicetree lkml 8 versions – Applied

Status from this message: Applied to next/drivers

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest6 patches 11 repliesApplied
  2. v66 patches 5 repliesSuperseded
  3. v4 posting 2/22 patches 3 repliesApplied
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v54 patches5 repliesSuperseded
v4 posting 1/24 patches5 repliesSuperseded
v33 patches12 repliesSuperseded
v22 patches2 repliesSuperseded
v13 patches11 repliesApplied

Patches in v7 Applied

#Subject and filesSizeRepliesApplied
1/6clk: meson: make the spinlock naming more specificdrivers/clk/meson/clkc.h drivers/clk/meson/gxbb.c drivers/clk/meson/meson8b.c+69 -691 reply
2/6dt-bindings: clock: add compatible variant for the Meson-AXGDocumentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt+5 -21 reply
3/6clk: meson-axg: add clocks dt-bindings required headerinclude/dt-bindings/clock/axg-clkc.h+71 -01 reply
4/6clk: meson-axg: add clock controller driversarch/arm64/Kconfig.platforms drivers/clk/meson/Kconfig drivers/clk/meson/Makefile +2 more+1072 -01 reply
5/6arm64: dts: meson-axg: add clock DT info for Meson AXG SoCarch/arm64/boot/dts/amlogic/meson-axg.dtsi+14 -01 reply
6/6arm64: dts: meson-axg: switch uart_ao clock to CLK81arch/arm64/boot/dts/amlogic/meson-axg-s400.dts arch/arm64/boot/dts/amlogic/meson-axg.dtsi+3 -43 replies

Reviews trailers per patch

4 of 6 patches have a Reviewed-by or Acked-by.

PatchRob HerringNeil Armstrong
1/6
2/6A-b
3/6A-b
4/6A-b
5/6A-b
6/6

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

Read the v7 thread

Cover letter [PATCH v7 0/6] add clk controller driver for Meson-AXG SoC

Add driver for the clk controller which found in Meson AXG SoC

Note, we deliberately create a seperate source file for the Meson AXG
series, instead of sharing code with previous GXBB/GXL - the file axg.c It would help us maintaining the code more easily.

Changes since v6 [6]:
- move the spinlock' change patch as first as the dependency
- drop unnecessary flag CLK_GET_RATE_NOCACHE, CLK_SET_RATE_NO_REPARENT
- drop useless comments
- fix checkpatch issue, over 80 characters

Changes since v5 [5]:
- add Rob's Ack for patch 2, add Neil's Ack for patch 3
- include spinlock' name change patch, patch 4
- include uart_ao clock DTS patch

Changes since v4 [4]:
- use devm_ioremap instead of devm_ioremap_resource
- rename DT node using generic name 'bus'

Changes since v3 [3]:
- separate dt-bindings header file
- adjust license note as standard way
- replace of_iomap with platform/devm API
- add Rob's Ack to Patch 1,4

Changes since v2 [2]:
- drop register offset calculation
- update dt-bindings for new compatible variant

Changes since v1 [1]:
- rework register definion, use '(offset << 2)' to better match the description from data sheet
- drop "#include dt-bindings/clock/gxbb-aoclkc.h" from dts
- rebase code to v4.15-rc1

[6]
http://lists.infradead.org/pipermail/linux-amlogic/2017-December/005721.html
http://lists.infradead.org/pipermail/linux-amlogic/2017-December/005722.html
http://lists.infradead.org/pipermail/linux-amlogic/2017-December/005723.html
http://lists.infradead.org/pipermail/linux-amlogic/2017-December/005724.html
http://lists.infradead.org/pipermail/linux-amlogic/2017-December/005725.html
http://lists.infradead.org/pipermail/linux-amlogic/2017-December/005726.html
http://lists.infradead.org/pipermail/linux-amlogic/2017-December/005727.html

[5]
http://lists.infradead.org/pipermail/linux-amlogic/2017-December/005655.html
http://lists.infradead.org/pipermail/linux-amlogic/2017-December/005656.html
http://lists.infradead.org/pipermail/linux-amlogic/2017-December/005657.html
http://lists.infradead.org/pipermail/linux-amlogic/2017-December/005658.html
http://lists.infradead.org/pipermail/linux-amlogic/2017-December/005659.html

[4]
http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005522.html
http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005525.html
http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005526.html

[3]
http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005487.html
http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005488.html
http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005489.html
http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005490.html

[2]
http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005468.html
http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005469.html
http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005470.html

[1]
http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005239.html
http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005240.html
http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005241.html

Qiufang Dai (3):
clk: meson-axg: add clocks dt-bindings required header
clk: meson-axg: add clock controller drivers
arm64: dts: meson-axg: add clock DT info for Meson AXG SoC

Yixun Lan (3):
clk: meson: make the spinlock naming more specific
dt-bindings: clock: add compatible variant for the Meson-AXG
arm64: dts: meson-axg: switch uart_ao clock to CLK81

 .../bindings/clock/amlogic,gxbb-clkc.txt           |   7 +-
 arch/arm64/Kconfig.platforms                       |   1 +
 arch/arm64/boot/dts/amlogic/meson-axg-s400.dts     |   2 +
 arch/arm64/boot/dts/amlogic/meson-axg.dtsi         |  19 +-
 drivers/clk/meson/Kconfig                          |   8 +
 drivers/clk/meson/Makefile                         |   1 +
 drivers/clk/meson/axg.c                            | 936 +++++++++++++++++++++
 drivers/clk/meson/axg.h                            | 126 +++
 drivers/clk/meson/clkc.h                           |   2 +-
 drivers/clk/meson/gxbb.c                           | 112 +--
 drivers/clk/meson/meson8b.c                        |  24 +-
 include/dt-bindings/clock/axg-clkc.h               |  71 ++
 12 files changed, 1234 insertions(+), 75 deletions(-)
 create mode 100644 drivers/clk/meson/axg.c
 create mode 100644 drivers/clk/meson/axg.h
 create mode 100644 include/dt-bindings/clock/axg-clkc.h
Signature · 1 line
2.15.1