]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
power: twl4030: Move CONFIG_TWL4030_POWER to Kconfig
authorAdam Ford <aford173@gmail.com>
Wed, 26 Apr 2017 18:41:31 +0000 (13:41 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 10 May 2017 00:35:38 +0000 (20:35 -0400)
As requested, I added the CONFIG_TWL4030_POWER to Kconfig and made it
the implied default when selecting OMAP34XX as a platform.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-omap2/Kconfig
drivers/power/Kconfig

index 93fb3208a138480cefb26f4a8fa284db963f8b4b..6d8c3e4298f158d94fc55313d5e8f48d43e4e90c 100644 (file)
@@ -79,6 +79,7 @@ config OMAP34XX
        imply SPL_POWER_SUPPORT
        imply SPL_SERIAL_SUPPORT
        imply SYS_THUMB_BUILD
+       imply TWL4030_POWER
 
 config OMAP44XX
        bool "OMAP44XX SoC"
index 911ecb1144a6c8608d738b76cec09c8face4a3c5..a7d56e605d722a7761517cb3c2656d67c2a738a1 100644 (file)
@@ -308,4 +308,11 @@ config SY8106A_VOUT1_VOLT
        is typically used to power the VDD-CPU and should be 1200mV.
        Values can range from 680mV till 1950mV.
 
+config TWL4030_POWER
+       depends on OMAP34XX
+       bool "Enable driver for TI TWL4030 power management chip"
+       ---help---
+       The TWL4030 in a combination audio CODEC/power management with
+       GPIO and it is commonly used with the OMAP3 family of processors
+
 endmenu