diff options
author | Mattias Wallin <mattias.wallin@stericsson.com> | 2010-09-15 07:12:03 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-10-28 18:29:26 -0400 |
commit | 39368eda96c0a54ea0b3c6066b08e46b37f7905f (patch) | |
tree | 5fdae9213f8a3dbce2ea78f8176bcac07aced621 /drivers/mfd/Kconfig | |
parent | 5814fc35e1837e30b82c3d57f41310d4c4c52824 (diff) |
mfd: AB8500 register access via PRCMU I2C
This patch adds the choice of accessing the AB8500 registers
via prcmu I2C. Access either via SPI or I2C is supported.
Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com>
Acked-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/Kconfig | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index e310cb26f520..01c928bca099 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig | |||
@@ -475,14 +475,25 @@ config EZX_PCAP | |||
475 | 475 | ||
476 | config AB8500_CORE | 476 | config AB8500_CORE |
477 | bool "ST-Ericsson AB8500 Mixed Signal Power Management chip" | 477 | bool "ST-Ericsson AB8500 Mixed Signal Power Management chip" |
478 | depends on SPI=y && GENERIC_HARDIRQS && ABX500_CORE | 478 | depends on GENERIC_HARDIRQS && ABX500_CORE && SPI_MASTER |
479 | select MFD_CORE | 479 | select MFD_CORE |
480 | help | 480 | help |
481 | Select this option to enable access to AB8500 power management | 481 | Select this option to enable access to AB8500 power management |
482 | chip. This connects to U8500 on the SSP/SPI bus and exports | 482 | chip. This connects to U8500 either on the SSP/SPI bus |
483 | read/write functions for the devices to get access to this chip. | 483 | or the I2C bus via PRCMU. It also adds the irq_chip |
484 | parts for handling the Mixed Signal chip events. | ||
484 | This chip embeds various other multimedia funtionalities as well. | 485 | This chip embeds various other multimedia funtionalities as well. |
485 | 486 | ||
487 | config AB8500_I2C_CORE | ||
488 | bool "AB8500 register access via PRCMU I2C" | ||
489 | depends on AB8500_CORE && UX500_SOC_DB8500 | ||
490 | default y | ||
491 | help | ||
492 | This enables register access to the AB8500 chip via PRCMU I2C. | ||
493 | The AB8500 chip can be accessed via SPI or I2C. On DB8500 hardware | ||
494 | the I2C bus is connected to the Power Reset | ||
495 | and Mangagement Unit, PRCMU. | ||
496 | |||
486 | config AB8500_DEBUG | 497 | config AB8500_DEBUG |
487 | bool "Enable debug info via debugfs" | 498 | bool "Enable debug info via debugfs" |
488 | depends on AB8500_CORE && DEBUG_FS | 499 | depends on AB8500_CORE && DEBUG_FS |