Re: [PATCH 0/7] of: overlay: Add support for export-symbols node feature

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ayush,

On Wed, 8 Jan 2025 13:58:04 +0530
Ayush Singh <ayush@xxxxxxxxxxxxxxx> wrote:

...
> 
> I will experiment with adding support to dtc and see how things look. 
> Hopefully, 2025 is the year of addon board support.
> 

Also one point different between fdtoverlay an runtime loading is
that runtime loading allows to set the target node of the overlay
at runtime.

For instance, on LAN966X PCI driver, an overlay is loaded and
applied on a PCI device node.
The overlay loading is done by the PCI driver device:
  https://elixir.bootlin.com/linux/v6.13-rc1/source/drivers/misc/lan966x_pci.c#L131
The overlay loaded is the following one:
  https://elixir.bootlin.com/linux/v6.13-rc1/source/drivers/misc/lan966x_pci.dtso

For addon boards, this feature is also useful because without any
modification in the overlay itself, it can be applied on the correct
connector. This allows to support, without any overlay modification the
following cases:
 - A base board with multiple connectors where an addon board can be
   connected.
 - An addon board with its own DT overlay used on different base board

This feature is not supported by fdtoverlay. Maybe something like
  fdtoverlay --base=/somewhere/my_connector
could be implemented in fdtoverlay in order to choose the node where the
overlay has to be applied.

Best regards,
Hervé




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux