Re: [RFC PATCH 11/15] flattree: Handle unknown tags
"Luca Ceresoli" <[email protected]> Wed, 01 Apr 2026 17:15:20 +0200
| Newsgroups | org.kernel.vger.devicetree-spec,org.kernel.vger.devicetree-compiler,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Tue Feb 10, 2026 at 6:33 PM CET, Herve Codina wrote: > The structured tag value definition introduced recently gives the > ability to ignore unknown tags without any error when they are read. > > Handle those structured tag. > > Signed-off-by: Herve Codina <[email protected]> > +++ b/tests/unknown_tags_can_skip.dtb.dts.expect > @@ -0,0 +1,19 @@ > +/dts-v1/; > + > +/ { > + prop-int =3D <0x01>; > + prop-str =3D "abcd"; > + > + subnode1 { > + prop-int =3D <0x01 0x02>; > + }; > + > + subnode2 { > + prop-int1 =3D <0x01 0x02>; > + prop-int2 =3D <0x01 0x02>; > + > + subsubnode { > + prop-int =3D <0x01 0x02>; > + }; > + }; > +}; Of course this will need updating in case you adopt the changes to the tests I suggested in patch 10. With that done: Reviewed-by: Luca Ceresoli <[email protected]> Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com