Re: [PATCH v8 1/8] of/platform: Allow overlays to create platform devices from the root node

2024-07-29 Thread Stephen Boyd
Quoting Stephen Boyd (2024-07-18 14:05:00) > We'd like to apply overlays to the root node in KUnit so we can test > platform devices created as children of the root node. > > On some architectures (powerpc), the root node isn't marked with > OF_POPULATED_BUS. If an overlay tries to modify the root

[PATCH v8 1/8] of/platform: Allow overlays to create platform devices from the root node

2024-07-18 Thread Stephen Boyd
We'd like to apply overlays to the root node in KUnit so we can test platform devices created as children of the root node. On some architectures (powerpc), the root node isn't marked with OF_POPULATED_BUS. If an overlay tries to modify the root node on these platforms it will fail, while on other