On Mon, Apr 20, 2020 at 02:49:35PM +0200, Maxime Ripard wrote: > 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 <[email protected]> > > You can't relly do that though. We have timers that need those clocks before > the > device model is initialized.
Ok, I'm somewhat lost now... are these the affected timers on sun7i following: - allwinner,sun4i-a10-timer (timer@1c20c00) - allwinner,sun7i-a20-hstimer (hstimer@1c60000) Any ideas on what approach I could actually use? Also, similar timer dependency would affect then sun6i-a31 and sun9i-a80 platforms too... > > Maxime -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20200420203228.GA4734%40plaes.org.
