[PATCH 2/2] dm: core: Add a way to skip powering down power domains

sjg at google.com sjg at google.com
Fri Apr 10 21:31:07 CEST 2020


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 at chromium.org>
---

 drivers/core/device-remove.c |  3 ++-
 drivers/core/uclass.c        |  2 +-
 include/dm/device.h          | 11 +++++++----
 3 files changed, 10 insertions(+), 6 deletions(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list