summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sunxi-ng/Makefile
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2021-11-19 04:33:36 +0100
committerMaxime Ripard <maxime@cerno.tech>2021-11-23 10:29:05 +0100
commit7ec03b588d2214d11bea91d5f9ffa444094d3cbd (patch)
tree664419f113c41d25cadbbed16f74e1bcc2bbebd3 /drivers/clk/sunxi-ng/Makefile
parentclk: sunxi-ng: Allow drivers to be built as modules (diff)
downloadlinux-7ec03b588d2214d11bea91d5f9ffa444094d3cbd.tar.xz
linux-7ec03b588d2214d11bea91d5f9ffa444094d3cbd.zip
clk: sunxi-ng: Convert early providers to platform drivers
The PRCM CCU drivers depend on clocks provided by other CCU drivers. For example, the sun8i-r-ccu driver uses the "pll-periph" clock provided by the SoC's main CCU. However, sun8i-r-ccu is an early OF clock provider, and many of the main CCUs (e.g. sun50i-a64-ccu) use platform drivers. This means that the consumer clocks will be orphaned until the supplier driver is bound. This can be avoided by converting the remaining CCUs to use platform drivers. Then fw_devlink will ensure the drivers are bound in the optimal order. The sun5i CCU is the only one which actually needs to be an early clock provider, because it provides the clock for the system timer. That one is left alone. Signed-off-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20211119033338.25486-4-samuel@sholland.org
Diffstat (limited to 'drivers/clk/sunxi-ng/Makefile')
0 files changed, 0 insertions, 0 deletions