]> git.baikalelectronics.ru Git - uboot.git/commitdiff
rk3288: veyron: Init boot-on regulators
authorCarlo Caione <carlo@endlessm.com>
Mon, 11 Jun 2018 19:00:48 +0000 (20:00 +0100)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 20 Jul 2018 23:55:27 +0000 (01:55 +0200)
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>
arch/arm/mach-rockchip/rk3288-board.c

index 8c128d4f94d0bc7bcde0c110aa9a2f4e6242a285..0365793009ed174377cc61573a5088acd4e49659 100644 (file)
@@ -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