Re: [PATCH] clks: imx7: fix initial clock setup with deep probe enabled

2022-09-02 Thread Sascha Hauer
On Fri, Sep 02, 2022 at 04:02:32PM +0200, Ahmad Fatoum wrote: > Hello, > > On 31.08.22 10:21, Johannes Zink wrote: > > Hi Sascha, > > > > On Tue, 2022-08-30 at 17:05 +0200, Sascha Hauer wrote: > >> On Tue, Aug 30, 2022 at 10:39:37AM +0200, Johannes Zink wrote: > >>> We register the i.MX7 clock co

Re: [PATCH] clks: imx7: fix initial clock setup with deep probe enabled

2022-09-02 Thread Ahmad Fatoum
Hello, On 31.08.22 10:21, Johannes Zink wrote: > Hi Sascha, > > On Tue, 2022-08-30 at 17:05 +0200, Sascha Hauer wrote: >> On Tue, Aug 30, 2022 at 10:39:37AM +0200, Johannes Zink wrote: >>> We register the i.MX7 clock controller driver at core_initcall >>> level and >>> then do some initial clock

Re: [PATCH] clks: imx7: fix initial clock setup with deep probe enabled

2022-08-31 Thread Johannes Zink
Hi Sascha, On Tue, 2022-08-30 at 17:05 +0200, Sascha Hauer wrote: > On Tue, Aug 30, 2022 at 10:39:37AM +0200, Johannes Zink wrote: > > We register the i.MX7 clock controller driver at core_initcall > > level and > > then do some initial clock setup/reparenting at postcore_initcall > > level. > > T

Re: [PATCH] clks: imx7: fix initial clock setup with deep probe enabled

2022-08-30 Thread Sascha Hauer
On Tue, Aug 30, 2022 at 10:39:37AM +0200, Johannes Zink wrote: > We register the i.MX7 clock controller driver at core_initcall level and > then do some initial clock setup/reparenting at postcore_initcall level. > This doesn't work as expected when deep probe is enabled, because while > the driver

[PATCH] clks: imx7: fix initial clock setup with deep probe enabled

2022-08-30 Thread Johannes Zink
We register the i.MX7 clock controller driver at core_initcall level and then do some initial clock setup/reparenting at postcore_initcall level. This doesn't work as expected when deep probe is enabled, because while the driver is registered at core_initcall level, it's only probed later on, curre