[U-Boot] [PATCH 1/2] power: twl4030: Move CONFIG_TWL4030_POWER to Kconfig

Adam Ford aford173 at gmail.com
Wed Apr 26 18:41:31 UTC 2017


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 at gmail.com>

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 7812f21..f9ecded 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -702,6 +702,7 @@ config OMAP34XX
 	imply SPL_POWER_SUPPORT
 	imply SPL_SERIAL_SUPPORT
 	imply SYS_THUMB_BUILD
+	imply TWL4030_POWER
 
 config OMAP44XX
 	bool "OMAP44XX SoC"
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index 64e5bc2..4b00b35 100644
--- a/drivers/power/Kconfig
+++ b/drivers/power/Kconfig
@@ -304,4 +304,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
-- 
2.7.4



More information about the U-Boot mailing list