[PATCH v5 12/16] mach-snapdragon: call regulators_enable_boot_on()
Neil Armstrong
neil.armstrong at linaro.org
Tue Apr 2 10:32:28 CEST 2024
On 28/03/2024 18:59, Caleb Connolly 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(+)
>
> 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;
>
Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>
More information about the U-Boot
mailing list