Thread (12 messages) 12 messages, 4 authors, 2025-03-03

Re: [RFC] dt-bindings: firmware: scmi: Introduce compatible string

From: Rob Herring <robh@kernel.org>
Date: 2025-02-28 14:17:17
Also in: arm-scmi, linux-devicetree, lkml

On Fri, Feb 28, 2025 at 8:04 AM Sudeep Holla [off-list ref] wrote:
On Fri, Feb 28, 2025 at 07:34:09AM -0600, Rob Herring wrote:
quoted
- The parent driver creates child devices. The child devices can
either reuse the parent DT node (i.e. set dev.of_node) or just get it
from the parent device if needed.
This is exactly what I was thinking to deal with the issue since this
discussion started. I will give this a go. I believe this must solve
the issue, but I didn't want to spit it out loud until I tried to hack
and check.
The issue with fw_devlink is that it only checks the dependency of the
parent which won't be enough. When the parent's probe creates the
child device, that doesn't mean the child has probed. The child driver
might not be loaded and/or probe is async. I don't think there's
anyway for the parent probe to wait for child drivers to be probed and
ready. I think there's similar issues with the DWC3 wrapper and core
driver split.

Rob
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help