linux/drivers/clk/meson
Martin Blumenstingl 41785ce562 clk: meson: meson8b: add the VPU clock trees
The VPU clock tree is slightly different on all three supported SoCs:

Meson8 only has an input mux (which chooses between "fclk_div4",
"fclk_div3", "fclk_div5" and "fclk_div7"), a divider and a gate.

Meson8b has two VPU clock trees, each with an input mux (using the same
parents as the input mux on Meson8), divider and a gates. The final VPU
clock is a glitch-free mux which chooses between VPU_1 and VPU_2.

Meson8m2 uses a similar clock tree as Meson8b but the last input clock
is different: instead of using "fclk_div7" as input Meson8m2 uses
"gp_pll". This was probably done in hardware to improve the accuracy of
the clock because fclk_div7 gives us 2550MHz / 7 = 364.286MHz while
GP_PLL can achieve 364.0MHz.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lkml.kernel.org/r/20190324151104.18397-5-martin.blumenstingl@googlemail.com
2019-04-01 13:34:20 +02:00
..
axg-aoclk.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
axg-aoclk.h clk: meson: axg-ao: add 32k generation subtree 2019-01-07 15:21:43 +01:00
axg-audio.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
axg-audio.h dt-bindings: clock: axg-audio: unexpose controller inputs 2019-04-01 10:45:11 +02:00
axg.c clk: meson: factorise meson64 peripheral clock controller drivers 2019-02-04 09:52:11 +01:00
axg.h clk: meson: clk-pll: remove od parameters 2018-09-26 12:01:57 +02:00
clk-dualdiv.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-dualdiv.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-input.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-input.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-mpll.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-mpll.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-phase.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-phase.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-pll.c clk: meson-pll: add reduced specific clk_ops for G12A PCIe PLL 2019-04-01 10:45:11 +02:00
clk-pll.h clk: meson-pll: add reduced specific clk_ops for G12A PCIe PLL 2019-04-01 10:45:11 +02:00
clk-regmap.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-regmap.h clk: meson: g12a: add peripheral clock controller 2019-02-04 09:52:11 +01:00
g12a-aoclk.c clk: meson: Add G12A AO Clock + Reset Controller 2019-02-13 09:49:32 +01:00
g12a-aoclk.h dt-bindings: clock: g12a-aoclk: expose CLKID_AO_CTS_OSCIN 2019-04-01 10:45:11 +02:00
g12a.c clk: meson-g12a: add video decoder clocks 2019-04-01 10:45:11 +02:00
g12a.h clk: meson-g12a: add video decoder clocks 2019-04-01 10:45:11 +02:00
gxbb-aoclk.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
gxbb-aoclk.h clk: meson: gxbb-ao: replace cec-32k with the dual divider 2019-01-07 15:21:22 +01:00
gxbb.c clk: meson: factorise meson64 peripheral clock controller drivers 2019-02-04 09:52:11 +01:00
gxbb.h dt-bindings: clk: meson-gxbb: Add Video clock bindings 2018-11-23 15:11:56 +01:00
Kconfig clk: meson: Add G12A AO Clock + Reset Controller 2019-02-13 09:49:32 +01:00
Makefile clk: meson: Add G12A AO Clock + Reset Controller 2019-02-13 09:49:32 +01:00
meson8b.c clk: meson: meson8b: add the VPU clock trees 2019-04-01 13:34:20 +02:00
meson8b.h clk: meson: meson8b: add the VPU clock trees 2019-04-01 13:34:20 +02:00
meson-aoclk.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
meson-aoclk.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
meson-eeclk.c clk: meson: factorise meson64 peripheral clock controller drivers 2019-02-04 09:52:11 +01:00
meson-eeclk.h clk: meson: factorise meson64 peripheral clock controller drivers 2019-02-04 09:52:11 +01:00
parm.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
sclk-div.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
sclk-div.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
vid-pll-div.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
vid-pll-div.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00