Re: [PATCH V2] dm: core: Add late driver remove option

2020-08-18 Thread Simon Glass
Hi Stefan, On Tue, 18 Aug 2020 at 08:13, Stefan Roese wrote: > > Hi Simon, > > On 18.08.20 15:22, Simon Glass wrote: > > Hi Marek, > > > > +Stefan Roese who wrote the existing code. > > Hmmm, I was not Cc'ed. > > > On Fri, 7 Aug 2020 at 15:40, Marek Vasut wrote: > >> > >> On 8/7/20 6:23 PM, Simo

Re: [PATCH V2] dm: core: Add late driver remove option

2020-08-18 Thread Stefan Roese
Hi Simon, On 18.08.20 15:22, Simon Glass wrote: Hi Marek, +Stefan Roese who wrote the existing code. Hmmm, I was not Cc'ed. On Fri, 7 Aug 2020 at 15:40, Marek Vasut wrote: On 8/7/20 6:23 PM, Simon Glass wrote: [...] diff --git a/drivers/core/device-remove.c b/drivers/core/device-remov

Re: [PATCH V2] dm: core: Add late driver remove option

2020-08-18 Thread Simon Glass
Hi Marek, +Stefan Roese who wrote the existing code. On Fri, 7 Aug 2020 at 15:40, Marek Vasut wrote: > > On 8/7/20 6:23 PM, Simon Glass wrote: > > [...] > > >> diff --git a/drivers/core/device-remove.c b/drivers/core/device-remove.c > >> index efdb0f2905..07b241b6bb 100644 > >> --- a/drivers/cor

Re: [PATCH V2] dm: core: Add late driver remove option

2020-08-07 Thread Marek Vasut
On 8/7/20 6:23 PM, Simon Glass wrote: [...] >> diff --git a/drivers/core/device-remove.c b/drivers/core/device-remove.c >> index efdb0f2905..07b241b6bb 100644 >> --- a/drivers/core/device-remove.c >> +++ b/drivers/core/device-remove.c >> @@ -172,14 +172,19 @@ int device_remove(struct udevice *dev

Re: [PATCH V2] dm: core: Add late driver remove option

2020-08-07 Thread Simon Glass
Hi Marek, On Sun, 2 Aug 2020 at 09:06, Marek Vasut wrote: > > Add another flag to the DM core which could be assigned to drivers and > which makes those drivers call their remove callbacks last, just before > booting OS and after all the other drivers finished with their remove > callbacks. This

[PATCH V2] dm: core: Add late driver remove option

2020-08-02 Thread Marek Vasut
Add another flag to the DM core which could be assigned to drivers and which makes those drivers call their remove callbacks last, just before booting OS and after all the other drivers finished with their remove callbacks. This is necessary for things like clock drivers, where the other drivers mi