Re: [PATCH v3 3/7] clk: Add of_clk_hw_register() API for early clk drivers

From: Stephen Boyd
Date: Wed Apr 10 2019 - 12:49:32 EST


Quoting Jeffrey Hugo (2019-04-08 14:46:11)
> On 4/4/2019 3:53 PM, Stephen Boyd wrote:
> > In some circumstances drivers register clks early and don't have access
> > to a struct device because the device model isn't initialized yet. Add
> > an API to let drivers register clks associated with a struct device_node
> > so that these drivers can participate in getting parent clks through DT.
>
> NACK. This patch broke boot for me. I had to pull the below from JTAG.

No early printk support on this board? Sadness.

> What do you need to debug this?
>

Hopefully nothing.

> [ 0.000000] Unable to handle kernel read from unreadable memory at
> virtual address 0000000000000280

I guess you pass NULL as dev to clk_hw_register(). Will fix! Thanks for
testing.

> [ 0.000000] Mem abort info: