Re: [PATCH v2] Add new `export-symbols` node
Luca Ceresoli <[email protected]>
| Newsgroups | org.kernel.vger.devicetree-spec |
|---|---|
| Organization | Bootlin |
| Message-ID | <20250408130304.2e765fea@booty> |
Hello Ayush, On Sun, 23 Mar 2025 18:37:27 +0530 Ayush Singh <[email protected]> wrote: > `export-symbols` is designed to be a local replacement of global > `__symbols__` allowing nodes to define aliases to nodes in a tree, which > will take precedence over the aliases defined in the global `__symbols__`. > > Having a way to allow node local aliases helps in usecases such as > connectors and addon-boards, by allowing decoupling of > overlays/devicetree nodes of addon-board from the base connector. > > Reviewed-by: Herve Codina <[email protected]> > Signed-off-by: Ayush Singh <[email protected]> Thank you for the very detailed explanation. There has been a lot of discussion and brainstorming about this topic, for various use cases, and various alternatives proposed (as in the "Alternatives" section). I think all known options have been explored, and this is the best one definitely. To me it is very important that it avoids polluting the whole DT namespace as __symbols__ does, and some implementations are already public so it is proven to work in the practice. Reviewed-by: Luca Ceresoli <[email protected]> -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com