summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorCarlo Caione <carlo@endlessm.com>2018-06-11 22:00:48 +0300
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2018-07-21 02:55:27 +0300
commit0d4d5fd73cf9e4851e84df09972e928641136314 (patch)
tree84afd622f0d7c02afa3d7e814c59d8ddb1489a89 /arch
parentabb8fad0970f824f3550f7b93a2508bf06e477d0 (diff)
downloadu-boot-0d4d5fd73cf9e4851e84df09972e928641136314.tar.xz
rk3288: veyron: Init boot-on regulators
Use regulators_enable_boot_on() to init all the regulators with regulator-boot-on property. Signed-off-by: Carlo Caione <carlo@endlessm.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-rockchip/rk3288-board.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-rockchip/rk3288-board.c b/arch/arm/mach-rockchip/rk3288-board.c
index 8c128d4f94..0365793009 100644
--- a/arch/arm/mach-rockchip/rk3288-board.c
+++ b/arch/arm/mach-rockchip/rk3288-board.c
@@ -122,6 +122,12 @@ static int veyron_init(void)
if (IS_ERR_VALUE(ret))
return ret;
+ ret = regulators_enable_boot_on(false);
+ if (ret) {
+ debug("%s: Cannot enable boot on regulators\n", __func__);
+ return ret;
+ }
+
return 0;
}
#endif