diff options
author | Michael Turquette <mturquette@baylibre.com> | 2016-04-28 12:01:51 -0700 |
---|---|---|
committer | Michael Turquette <mturquette@baylibre.com> | 2016-06-22 18:02:44 -0700 |
commit | c0daa3e6f5b0b707f5c4b408bc8ef541c9a7742a (patch) | |
tree | 9de2ea32087aac9cd885a2e818f63b25f4682a8e /include/dt-bindings | |
parent | ab95d6e8ccd3a7514114d08f8b8e5ca0c303c412 (diff) | |
download | linux-c0daa3e6f5b0b707f5c4b408bc8ef541c9a7742a.tar.bz2 |
clk: meson8b: clean up composite clocks
Remove the composite clock registration function and helpers. Replace
unnecessary configuration struct with static initialization of the
desired clock type.
To preserve git bisect this patch also flips the switch and starts using
of_clk_add_hw_provider instead of the deprecated meson_clk_register_clks
method. As a byproduct clk.c can be deleted.
Tested-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r-- | include/dt-bindings/clock/meson8b-clkc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/dt-bindings/clock/meson8b-clkc.h b/include/dt-bindings/clock/meson8b-clkc.h index bd2720d58e0c..595a58d0969a 100644 --- a/include/dt-bindings/clock/meson8b-clkc.h +++ b/include/dt-bindings/clock/meson8b-clkc.h @@ -19,7 +19,9 @@ #define CLKID_MALI 11 #define CLKID_CPUCLK 12 #define CLKID_ZERO 13 +#define CLKID_MPEG_SEL 14 +#define CLKID_MPEG_DIV 15 -#define CLK_NR_CLKS (CLKID_ZERO + 1) +#define CLK_NR_CLKS (CLKID_MPEG_DIV + 1) #endif /* __MESON8B_CLKC_H */ |