On 4/17/25 1:58 AM, Fabio Estevam wrote:
On Wed, Apr 16, 2025 at 8:47 PM Marek Vasut <ma...@denx.de> wrote:

You are not supposed to use "clock-output-names" for clock look up.
You are supposed to use "clocks"/"clock-names" DT properties and then
resolve the remote clock from information in those.

What do you think about registering the osc clocks like this?

https://paste.debian.net/1369857/

It would be good to include the patch inline in this email, not in a link to some paste site which will go away.

This also does not work in case 24 MHz or 32 kHz clock are provided by something else than an xtal , and it will also lead to instantiation of the same clock twice. The clock are already described in DT as fixed-clock , there is fixed clock driver which binds to those clock based on their DT description , the problem here seems to be related to the look up of those 24 MHz or 32 kHz clock, not their (re)registration.

Reply via email to