aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/Kconfig
diff options
context:
space:
mode:
authorMilo Kim <Milo.Kim@ti.com>2012-09-19 12:53:33 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2012-09-23 14:51:34 -0400
commiteea6b7cc53aaecf868e1643058159807c744e04e (patch)
tree1922328c8edb85f2c106075c966baa07f15ea831 /drivers/mfd/Kconfig
parent804971ec3793d30f40c1a74775dd3fe89deb461a (diff)
mfd: Add lp8788 mfd driver
TI LP8788 PMU provides regulators, battery charger, ADC, RTC, backlight driver and current sinks. This MFD patch supports the I2C communication using the regmap, the interrupt handling using the linear IRQ domain and configurable platform data structures for each driver module. (Driver Architecture) < mfd devices > LP8788 HW .......... mfd .......... regulator drivers I2C power supply driver IRQs iio adc driver rtc driver backlight driver current sink drivers o regulators : LDOs and BUCKs o power supply : Battery charger o iio adc : Battery voltage/temperature o rtc : RTC and alarm o backlight o current sink : LED and vibrator All MFD device modules are registered by LP8788 MFD core driver. For sharing information such like the virtual IRQ number, MFD core driver uses the resource structure. Then each module can retrieve the specific IRQ number and detect it in the IRQ thread. Configurable platform data is handled in each driver module. Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r--drivers/mfd/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index b9282cafa978..84d6ea2d74f4 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -440,6 +440,16 @@ config PMIC_ADP5520
440 individual components like LCD backlight, LEDs, GPIOs and Kepad 440 individual components like LCD backlight, LEDs, GPIOs and Kepad
441 under the corresponding menus. 441 under the corresponding menus.
442 442
443config MFD_LP8788
444 bool "Texas Instruments LP8788 Power Management Unit Driver"
445 depends on I2C=y
446 select MFD_CORE
447 select REGMAP_I2C
448 select IRQ_DOMAIN
449 help
450 TI LP8788 PMU supports regulators, battery charger, RTC,
451 ADC, backlight driver and current sinks.
452
443config MFD_MAX77686 453config MFD_MAX77686
444 bool "Maxim Semiconductor MAX77686 PMIC Support" 454 bool "Maxim Semiconductor MAX77686 PMIC Support"
445 depends on I2C=y && GENERIC_HARDIRQS 455 depends on I2C=y && GENERIC_HARDIRQS