On Fri, May 19, 2023 at 03:10:25PM +0100, Conor Dooley wrote: > On Fri, May 19, 2023 at 06:53:03AM +0000, Biju Das wrote: > > By enforcing "reg-names" as required property, dt can do some schema-validation > > forcing users to specify "reg-names" in device tree. > Is that not what we have the following for: > reg: > items: > - description: main register space... > - description: special sauce rtc stuff... > ? > The schema validation doesn't stop them putting in the wrong address > either way! Being able to look things up by name does help make the code using the binding more readable, and it helps with reading the DTs too.
Attachment:
signature.asc
Description: PGP signature