summaryrefslogtreecommitdiff
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorMichael Turquette <mturquette@baylibre.com>2016-04-28 22:01:51 +0300
committerMichael Turquette <mturquette@baylibre.com>2016-06-23 04:02:44 +0300
commitc0daa3e6f5b0b707f5c4b408bc8ef541c9a7742a (patch)
tree9de2ea32087aac9cd885a2e818f63b25f4682a8e /include/dt-bindings
parentab95d6e8ccd3a7514114d08f8b8e5ca0c303c412 (diff)
downloadlinux-c0daa3e6f5b0b707f5c4b408bc8ef541c9a7742a.tar.xz
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.h4
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 */