On Thursday, September 13, 2018, Geert Uytterhoeven wrote: > > > I wonder they just didn't make a clock_initcall() and timer_initcall() > > > instead. > > > > What happens if you place the clk_init() before board_time_init() ? in > > arch/sh/kernel/time.c > > Nothing, as Chris is using an ARM platform ;-) > > The clock driver is drivers/clk/renesas/renesas-cpg-mssr.c, which is a > platform_driver registered from subsys_initcall(). Just FYI, for the heck of it, I tried and hacked in registering the clock driver using CLK_OF_DECLARE since that happens before the TIMER_OF_DECLARE timers are probed. But, I got this result: [ 0.000000] Driver 'renesas-cpg-mssr' was unable to register with bus_type 'platform' because the bus was not initialized. Chris