aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ford2017-04-26 13:41:31 -0500
committerTom Rini2017-05-09 20:35:38 -0400
commit7815c709ab2818448dbce3f7f16c97c864adbe58 (patch)
tree106781ce52a70acbb465be6ffa5606150ab6b04b
parent4c2fb5fcc8159b1610dbb169f9acea2c043e7cc2 (diff)
power: twl4030: Move CONFIG_TWL4030_POWER to Kconfig
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>
-rw-r--r--arch/arm/mach-omap2/Kconfig1
-rw-r--r--drivers/power/Kconfig7
2 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index 93fb3208a13..6d8c3e4298f 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -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"
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index 911ecb1144a..a7d56e605d7 100644
--- a/drivers/power/Kconfig
+++ b/drivers/power/Kconfig
@@ -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