Kconfig is modified so that PMIC TWL4030 is automatically selected for
platforms using it. It is required to compile twl4030-pmic.c in the build.

Signed-off-by: Anuj Aggarwal <anuj.aggar...@ti.com>
---
 arch/arm/mach-omap2/Kconfig |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index 1974dda..f58f321 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -57,6 +57,7 @@ config MACH_OMAP3_BEAGLE
        bool "OMAP3 BEAGLE board"
        depends on ARCH_OMAP3
        select OMAP_PACKAGE_CBB
+       select PMIC_TWL4030

 config MACH_DEVKIT8000
         bool "DEVKIT8000 board"
@@ -66,16 +67,19 @@ config MACH_OMAP_LDP
        bool "OMAP3 LDP board"
        depends on ARCH_OMAP3
        select OMAP_PACKAGE_CBB
+       select PMIC_TWL4030

 config MACH_OVERO
        bool "Gumstix Overo board"
        depends on ARCH_OMAP3
        select OMAP_PACKAGE_CBB
+       select PMIC_TWL4030

 config MACH_OMAP3EVM
        bool "OMAP 3530 EVM board"
        depends on ARCH_OMAP3
        select OMAP_PACKAGE_CBB
+       select PMIC_TWL4030

 config PMIC_TWL4030
        bool "TWL4030/TPS65950 Power Module"
@@ -100,11 +104,13 @@ config MACH_OMAP3_TOUCHBOOK
        bool "OMAP3 Touch Book"
        depends on ARCH_OMAP3
        select BACKLIGHT_CLASS_DEVICE
+       select PMIC_TWL4030

 config MACH_OMAP_3430SDP
        bool "OMAP 3430 SDP board"
        depends on ARCH_OMAP3
        select OMAP_PACKAGE_CBB
+       select PMIC_TWL4030

 config MACH_NOKIA_N800
        bool
@@ -131,27 +137,32 @@ config MACH_OMAP_ZOOM2
        bool "OMAP3 Zoom2 board"
        depends on ARCH_OMAP3
        select OMAP_PACKAGE_CBB
+       select PMIC_TWL4030

 config MACH_OMAP_ZOOM3
        bool "OMAP3630 Zoom3 board"
        depends on ARCH_OMAP3
        select OMAP_PACKAGE_CBP
+       select PMIC_TWL4030

 config MACH_CM_T35
        bool "CompuLab CM-T35 module"
        depends on ARCH_OMAP3
        select OMAP_PACKAGE_CUS
        select OMAP_MUX
+       select PMIC_TWL4030

 config MACH_IGEP0020
        bool "IGEP v2 board"
        depends on ARCH_OMAP3
        select OMAP_PACKAGE_CBB
+       select PMIC_TWL4030

 config MACH_OMAP_3630SDP
        bool "OMAP3630 SDP board"
        depends on ARCH_OMAP3
        select OMAP_PACKAGE_CBP
+       select PMIC_TWL4030

 config MACH_OMAP_4430SDP
        bool "OMAP 4430 SDP board"
--
1.6.2.4

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to