[PATCH v1 1/2] clk: socfpga: Read the clock parent's register base in probe function

Marek Vasut marex at denx.de
Mon Apr 6 13:34:38 CEST 2020


On 4/6/20 1:28 PM, Tom Rini wrote:
> On Mon, Mar 09, 2020 at 01:21:59AM -0700, chee.hong.ang at intel.com wrote:
> 
>> From: Chee Hong Ang <chee.hong.ang at intel.com>
>>
>> This commit (82de42fa14682d408da935adfb0f935354c5008f) calls child's
>> ofdata_to_platdata() method before the parent is probed in dm core.
>> This has caused the driver no longer able to get the correct parent
>> clock's register base in the ofdata_to_platdata() method because the
>> parent clocks will only be probed after the child's ofdata_to_platdata().
>> To resolve this, the clock parent's register base will only be retrieved
>> by the child in probe() method instead of ofdata_to_platdata().
>>
>> Signed-off-by: Chee Hong Ang <chee.hong.ang at intel.com>
>> Reviewed-by: Ley Foon Tan <ley.foon.tan at intel.com>
> 
> Applied to u-boot/master, thanks!

You probably want to replace this one with
[PATCH] dm: core: Read parent ofdata before children


More information about the U-Boot mailing list