From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 6 Apr 2020 07:28:53 -0400 Subject: [PATCH v1 1/2] clk: socfpga: Read the clock parent's register base in probe function In-Reply-To: <1583742120-6661-2-git-send-email-chee.hong.ang@intel.com> References: <1583742120-6661-1-git-send-email-chee.hong.ang@intel.com> <1583742120-6661-2-git-send-email-chee.hong.ang@intel.com> Message-ID: <20200406112853.GI27133@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Mar 09, 2020 at 01:21:59AM -0700, chee.hong.ang at intel.com wrote: > From: Chee Hong Ang > > 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 > Reviewed-by: Ley Foon Tan Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: