aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-19 11:37:06 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-23 08:30:43 -0400
commit3afbac957e3c59037a4ecaf19d68f6c8104299fc (patch)
tree14b9e8132f1719249074e296f4876f760e9ac1f9 /drivers
parentb20155e4bacfd74b3ddc9fd799438a4dd33b7a36 (diff)
mfd: wm5102: Build system hookup
Several forthcoming Wolfson devices are based on a common platform known as Arizona allowing a great deal of reuse of driver code. This patch adds the build system hookup for the core driver and the WM5102. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/Kconfig29
-rw-r--r--drivers/mfd/Makefile7
2 files changed, 36 insertions, 0 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index e129c820df7d..238e4df8a089 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -479,6 +479,35 @@ config MFD_S5M_CORE
479 additional drivers must be enabled in order to use the functionality 479 additional drivers must be enabled in order to use the functionality
480 of the device 480 of the device
481 481
482config MFD_ARIZONA
483 tristate
484
485config MFD_ARIZONA_I2C
486 tristate "Support Wolfson Microelectronics Arizona platform with I2C"
487 select MFD_ARIZONA
488 select MFD_CORE
489 select REGMAP_I2C
490 depends on I2C
491 help
492 Support for the Wolfson Microelectronics Arizona platform audio SoC
493 core functionality controlled via I2C.
494
495config MFD_ARIZONA_SPI
496 tristate "Support Wolfson Microelectronics Arizona platform with SPI"
497 select MFD_ARIZONA
498 select MFD_CORE
499 select REGMAP_SPI
500 depends on SPI_MASTER
501 help
502 Support for the Wolfson Microelectronics Arizona platform audio SoC
503 core functionality controlled via I2C.
504
505config MFD_WM5102
506 bool "Support Wolfson Microelectronics WM5102"
507 depends on MFD_ARIZONA
508 help
509 Support for Wolfson Microelectronics WM5102 low power audio SoC
510
482config MFD_WM8400 511config MFD_WM8400
483 bool "Support Wolfson Microelectronics WM8400" 512 bool "Support Wolfson Microelectronics WM8400"
484 select MFD_CORE 513 select MFD_CORE
diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile
index 75f6ed68a4b9..d29a96d4267f 100644
--- a/drivers/mfd/Makefile
+++ b/drivers/mfd/Makefile
@@ -24,6 +24,13 @@ obj-$(CONFIG_MFD_T7L66XB) += t7l66xb.o tmio_core.o
24obj-$(CONFIG_MFD_TC6387XB) += tc6387xb.o tmio_core.o 24obj-$(CONFIG_MFD_TC6387XB) += tc6387xb.o tmio_core.o
25obj-$(CONFIG_MFD_TC6393XB) += tc6393xb.o tmio_core.o 25obj-$(CONFIG_MFD_TC6393XB) += tc6393xb.o tmio_core.o
26 26
27obj-$(CONFIG_MFD_ARIZONA) += arizona-core.o
28obj-$(CONFIG_MFD_ARIZONA) += arizona-irq.o
29obj-$(CONFIG_MFD_ARIZONA_I2C) += arizona-i2c.o
30obj-$(CONFIG_MFD_ARIZONA_SPI) += arizona-spi.o
31ifneq ($(CONFIG_MFD_WM5102),n)
32obj-$(CONFIG_MFD_ARIZONA) += wm5102-tables.o
33endif
27obj-$(CONFIG_MFD_WM8400) += wm8400-core.o 34obj-$(CONFIG_MFD_WM8400) += wm8400-core.o
28wm831x-objs := wm831x-core.o wm831x-irq.o wm831x-otp.o 35wm831x-objs := wm831x-core.o wm831x-irq.o wm831x-otp.o
29wm831x-objs += wm831x-auxadc.o 36wm831x-objs += wm831x-auxadc.o