[PATCH 1/2] dm: core: Add a flag for power domain control on device removal

sjg at google.com sjg at google.com
Tue Mar 3 03:46:09 CET 2020


Hi Anatolij,

On Tue, 18 Feb 2020 at 12:42, Anatolij Gustschin <agust at denx.de> wrote:
>
> Hi Simon,
>
> On Tue, 18 Feb 2020 11:31:26 -0700
> Simon Glass sjg at chromium.org wrote:
>
> > Hi Anatolij,
> >
> > On Mon, 17 Feb 2020 at 04:36, Anatolij Gustschin <agust at denx.de> wrote:
> > >
> > > In various cases a power domain must stay enabled after device
> > > removal when booting OS (i.e. serial debug console or display).
> > > Add a flag to selectively skip switching off a power domain.
> > >
> > > Fixes: 52edfed65de9 ("dm: core: device: switch off power domain after device removal")
> > > Signed-off-by: Anatolij Gustschin <agust at denx.de>
> > > ---
> > >  drivers/core/device-remove.c | 5 +++--
> > >  include/dm/device.h          | 6 ++++++
> > >  2 files changed, 9 insertions(+), 2 deletions(-)
> >
> > This seems OK. Should we add a device tree property for this? Or is
> > the driver-level side enough.
>
> For all potential users I'm currently aware of the driver-level
> side is enough. Should this ever be required per device, then we
> can add a property later.

Reviewed-by: Simon Glass <sjg at chromium.org>

Thanks,
Simon

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list