From 743f6c4ae12ee62d42c5a0626aa19ea6d2cdceb3 Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Thu, 26 Apr 2018 17:13:12 +0200 Subject: [PATCH] configs: stm32mp15_basic: Set regulator relative flags Enable DM_REGULATOR_STPMU1 flag to activate regulator driver for STM32MP15 SoC and CMD_REGULATOR flag to be able to set/get regulator state int U-boot command line. Disable PMIC_CHILDREN as this flag is not needed in SPL for STM32MP1. Signed-off-by: Patrice Chotard --- configs/stm32mp15_basic_defconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configs/stm32mp15_basic_defconfig b/configs/stm32mp15_basic_defconfig index 46790bbe0e..195efa1ce0 100644 --- a/configs/stm32mp15_basic_defconfig +++ b/configs/stm32mp15_basic_defconfig @@ -23,6 +23,7 @@ CONFIG_CMD_GPT=y CONFIG_CMD_I2C=y CONFIG_CMD_MMC=y CONFIG_CMD_PMIC=y +CONFIG_CMD_REGULATOR=y CONFIG_CMD_EXT4_WRITE=y # CONFIG_SPL_DOS_PARTITION is not set CONFIG_DM_I2C=y @@ -31,6 +32,10 @@ CONFIG_DM_MMC=y CONFIG_STM32_SDMMC2=y # CONFIG_SPL_PINCTRL_FULL is not set CONFIG_DM_PMIC=y +# CONFIG_SPL_PMIC_CHILDREN is not set CONFIG_PMIC_STPMU1=y +CONFIG_DM_REGULATOR=y +CONFIG_DM_REGULATOR_GPIO=y +CONFIG_DM_REGULATOR_STPMU1=y CONFIG_STM32_SERIAL=y # CONFIG_EFI_LOADER is not set -- 2.39.5