Re: [PATCH v2 2/4] of: support of_ensure_probed for top-level machine device

2023-03-13 Thread Ahmad Fatoum
Hello Michael, On 13.03.23 08:05, Michael Riesch wrote: > I can sketch a patch that triggers this behavior on a Radxa ROCK3. > Similar to my board code, this happens in the scope of a board probe > function. Please find the sketch below. > > Basing on the current next: [snip] I see now how

Re: [PATCH v2 2/4] of: support of_ensure_probed for top-level machine device

2023-03-13 Thread Michael Riesch
Hi Ahmad, On 3/10/23 17:19, Ahmad Fatoum wrote: > On 10.03.23 15:46, Michael Riesch wrote: >> Hi Ahmad, >> >> On 2/10/23 17:53, Ahmad Fatoum wrote: >>> Creation of a machine device for the top-level node has special casing >>> in of_probe(). Export of_platform_device_create_root(), so it's

Re: [PATCH v2 2/4] of: support of_ensure_probed for top-level machine device

2023-03-10 Thread Ahmad Fatoum
On 10.03.23 15:46, Michael Riesch wrote: > Hi Ahmad, > > On 2/10/23 17:53, Ahmad Fatoum wrote: >> Creation of a machine device for the top-level node has special casing >> in of_probe(). Export of_platform_device_create_root(), so it's possible >> to ensure probe of the machine device. This is

Re: [PATCH v2 2/4] of: support of_ensure_probed for top-level machine device

2023-03-10 Thread Michael Riesch
Hi Ahmad, On 2/10/23 17:53, Ahmad Fatoum wrote: > Creation of a machine device for the top-level node has special casing > in of_probe(). Export of_platform_device_create_root(), so it's possible > to ensure probe of the machine device. This is required when doing >

[PATCH v2 2/4] of: support of_ensure_probed for top-level machine device

2023-02-10 Thread Ahmad Fatoum
Creation of a machine device for the top-level node has special casing in of_probe(). Export of_platform_device_create_root(), so it's possible to ensure probe of the machine device. This is required when doing of_devices_ensure_probed_by_dev_id with the machine compatible. Signed-off-by: Ahmad