]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: omap3_logic: Enable DM_PMIC and DM_REGULATOR
authorAdam Ford <aford173@gmail.com>
Mon, 3 Sep 2018 19:05:41 +0000 (14:05 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 12 Sep 2018 01:43:26 +0000 (21:43 -0400)
Enabling DM_PMIC, DM_REGULATOR_FIXED, and DM_REGULATOR_GPIO
gives us the ability to better monitor voltages and enable
hardware through the device tree. The TL4030 (TPS65950) is
not yet migrated to DM, so this patch only enables the fixed
and GPIO controlled regulators.

Signed-off-by: Adam Ford <aford173@gmail.com>
configs/omap3_logic_defconfig

index cea4e5521d5b52170194b8340dcad856af2cafa1..9b50a300a0d9a20a5a13dcbdb5d8ea94a27cfdeb 100644 (file)
@@ -50,6 +50,11 @@ CONFIG_SMC911X_BASE=0x08000000
 CONFIG_SMC911X_32_BIT=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_SINGLE=y
+CONFIG_DM_PMIC=y
+# CONFIG_SPL_PMIC_CHILDREN is not set
+CONFIG_DM_REGULATOR=y
+CONFIG_DM_REGULATOR_FIXED=y
+CONFIG_DM_REGULATOR_GPIO=y
 CONFIG_SPECIFY_CONSOLE_INDEX=y
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y