Skip to content

clk: meson-g12a: Add EE clock controller driver

Jerome Brunet linux-amlogic linux-arm-kernel linux-clk lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest4 patches 3 repliesIn review
  2. v31 of 2 patches 0 repliesSuperseded
  3. v21 of 2 patches 0 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4clk: meson: pll: update driver for the g12adrivers/clk/meson/clk-pll.c drivers/clk/meson/clk-pll.h+154 -590 replies
2/4dt-bindings: clk: meson: add g12a periph clock controller bindingsDocumentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt include/dt-bindings/clock/g12a-clkc.h+136 -00 replies
3/4clk: meson: g12a: add peripheral clock controllerdrivers/clk/meson/Kconfig drivers/clk/meson/Makefile drivers/clk/meson/clk-regmap.h +2 more+2594 -20 replies
4/4clk: meson: factorise meson64 peripheral clock controller driversdrivers/clk/meson/Kconfig drivers/clk/meson/Makefile drivers/clk/meson/axg.c +4 more+313 -1760 replies

Reviews trailers per patch

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

PatchRob HerringNeil Armstrong
SeriesR-b
1/4
2/4R-b
3/4
4/4

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

Read the v6 thread

Cover letter [PATCH v6 0/4] clk: meson-g12a: Add EE clock controller driver

This purpose of this patchset is to the main clock controller of the g12a SoC family

This patchset depends on the recent rework the meson clock directory [7].

Changes since v5 [6]:
* use clock input driver until something better comes along in CCF
* fix pll fractional param size
* fix broken gp0 and hifi pll param (<55)
* add hdmi pll
* fix fdiv2p5
* add mpll_50m
* fix mpll clock tree (missing fix 2 divider)
* add missing sdio clocks
* add vpu clocks
* add some RO clock gates
* rabase on clk-meson tree

Changes since v4 [5]:
* add bypass clock "g12a_ee_core" from DT
* fix Kconfig description
* change g12a_mpll0_div/g12a_mpll1_div/g12a_mpll2_div/g12a_mpll3_div clock's parent name as fixed_pll_dco
* drop CLK_SET_RATE_PARENT flag for pll clock
* drop CLK_GET_RATE_NOCACHE flag for pll_dco clock
* delete usless note
* enable G12A clock driver

Changes since v3 [4]:
* add fixed clocks clk_regmap definition

Changes since v2 [2]:
* fix fixed clock descriptions
* fix alignment
* add enable bit for plls base on [3] patches
* add fixed clock gate bit

Changes since v1 [1]:
* fix typo of 'Everything'.
* change the word 'AmLogic' to 'Amlogic'
* squash patch 1 and 2.
* delete usless message of "Trying obsolete regs".
* delete the empty line in include/dt-bindings/clock/g12a-clkc.h.
* rebase on top of the "next/drivers" branch, and add g12a clock patch.
* add CLK_MUX_ROUND_CLOSEST for g12a_sd_emmc_b_clk0_sel and g12a_sd_emmc_c_clk0_sel.

[1]: https://lkml.kernel.org/r/[email protected]
[2]: https://lkml.kernel.org/r/[email protected]
[3]: https://lkml.kernel.org/r/[email protected]
[4]: https://lkml.kernel.org/r/[email protected]
[5]: https://lkml.kernel.org/r/[email protected]
[6]: https://lkml.kernel.org/r/[email protected]
[7]: https://lkml.kernel.org/r/[email protected]

Jerome Brunet (2):
clk: meson: pll: update driver for the g12a
clk: meson: factorise meson64 peripheral clock controller drivers

Jian Hu (2):
dt-bindings: clk: meson: add g12a periph clock controller bindings
clk: meson: g12a: add peripheral clock controller

 .../bindings/clock/amlogic,gxbb-clkc.txt      |    1 +
 drivers/clk/meson/Kconfig                     |   21 +-
 drivers/clk/meson/Makefile                    |    2 +
 drivers/clk/meson/axg.c                       |   59 +-
 drivers/clk/meson/clk-pll.c                   |  203 +-
 drivers/clk/meson/clk-pll.h                   |   10 +-
 drivers/clk/meson/clk-regmap.h                |    9 +-
 drivers/clk/meson/g12a.c                      | 2359 +++++++++++++++++
 drivers/clk/meson/g12a.h                      |  175 ++
 drivers/clk/meson/gxbb.c                      |  272 +-
 drivers/clk/meson/meson-eeclk.c               |   63 +
 drivers/clk/meson/meson-eeclk.h               |   25 +
 include/dt-bindings/clock/g12a-clkc.h         |  135 +
 13 files changed, 3147 insertions(+), 187 deletions(-)
 create mode 100644 drivers/clk/meson/g12a.c
 create mode 100644 drivers/clk/meson/g12a.h
 create mode 100644 drivers/clk/meson/meson-eeclk.c
 create mode 100644 drivers/clk/meson/meson-eeclk.h
 create mode 100644 include/dt-bindings/clock/g12a-clkc.h
Signature · 1 line
2.20.1