clk: meson-gxbb: Add MALI clocks
authorNeil Armstrong <narmstrong@baylibre.com>
Wed, 22 Mar 2017 10:18:54 +0000 (11:18 +0100)
committerKevin Hilman <khilman@baylibre.com>
Tue, 4 Apr 2017 19:05:12 +0000 (12:05 -0700)
commitfac9a55b66c9b266171b69e73818a18225c41626
treeb35dc7e74e03923c5cedee65d15f0439111a33f7
parentb68fb7871e15ae2a37294dda4ab86936b72450f5
clk: meson-gxbb: Add MALI clocks

The Mali is clocked by two identical clock paths behind a glitch free mux
to safely change frequency while running.

The two "mali_0" and "mali_1" clocks are composed of a mux, divider and gate.
Expose these two clocks trees using generic clocks.
Finally the glitch free mux is added as "mali" clock.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
Link: lkml.kernel.org/r/1490177935-9646-3-git-send-email-narmstrong@baylibre.com
drivers/clk/meson/gxbb.c