From: Mark Brown Date: Tue, 17 Feb 2009 15:59:38 +0000 (+0000) Subject: [ARM] SMDK6410: Support WM1190-EV1 PMIC board X-Git-Tag: master-2009-06-15~21^2~9^2~10^2~12^2~5 X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=ecc558acaba9ca1c6e2e7b54a1edb73ee391ae17;p=~andy%2Flinux [ARM] SMDK6410: Support WM1190-EV1 PMIC board The SMDK6410 supports pluggable PMIC boards. One such board is the Wolfson Microelectronics 1190-EV1 for the WM8350 PMICs. This patch introduces initial support for this module. Further patches will add additional integration with the system as support for the S3C6410 and other devices on the system improves. Signed-off-by: Mark Brown Signed-off-by: Ben Dooks --- diff --git a/arch/arm/mach-s3c6410/Kconfig b/arch/arm/mach-s3c6410/Kconfig index 1d501007002..ffa4974efdd 100644 --- a/arch/arm/mach-s3c6410/Kconfig +++ b/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/arch/arm/mach-s3c6410/mach-smdk6410.c b/arch/arm/mach-s3c6410/mach-smdk6410.c index dfd84d00f8d..466dee0954f 100644 --- a/arch/arm/mach-s3c6410/mach-smdk6410.c +++ b/arch/arm/mach-s3c6410/mach-smdk6410.c @@ -26,6 +26,11 @@ #include #include +#ifdef CONFIG_SMDK6410_WM1190_EV1 +#include +#include +#endif + #include