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>
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user