summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2011-09-22 08:22:33 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2011-10-24 14:09:16 +0200
commit94be70d4b279ba1b35119a3340833ffcc798c2e2 (patch)
treeb447c0c927d8403895e44f9f42e9e436ed9210c7 /drivers/mfd/Kconfig
parentb7ddac53df5097e8437ca40316caf79885d31946 (diff)
downloadblackbird-obmc-linux-94be70d4b279ba1b35119a3340833ffcc798c2e2.tar.gz
blackbird-obmc-linux-94be70d4b279ba1b35119a3340833ffcc798c2e2.zip
mfd: Break out ab5500 debugfs code
This breaks the debugfs portions of the AB5500 driver into its own file. Split off a _raw function to access registers since we don't want to expose a generically named function globally. Move all required data structures to a shared ab5500-core.h file. Cc: Mattias Wallin <mattias.wallin@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r--drivers/mfd/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 8594de8b86a0..f22bd2f0ecc3 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -572,6 +572,14 @@ config AB5500_CORE
chip. This connects to the db5500 chip via the I2C bus via PRCMU.
This chip embeds various other multimedia funtionalities as well.
+config AB5500_DEBUG
+ bool "Enable debug info via debugfs"
+ depends on AB5500_CORE && DEBUG_FS
+ default y if DEBUG_FS
+ help
+ Select this option if you want debug information from the AB5500
+ using the debug filesystem, debugfs.
+
config AB8500_CORE
bool "ST-Ericsson AB8500 Mixed Signal Power Management chip"
depends on GENERIC_HARDIRQS && ABX500_CORE
OpenPOWER on IntegriCloud