On Wed, Jul 03, 2024 at 06:58:31PM +0200, Marco Felsch wrote: > The current overlay mechanism can handle files only, so filepattern was > obvious. With the next commit this will change, so overlays can also > supplied via FIT images. To prepare the pattern filter to match FIT > config-nodes make the filter and global variable handling the pattern > more generic by dropping the "file" prefix. > > Keep the backward compatibility by still providing the filepattern > filter and the global of.overlay.filepattern variable but notice the > user that the usage of those are deprecated. > > No functional change. > > Signed-off-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx> > --- > drivers/of/overlay.c | 37 ++++++++++++++++++++++++++----------- > 1 file changed, 26 insertions(+), 11 deletions(-) Please update Documentation/user/devicetree.rst accordingly as well. Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |