From 30ccd8a3856b89e51065598692d0643b02c8e4c9 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Tue, 17 Feb 2009 15:59:38 +0000 Subject: [PATCH] --- yaml --- r: 149246 b: refs/heads/master c: ecc558acaba9ca1c6e2e7b54a1edb73ee391ae17 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-s3c6410/Kconfig | 17 +++ trunk/arch/arm/mach-s3c6410/mach-smdk6410.c | 131 ++++++++++++++++++++ 3 files changed, 149 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 2ffd916e75f4..c213c62abd99 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3056ea0afba83d19af5f1f3daf6ed7211f0717da +refs/heads/master: ecc558acaba9ca1c6e2e7b54a1edb73ee391ae17 diff --git a/trunk/arch/arm/mach-s3c6410/Kconfig b/trunk/arch/arm/mach-s3c6410/Kconfig index 1d5010070027..ffa4974efddf 100644 --- a/trunk/arch/arm/mach-s3c6410/Kconfig +++ b/trunk/arch/arm/mach-s3c6410/Kconfig @@ -60,3 +60,20 @@ config SMDK6410_SD_CH1 channels 0 and 1 are the same. endchoice + +config SMDK6410_WM1190_EV1 + bool "Support Wolfson Microelectronics 1190-EV1 PMIC card" + depends on MACH_SMDK6410 + select REGULATOR + select REGULATOR_WM8350 + select MFD_WM8350_I2C + select MFD_WM8350_CONFIG_MODE_0 + select MFD_WM8350_CONFIG_MODE_3 + select MFD_WM8352_CONFIG_MODE_0 + help + The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC + and audio daughtercard for the Samsung SMDK6410 reference + platform. Enabling this option will build support for this + module into the kernel. The presence of the module will be + detected at runtime so the the resulting kernel can be used + with or without the 1190-EV1 fitted. diff --git a/trunk/arch/arm/mach-s3c6410/mach-smdk6410.c b/trunk/arch/arm/mach-s3c6410/mach-smdk6410.c index dfd84d00f8d0..466dee0954f4 100644 --- a/trunk/arch/arm/mach-s3c6410/mach-smdk6410.c +++ b/trunk/arch/arm/mach-s3c6410/mach-smdk6410.c @@ -26,6 +26,11 @@ #include #include +#ifdef CONFIG_SMDK6410_WM1190_EV1 +#include +#include +#endif + #include