Re: [PATCH 1/4] clk: sunxi-ng: a10/a20: rewrite init code to a platform driver

From: Maxime Ripard
Date: Mon Apr 20 2020 - 08:49:48 EST


On Sat, Apr 18, 2020 at 01:17:27AM +0300, Priit Laes wrote:
> In order to register regmap for sun7i CCU, there needs to be
> a device structure already bound to the CCU device node.
>
> Convert the sun4i/sun7i CCU setup to platform driver to use
> it later as platform device.
>
> Signed-off-by: Priit Laes <plaes@xxxxxxxxx>

You can't relly do that though. We have timers that need those clocks before the
device model is initialized.

Maxime

Attachment: signature.asc
Description: PGP signature