[PATCH v2 0/3] clk: meson: add support for Amlogic G12B

From: Neil Armstrong
Date: Tue May 28 2019 - 04:11:25 EST


The Amlogic G12B SoC is very similar with the G12A SoC, sharing
most of the features and architecture.
G12B clock tree is very close, the main differences are :
- SYS_PLL is used for the second cluster (otherwise used fir the first on G12a)
- SYS_PLL1 is used for the first cluster (instead of SYS_PLL on G12a)
- A duplicate CPU tree is added for the second cluster
- G12B has additional clocks like for CSI an other components, not handled yet

Dependencies :
- Patch 1, 3 : None
- Patch 2 : Depends on Guillaume's Temperature sensor Clock patches at [1]

This patchset is a spinoff of the v2 Odroid-N2 megapatchset at [2]

Changes since v1 at [3]:
- Added the cpub_clk div2..8 and replaces the ahb/atb/axi/trace divs by muxes
- Added the CLK_GATE_SET_TO_DISABLE flag to ahb/atb/axi/trace gates
- Fixed all the G12A typos
- Added martin's reviewed by on patch 1

Changes since original patchset :
- Added missing sys1_pll div16, cpub div16 and cpub atb/axi/ahb/trace clocks
- Rewrote "This patch .." in commit messages

[1] https://lkml.kernel.org/r/20190412100221.26740-1-glaroque@xxxxxxxxxxxx
[2] https://lkml.kernel.org/r/20190423091503.10847-1-narmstrong@xxxxxxxxxxxx
[3] https://lkml.kernel.org/r/20190521150130.31684-1-narmstrong@xxxxxxxxxxxx

Neil Armstrong (3):
dt-bindings: clk: meson: add g12b periph clock controller bindings
clk: meson: g12a: Add support for G12B CPUB clocks
clk: meson: g12a: mark fclk_div3 as critical

.../bindings/clock/amlogic,gxbb-clkc.txt | 1 +
drivers/clk/meson/g12a.c | 772 ++++++++++++++++++
drivers/clk/meson/g12a.h | 40 +-
3 files changed, 812 insertions(+), 1 deletion(-)

--
2.21.0