Re: [PATCH v5 7/7] dts: ti: k3-am625-beagleplay: Add mikroBUS

Andrew Lunn
2024-06-27T18:54:07Z

> Can you suggest how something similar will be possible if the board node is
> a child of the connector node? Maybe it is possible to take a generic dt
> overlay and change the name of parent node on it or something?

Maybe that answers my question on an earlier patch.

So the parent node of the overlay is embedded inside the overlay?

Making a guess without looking at the code... The code loading an
overlay must first parse the overlay and find that node name. It then
must somehow traverses the graph, and find that node. It then must
apply the overlay at that point.

Could you not take this code apart, so you can pass it the name of the
node you want to apply the overlay to, rather than read it from the
overlay itself? The connector should known its own node in the
graph. So it can find the overlay, load it, and then ask for it to be
applied over itself.

Andrew