diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-10-19 17:57:56 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-10-28 18:30:24 -0400 |
commit | e5b486841d572c5ac83c798f82f4f67cbbac5320 (patch) | |
tree | 162b0c3f058fb461515a06614711a717d6807bb8 /drivers/mfd/Kconfig | |
parent | 00969f23dae70f62d7ce3f7abbbfb6d09ef92739 (diff) |
mfd: Factor out WM831x I2C I/O from the core driver
In preparation for the addition of SPI support for the WM831x move the I2C
specific code into a separate file with a separate Kconfig option so the
I2C support can be excluded from the build.
Also update the 1133-EV1 PMIC module support for SMDK6410 to use the new
symbol.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r-- | drivers/mfd/Kconfig | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 6c6b9f02d177..2fb1e892331c 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig | |||
@@ -315,14 +315,19 @@ config MFD_WM8400 | |||
315 | the functionality of the device. | 315 | the functionality of the device. |
316 | 316 | ||
317 | config MFD_WM831X | 317 | config MFD_WM831X |
318 | bool "Support Wolfson Microelectronics WM831x/2x PMICs" | 318 | bool |
319 | depends on GENERIC_HARDIRQS | ||
320 | |||
321 | config MFD_WM831X_I2C | ||
322 | bool "Support Wolfson Microelectronics WM831x/2x PMICs with I2C" | ||
319 | select MFD_CORE | 323 | select MFD_CORE |
324 | select MFD_WM831X | ||
320 | depends on I2C=y && GENERIC_HARDIRQS | 325 | depends on I2C=y && GENERIC_HARDIRQS |
321 | help | 326 | help |
322 | Support for the Wolfson Microelecronics WM831x and WM832x PMICs. | 327 | Support for the Wolfson Microelecronics WM831x and WM832x PMICs |
323 | This driver provides common support for accessing the device, | 328 | when controlled using I2C. This driver provides common support |
324 | additional drivers must be enabled in order to use the | 329 | for accessing the device, additional drivers must be enabled in |
325 | functionality of the device. | 330 | order to use the functionality of the device. |
326 | 331 | ||
327 | config MFD_WM8350 | 332 | config MFD_WM8350 |
328 | bool | 333 | bool |