]> git.baikalelectronics.ru Git - kernel.git/commit
clk: meson: meson8b: add the GPU clock tree
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 8 Dec 2018 17:12:45 +0000 (18:12 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 7 Jan 2019 14:35:13 +0000 (15:35 +0100)
commit35deb2cbb125e9372f408ef378714870da5cb001
tree728b381b7e76dac64b4cdcb880a3de2c614aa5c9
parent1705aef4844581380a7d37b5d6c5b723c8ca75ba
clk: meson: meson8b: add the GPU clock tree

Add the GPU clock tree on Meson8, Meson8b and Meson8m2.

The GPU clock tree on Meson8b and Meson8m2 is almost identical to the
one one GXBB:
- there's a glitch-free mux at HHI_MALI_CLK_CNTL[31]
- there are two identical parents for this mux: mali_0 and mali_1, each
  with a gate, divider and mux
- the parents of mali_0_sel and mali_1_sel are identical to GXBB except
  there's no GP0_PLL on these 32-bit SoCs

Meson8 is different because it does not have the glitch-free mux.
Instead if only has the mali_0 clock tree. The parents of mali_0_sel are
identical to the ones on Meson8b and Meson8m2.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lkml.kernel.org/r/20181208171247.22238-4-martin.blumenstingl@googlemail.com
drivers/clk/meson/meson8b.c
drivers/clk/meson/meson8b.h