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

From: Jeffrey Hugo
Date: Thu Apr 11 2019 - 13:32:09 EST


On 4/10/2019 4:18 PM, Jeffrey Hugo wrote:
On 4/10/2019 3:45 PM, Stephen Boyd wrote:
Quoting Jeffrey Hugo (2019-04-10 12:39:16)
On 4/10/2019 10:53 AM, Stephen Boyd wrote:
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.
ÂÂÂ What do you need to debug this?


Here's a patch to try to squash in:

No dice. Same issue.

Argh! dev_of_node() doesn't check for NULL device. :-/ I want to be
extremely lazy! Let's get this merged too. Thanks for the testing.

Fixed. Will continue to test the rest of the series and let you know.


With the two changes we discussed, for the entire series:
Tested-by: Jeffrey Hugo <jhugo@xxxxxxxxxxxxxx>

--
Jeffrey Hugo
Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.