[PATCH v5 12/16] mach-snapdragon: call regulators_enable_boot_on()
Sumit Garg
sumit.garg at linaro.org
Mon Apr 1 06:48:03 CEST 2024
On Thu, 28 Mar 2024 at 23:29, Caleb Connolly <caleb.connolly at linaro.org> wrote:
>
> Make sure we power on any boot-on or always-on regulators. These are
> used for peripherals like USB on some platforms.
>
> Signed-off-by: Caleb Connolly <caleb.connolly at linaro.org>
> ---
> arch/arm/mach-snapdragon/board.c | 2 ++
> 1 file changed, 2 insertions(+)
>
Reviewed-by: Sumit Garg <sumit.garg at linaro.org>
-Sumit
> diff --git a/arch/arm/mach-snapdragon/board.c b/arch/arm/mach-snapdragon/board.c
> index 65e4c61e866a..3d5994c87886 100644
> --- a/arch/arm/mach-snapdragon/board.c
> +++ b/arch/arm/mach-snapdragon/board.c
> @@ -15,8 +15,9 @@
> #include <dm/device.h>
> #include <dm/pinctrl.h>
> #include <dm/uclass-internal.h>
> #include <dm/read.h>
> +#include <power/regulator.h>
> #include <env.h>
> #include <init.h>
> #include <linux/arm-smccc.h>
> #include <linux/bug.h>
> @@ -160,8 +161,9 @@ void __weak qcom_board_init(void)
> }
>
> int board_init(void)
> {
> + regulators_enable_boot_on(false);
> show_psci_version();
> qcom_of_fixup_nodes();
> qcom_board_init();
> return 0;
>
> --
> 2.44.0
>
More information about the U-Boot
mailing list