
12 Apr
2024
12 Apr
'24
9:45 p.m.
On Fri, Apr 12, 2024 at 08:04:02PM +0100, Caleb Connolly wrote:
Introduce a new EVT_OF_LIVE event to allow for the livetree to be modified before dm_init_and_scan(). Boards can perform fixups here to handle incompatibilities between U-Boot drivers and upstream DT.
This will be used by Qualcomm platforms in future patches to enable setting the dr_mode property if the board doesn't provide one. This has to be set before dm_init_and_scan() is called as this property effects the binding of drivers.
This doesn't quite explain why the answer isn't "fix the device tree source" and instead "perform a live fixup". Thanks.
--
Tom