]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Add a way to skip powering down power domains
authorSimon Glass <sjg@chromium.org>
Sat, 28 Mar 2020 20:03:48 +0000 (14:03 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 16 Apr 2020 14:07:58 +0000 (08:07 -0600)
commitced1080489077ab9943c319a38c2d89adb215f1f
treecbeb12fd9bf49b10cb2cfc9034c81e045ae14160
parent8474da946f58a127b2006c526ae6f9b5a968d422
dm: core: Add a way to skip powering down power domains

When removing a device the power domains it uses are generally powered
off. But when we are trying to unbind all devices (e.g. for running tests)
we don't want to probe a device in the 'remove' path.

Add a new flag to skip this power-down step.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/device-remove.c
drivers/core/uclass.c
include/dm/device.h