On Fri, Aug 24, 2018 at 10:14:01AM -0500, Rob Herring wrote:
Another question: Is there ever a case where the node name in the path
aka 'driver-name' doesn't match the 'name' property? I think this
generally can't happen on FDT as the 'name' property is generated when
we unflatten it though I suppose one could craft an FDT with name
properties.
In Open Firmware, it *is* the "name" property :-)
There's also various places in the kernel that check for a NULL name
which doesn't seem like it could happen either other than the root
node.
In Open Firmware the root node is required to have a "name" property, too.
There are systems that violate that rule (as with most rules...)
Segher