power: regulator: Add support for regulator-force-boot-off
authorKonstantin Porotchkin <kostap@marvell.com>
Mon, 29 May 2017 12:59:38 +0000 (15:59 +0300)
committerStefan Roese <sr@denx.de>
Thu, 29 Apr 2021 05:38:57 +0000 (07:38 +0200)
commitfec8c900c8b2a08661f6ac3e1e71d6af6aaa67cd
treeb37837fba8d03d6732897ccc081036d7720f8c44
parent939c4934c8e91b34b258c9487be6a889a6a43546
power: regulator: Add support for regulator-force-boot-off

Add support for regulator-force-boot-off DT property.
This property can be used by the board/device drivers for
turning off regulators on early init stages as pre-requisite
for the other components initialization.

Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/power/regulator/regulator-uclass.c
include/power/regulator.h