]> git.baikalelectronics.ru Git - uboot.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)
commit1787deb1b74bfa8bf927c008c702176a3cf786cd
treecbeb12fd9bf49b10cb2cfc9034c81e045ae14160
parent6c21be148f6375d4bc80278fec645d7223cb1c8f
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