Re: [PATCH 3/3] dm: core: regmap: Avoid multiple calls to ofnode_get_parent()

2024-08-06 Thread Simon Glass
On Sun, 4 Aug 2024 at 09:06, Jonas Karlman wrote: > > Until a live tree is used in U-Boot proper after relocation, use of > ofnode_get_parent() will trigger a call to the very expensive > fdt_parent_offset(), as detailed by the function documentation: > > NOTE: This function is expensive, as it

[PATCH 3/3] dm: core: regmap: Avoid multiple calls to ofnode_get_parent()

2024-08-04 Thread Jonas Karlman
Until a live tree is used in U-Boot proper after relocation, use of ofnode_get_parent() will trigger a call to the very expensive fdt_parent_offset(), as detailed by the function documentation: NOTE: This function is expensive, as it must scan the device tree structure from the start to nodeof