[PATCH] power-domain: fix hang in endless loop on i.MX8

Peng Fan peng.fan at nxp.com
Mon Feb 17 03:44:46 CET 2020


> Subject: Re: [PATCH] power-domain: fix hang in endless loop on i.MX8
> 
> Hi Simon, Peng,
> 
> On Sun, 16 Feb 2020 12:02:55 -0700
> Simon Glass sjg at chromium.org wrote:
> ...
> > >  drivers/power/domain/power-domain-uclass.c | 12 ++++++++++++
> > >  1 file changed, 12 insertions(+)
> >
> > Can we have a sandbox test for this case?
> 
> I didn't check if there are more platforms with such parent & child power
> domain devices in U-Boot. If there are some, then it makes sense to add a
> test. But for this i.MX8 case we will probably switch to another power domain
> bindings and driver like in Linux (we have to sync i.MX8 device trees with
> current Linux implementation which is different and it doesn't have such
> parent/child PD devices).
> 
> The current i.MX8 PD U-Boot implementation seems wrong anyway, here the
> parent power domain devices for dma, connectivity or lsio domains actually
> do not control power switching, so there is no need to have such parent&child
> PD devices on i.MX8.
> 
> @Peng: what do you think?

The current i.MX8 power domain driver needs finally be dropped. But I am still
waiting the i.MX8 linux dts restructure from Aisheng ready, pending for long time.

With Linux dts synced, there will no such parent/child in dts.

Regards,
Peng.


> 
> --
> Anatolij


More information about the U-Boot mailing list