[PATCH v1 1/2] clk: socfpga: Read the clock parent's register base in probe function
Tan, Ley Foon
ley.foon.tan at intel.com
Mon Mar 9 10:05:13 CET 2020
> -----Original Message-----
> From: Ang, Chee Hong <chee.hong.ang at intel.com>
> Sent: Monday, March 9, 2020 4:22 PM
> To: u-boot at lists.denx.de
> Cc: Marek Vasut <marex at denx.de>; Simon Goldschmidt
> <simon.k.r.goldschmidt at gmail.com>; See, Chin Liang
> <chin.liang.see at intel.com>; Tan, Ley Foon <ley.foon.tan at intel.com>;
> Westergreen, Dalon <dalon.westergreen at intel.com>; Ang, Chee Hong
> <chee.hong.ang at intel.com>
> Subject: [PATCH v1 1/2] clk: socfpga: Read the clock parent's register base in
> probe function
>
> 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>
More information about the U-Boot
mailing list