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

2024-07-16 Thread Geert Uytterhoeven
On Tue, Jul 16, 2024 at 11:48 AM Geert Uytterhoeven wrote: > On Wed, Jul 10, 2024 at 10:14 PM Stephen Boyd wrote: > > 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 n

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

2024-07-16 Thread Geert Uytterhoeven
Hi Stephen, On Wed, Jul 10, 2024 at 10:14 PM Stephen Boyd wrote: > 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 t

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

2024-07-15 Thread Stephen Boyd
Quoting Stephen Boyd (2024-07-10 13:12:37) > 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 v7 1/8] of/platform: Allow overlays to create platform devices from the root node

2024-07-10 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