diff options
author | Samuel Holland | 2021-11-18 21:33:36 -0600 |
---|---|---|
committer | Maxime Ripard | 2021-11-23 10:29:05 +0100 |
commit | 7ec03b588d2214d11bea91d5f9ffa444094d3cbd (patch) | |
tree | 664419f113c41d25cadbbed16f74e1bcc2bbebd3 /drivers/nfc | |
parent | c8c525b06f532923d21d99811a7b80bf18ffd2be (diff) |
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/nfc')
0 files changed, 0 insertions, 0 deletions