[PATCH v1 1/2] clk: socfpga: Read the clock parent's register base in probe function
Tom Rini
trini at konsulko.com
Thu Apr 2 22:54:14 CEST 2020
On Thu, Apr 02, 2020 at 09:45:25PM +0200, Marek Vasut wrote:
> On 4/2/20 8:50 PM, Simon Glass wrote:
> > Hi.
>
> Hi,
>
> [...]
>
> >>>>>>>> I suspect we could change this, so that
> >>>>>>>> device_ofdata_to_platdata() first calls itself on its parent.
> >>>>>>>>
> >>>>>>>> I can think of various reasons why this change might be desirable.
> >>>>>>>
> >>>>>>> I think this is how it worked before already.
> >>>>>>
> >>>>>> Well effectively, yes, because ofdata and probe were joined together.
> >>>>
> >>>>> Simon, do you have plan to fix this DM core issue ?
> >>>>
> >>>> I'm not sure it definitely should be changed. But I'll do a patch and
> >>>> see how it looks.
> >>>
> >>> Do I understand it correctly that the patch
> >>> 82de42fa14682d408da935adfb0f935354c5008f actually completely breaks
> >>> SoCFPGA ? Then I would say this is a release blocker ?
> >> Yes. A10 SPL won't boot at all. It crashes during the clock manager setup.
> >
> > This came in right at the beginning of the cycle. I thought the
> > purpose of the 3-month cycle was to allow time to test?
>
> It was ... altera ?
Sorry, I'm missing how that's an answer to the question. This came in
basically right at the start of the merge window.
> > I do plan to try out changing the behaviour to read a parent's ofdata
> > before the child, but I am not comfortable adding such a major change
> > just before a release. It could have any number of ill effects.
> >
> > Can you update the clock driver? E.g. you could move some of the code
> > from socfpga_a10_ofdata_to_platdata() to a probe() method?
>
> Can we revert the patch which broke arria10 instead ? It did work
> before, so who knows how many other ill side effects there are ...
I'm not in favor of reverting 82de42fa1468 unless the answer is "that
commit was wrong" and not "that commit caused other problems to surface,
that we can fix". I am quite willing to say "we need to delay the
release to test changes for problems that've surfaced and verify more
hardware is fine".
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200402/e30fda06/attachment.sig>
More information about the U-Boot
mailing list