aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/Kconfig
diff options
context:
space:
mode:
authorMattias Wallin <mattias.wallin@stericsson.com>2010-05-01 12:26:20 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2010-05-27 19:37:45 -0400
commitfa661258a27aa74aaf741882053d195291cefb75 (patch)
tree73b6e0c7156088f660de465555ee13226ac78242 /drivers/mfd/Kconfig
parent812f9e9d424dde9ccb35975c0281edb6f8543735 (diff)
mfd: AB3100 register access change to abx500 API
The interface for the AB3100 is changed to make way for the ABX500 family of chips: AB3550, AB5500 and future ST-Ericsson Analog Baseband chips. The register access functions are moved out to a separate struct abx500_ops. In this way the interface is moved from the implementation and the sub functionality drivers can keep their interface intact when chip infrastructure and communication mechanisms changes. We also define the AB3550 device IDs and the AB3550 platform data struct and convert the catenated 32bit event to an array of 3 x 8bits. Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r--drivers/mfd/Kconfig12
1 files changed, 11 insertions, 1 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 614fa7b8a054..1c3d737ec406 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -374,9 +374,19 @@ config PCF50633_GPIO
374 Say yes here if you want to include support GPIO for pins on 374 Say yes here if you want to include support GPIO for pins on
375 the PCF50633 chip. 375 the PCF50633 chip.
376 376
377config ABX500_CORE
378 bool "ST-Ericsson ABX500 Mixed Signal Circuit register functions"
379 default y if ARCH_U300
380 help
381 Say yes here if you have the ABX500 Mixed Signal IC family
382 chips. This core driver expose register access functions.
383 Functionality specific drivers using these functions can
384 remain unchanged when IC changes. Binding of the functions to
385 actual register access is done by the IC core driver.
386
377config AB3100_CORE 387config AB3100_CORE
378 bool "ST-Ericsson AB3100 Mixed Signal Circuit core functions" 388 bool "ST-Ericsson AB3100 Mixed Signal Circuit core functions"
379 depends on I2C=y 389 depends on I2C=y && ABX500_CORE
380 default y if ARCH_U300 390 default y if ARCH_U300
381 help 391 help
382 Select this to enable the AB3100 Mixed Signal IC core 392 Select this to enable the AB3100 Mixed Signal IC core