]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - drivers/mfd/Kconfig
mfd: Group TPSxxxxx power management chips together
[linux-2.6.git] / drivers / mfd / Kconfig
index 1c3d737ec406f799b6e940566dcb5f7f82726151..66db02cee2adfa47a45b65ab20deb1b6d85dd6b1 100644 (file)
@@ -2,8 +2,23 @@
 # Multifunction miscellaneous devices
 #
 
-menu "Multifunction device drivers"
+menuconfig MFD_SUPPORT
+       bool "Multifunction device drivers"
        depends on HAS_IOMEM
+       default y
+       help
+         Multifunction devices embed several functions (e.g. GPIOs,
+         touchscreens, keyboards, current regulators, power management chips,
+         etc...) in one single integrated circuit. They usually talk to the
+         main CPU through one or more IRQ lines and low speed data busses (SPI,
+         I2C, etc..). They appear as one single device to the main system
+         through the data bus and the MFD framework allows for sub devices
+         (a.k.a. functions) to appear as discrete platform devices.
+         MFDs are typically found on embedded platforms.
+
+         This option alone does not add any kernel code.
+
+if MFD_SUPPORT
 
 config MFD_CORE
        tristate
@@ -45,27 +60,29 @@ config MFD_ASIC3
          This driver supports the ASIC3 multifunction chip found on many
          PDAs (mainly iPAQ and HTC based ones)
 
-config MFD_SH_MOBILE_SDHI
-       bool "Support for SuperH Mobile SDHI"
-       depends on SUPERH || ARCH_SHMOBILE
-       select MFD_CORE
-       select TMIO_MMC_DMA
-        ---help---
-         This driver supports the SDHI hardware block found in many
-         SuperH Mobile SoCs.
-
 config MFD_DAVINCI_VOICECODEC
        tristate
        select MFD_CORE
 
 config MFD_DM355EVM_MSP
        bool "DaVinci DM355 EVM microcontroller"
-       depends on I2C && MACH_DAVINCI_DM355_EVM
+       depends on I2C=y && MACH_DAVINCI_DM355_EVM
        help
          This driver supports the MSP430 microcontroller used on these
          boards.  MSP430 firmware manages resets and power sequencing,
          inputs from buttons and the IR remote, LEDs, an RTC, and more.
 
+config MFD_TI_SSP
+       tristate "TI Sequencer Serial Port support"
+       depends on ARCH_DAVINCI_TNETV107X
+       select MFD_CORE
+       ---help---
+         Say Y here if you want support for the Sequencer Serial Port
+         in a Texas Instruments TNETV107X SoC.
+
+         To compile this driver as a module, choose M here: the
+         module will be called ti-ssp.
+
 config HTC_EGPIO
        bool "HTC EGPIO support"
        depends on GENERIC_HARDIRQS && GPIOLIB && ARM
@@ -103,6 +120,18 @@ config UCB1400_CORE
          To compile this driver as a module, choose M here: the
          module will be called ucb1400_core.
 
+config TPS6105X
+       tristate "TPS61050/61052 Boost Converters"
+       depends on I2C
+       select REGULATOR
+       select MFD_CORE
+       select REGULATOR_FIXED_VOLTAGE
+       help
+         This option enables a driver for the TP61050/TPS61052
+         high-power "white LED driver". This boost converter is
+         sometimes used for other things than white LEDs, and
+         also contains a GPIO pin.
+
 config TPS65010
        tristate "TPS6501x Power Management chips"
        depends on I2C && GPIOLIB
@@ -128,6 +157,20 @@ config TPS6507X
          This driver can also be built as a module.  If so, the module
          will be called tps6507x.
 
+config MFD_TPS6586X
+       bool "TPS6586x Power Management chips"
+       depends on I2C=y && GPIOLIB && GENERIC_HARDIRQS
+       select MFD_CORE
+       help
+         If you say yes here you get support for the TPS6586X series of
+         Power Management chips.
+         This driver provides common support for accessing the device,
+         additional drivers must be enabled in order to use the
+         functionality of the device.
+
+         This driver can also be built as a module.  If so, the module
+         will be called tps6586x.
+
 config MENELAUS
        bool "Texas Instruments TWL92330/Menelaus PM chip"
        depends on I2C=y && ARCH_OMAP2
@@ -152,6 +195,16 @@ config TWL4030_CORE
          high speed USB OTG transceiver, an audio codec (on most
          versions) and many other features.
 
+config TWL4030_MADC
+       tristate "Texas Instruments TWL4030 MADC"
+       depends on TWL4030_CORE
+       help
+       This driver provides support for triton TWL4030-MADC. The
+       driver supports both RT and SW conversion methods.
+
+       This driver can be built as a module. If so it will be
+       named twl4030-madc
+
 config TWL4030_POWER
        bool "Support power resources on TWL4030 family chips"
        depends on TWL4030_CORE && ARM
@@ -162,7 +215,7 @@ config TWL4030_POWER
          as clock request handshaking.
 
          This driver uses board-specific data to initialize the resources
-         and load scripts controling which resources are switched off/on
+         and load scripts controlling which resources are switched off/on
          or reset when a sleep, wakeup or warm reset event occurs.
 
 config TWL4030_CODEC
@@ -171,12 +224,44 @@ config TWL4030_CODEC
        select MFD_CORE
        default n
 
-config MFD_TC35892
-       bool "Support Toshiba TC35892"
+config TWL6030_PWM
+       tristate "TWL6030 PWM (Pulse Width Modulator) Support"
+       depends on TWL4030_CORE
+       select HAVE_PWM
+       default n
+       help
+         Say yes here if you want support for TWL6030 PWM.
+         This is used to control charging LED brightness.
+
+config MFD_STMPE
+       bool "Support STMicroelectronics STMPE"
+       depends on I2C=y && GENERIC_HARDIRQS
+       select MFD_CORE
+       help
+         Support for the STMPE family of I/O Expanders from
+         STMicroelectronics.
+
+         Currently supported devices are:
+
+               STMPE811: GPIO, Touchscreen
+               STMPE1601: GPIO, Keypad
+               STMPE2401: GPIO, Keypad
+               STMPE2403: GPIO, Keypad
+
+         This driver provides common support for accessing the device,
+         additional drivers must be enabled in order to use the functionality
+         of the device.  Currently available sub drivers are:
+
+               GPIO: stmpe-gpio
+               Keypad: stmpe-keypad
+               Touchscreen: stmpe-ts
+
+config MFD_TC3589X
+       bool "Support Toshiba TC35892 and variants"
        depends on I2C=y && GENERIC_HARDIRQS
        select MFD_CORE
        help
-         Support for the Toshiba TC35892 I/O Expander.
+         Support for the Toshiba TC35892 and variants I/O Expander.
 
          This driver provides common support for accessing the device,
          additional drivers must be enabled in order to use the
@@ -186,11 +271,6 @@ config MFD_TMIO
        bool
        default n
 
-config TMIO_MMC_DMA
-       bool
-       select DMA_ENGINE
-       select DMADEVICES
-
 config MFD_T7L66XB
        bool "Support Toshiba T7L66XB"
        depends on ARM && HAVE_CLK
@@ -246,6 +326,29 @@ config MFD_MAX8925
          accessing the device, additional drivers must be enabled in order
          to use the functionality of the device.
 
+config MFD_MAX8997
+       bool "Maxim Semiconductor MAX8997/8966 PMIC Support"
+       depends on I2C=y && GENERIC_HARDIRQS
+       select MFD_CORE
+       help
+         Say yes here to support for Maxim Semiconductor MAX8998/8966.
+         This is a Power Management IC with RTC, Flash, Fuel Gauge, Haptic,
+         MUIC controls on chip.
+         This driver provides common support for accessing the device;
+         additional drivers must be enabled in order to use the functionality
+         of the device.
+
+config MFD_MAX8998
+       bool "Maxim Semiconductor MAX8998/National LP3974 PMIC Support"
+       depends on I2C=y && GENERIC_HARDIRQS
+       select MFD_CORE
+       help
+         Say yes here to support for Maxim Semiconductor MAX8998 and
+         National Semiconductor LP3974. This is a Power Management IC.
+         This driver provies common support for accessing the device,
+         additional drivers must be enabled in order to use the functionality
+         of the device.
+
 config MFD_WM8400
        tristate "Support Wolfson Microelectronics WM8400"
        select MFD_CORE
@@ -257,14 +360,30 @@ config MFD_WM8400
          the functionality of the device.
 
 config MFD_WM831X
-       bool "Support Wolfson Microelectronics WM831x/2x PMICs"
+       bool
+       depends on GENERIC_HARDIRQS
+
+config MFD_WM831X_I2C
+       bool "Support Wolfson Microelectronics WM831x/2x PMICs with I2C"
        select MFD_CORE
+       select MFD_WM831X
        depends on I2C=y && GENERIC_HARDIRQS
        help
-         Support for the Wolfson Microelecronics WM831x and WM832x PMICs.
-         This driver provides common support for accessing the device,
-         additional drivers must be enabled in order to use the
-         functionality of the device.
+         Support for the Wolfson Microelecronics WM831x and WM832x PMICs
+         when controlled using I2C.  This driver provides common support
+         for accessing the device, additional drivers must be enabled in
+         order to use the functionality of the device.
+
+config MFD_WM831X_SPI
+       bool "Support Wolfson Microelectronics WM831x/2x PMICs with SPI"
+       select MFD_CORE
+       select MFD_WM831X
+       depends on SPI_MASTER && GENERIC_HARDIRQS
+       help
+         Support for the Wolfson Microelecronics WM831x and WM832x PMICs
+         when controlled using SPI.  This driver provides common support
+         for accessing the device, additional drivers must be enabled in
+         order to use the functionality of the device.
 
 config MFD_WM8350
        bool
@@ -351,11 +470,16 @@ config MFD_PCF50633
          so that function-specific drivers can bind to them.
 
 config MFD_MC13783
-       tristate "Support Freescale MC13783"
+       tristate
+
+config MFD_MC13XXX
+       tristate "Support Freescale MC13783 and MC13892"
        depends on SPI_MASTER
        select MFD_CORE
+       select MFD_MC13783
        help
-         Support for the Freescale (Atlas) MC13783 PMIC and audio CODEC.
+         Support for the Freescale (Atlas) PMIC and audio CODECs
+         MC13783 and MC13892.
          This driver provides common support for accessing  the device,
          additional drivers must be enabled in order to use the
          functionality of the device.
@@ -376,7 +500,7 @@ config PCF50633_GPIO
 
 config ABX500_CORE
        bool "ST-Ericsson ABX500 Mixed Signal Circuit register functions"
-       default y if ARCH_U300
+       default y if ARCH_U300 || ARCH_U8500
        help
          Say yes here if you have the ABX500 Mixed Signal IC family
          chips. This core driver expose register access functions.
@@ -387,6 +511,7 @@ config ABX500_CORE
 config AB3100_CORE
        bool "ST-Ericsson AB3100 Mixed Signal Circuit core functions"
        depends on I2C=y && ABX500_CORE
+       select MFD_CORE
        default y if ARCH_U300
        help
          Select this to enable the AB3100 Mixed Signal IC core
@@ -414,15 +539,84 @@ config EZX_PCAP
          This enables the PCAP ASIC present on EZX Phones. This is
          needed for MMC, TouchScreen, Sound, USB, etc..
 
-config AB4500_CORE
-       tristate "ST-Ericsson's AB4500 Mixed Signal Power management chip"
-       depends on SPI
+config AB8500_CORE
+       bool "ST-Ericsson AB8500 Mixed Signal Power Management chip"
+       depends on GENERIC_HARDIRQS && ABX500_CORE
+       select MFD_CORE
        help
-         Select this option to enable access to AB4500 power management
-         chip. This connects to U8500 on the SSP/SPI bus and exports
-         read/write functions for the devices to get access to this chip.
+         Select this option to enable access to AB8500 power management
+         chip. This connects to U8500 either on the SSP/SPI bus (deprecated
+         since hardware version v1.0) or the I2C bus via PRCMU. It also adds
+         the irq_chip parts for handling the Mixed Signal chip events.
          This chip embeds various other multimedia funtionalities as well.
 
+config AB8500_I2C_CORE
+       bool "AB8500 register access via PRCMU I2C"
+       depends on AB8500_CORE && MFD_DB8500_PRCMU
+       default y
+       help
+         This enables register access to the AB8500 chip via PRCMU I2C.
+         The AB8500 chip can be accessed via SPI or I2C. On DB8500 hardware
+         the I2C bus is connected to the Power Reset
+         and Mangagement Unit, PRCMU.
+
+config AB8500_DEBUG
+       bool "Enable debug info via debugfs"
+       depends on AB8500_CORE && DEBUG_FS
+       default y if DEBUG_FS
+       help
+         Select this option if you want debug information using the debug
+         filesystem, debugfs.
+
+config AB8500_GPADC
+       bool "AB8500 GPADC driver"
+       depends on AB8500_CORE && REGULATOR_AB8500
+       default y
+       help
+         AB8500 GPADC driver used to convert Acc and battery/ac/usb voltage
+
+config AB3550_CORE
+        bool "ST-Ericsson AB3550 Mixed Signal Circuit core functions"
+       select MFD_CORE
+       depends on I2C=y && GENERIC_HARDIRQS && ABX500_CORE
+       help
+         Select this to enable the AB3550 Mixed Signal IC core
+         functionality. This connects to a AB3550 on the I2C bus
+         and expose a number of symbols needed for dependent devices
+         to read and write registers and subscribe to events from
+         this multi-functional IC. This is needed to use other features
+         of the AB3550 such as battery-backed RTC, charging control,
+         LEDs, vibrator, system power and temperature, power management
+         and ALSA sound.
+
+config MFD_DB8500_PRCMU
+       bool "ST-Ericsson DB8500 Power Reset Control Management Unit"
+       depends on UX500_SOC_DB8500
+       select MFD_CORE
+       help
+         Select this option to enable support for the DB8500 Power Reset
+         and Control Management Unit. This is basically an autonomous
+         system controller running an XP70 microprocessor, which is accessed
+         through a register map.
+
+config MFD_DB5500_PRCMU
+       bool "ST-Ericsson DB5500 Power Reset Control Management Unit"
+       depends on UX500_SOC_DB5500
+       select MFD_CORE
+       help
+         Select this option to enable support for the DB5500 Power Reset
+         and Control Management Unit. This is basically an autonomous
+         system controller running an XP70 microprocessor, which is accessed
+         through a register map.
+
+config MFD_CS5535
+       tristate "Support for CS5535 and CS5536 southbridge core functions"
+       select MFD_CORE
+       depends on PCI && X86
+       ---help---
+         This is the core driver for CS5535/CS5536 MFD functions.  This is
+          necessary for using the board's GPIO and MFGPT functionality.
+
 config MFD_TIMBERDALE
        tristate "Support for the Timberdale FPGA"
        select MFD_CORE
@@ -461,7 +655,43 @@ config MFD_JANZ_CMODIO
          host many different types of MODULbus daughterboards, including
          CAN and GPIO controllers.
 
-endmenu
+config MFD_JZ4740_ADC
+       tristate "Support for the JZ4740 SoC ADC core"
+       select MFD_CORE
+       depends on MACH_JZ4740
+       help
+         Say yes here if you want support for the ADC unit in the JZ4740 SoC.
+         This driver is necessary for jz4740-battery and jz4740-hwmon driver.
+
+config MFD_VX855
+       tristate "Support for VIA VX855/VX875 integrated south bridge"
+       depends on PCI
+       select MFD_CORE
+       help
+         Say yes here to enable support for various functions of the
+         VIA VX855/VX875 south bridge. You will need to enable the vx855_spi
+         and/or vx855_gpio drivers for this to do anything useful.
+
+config MFD_WL1273_CORE
+       tristate "Support for TI WL1273 FM radio."
+       depends on I2C
+       select MFD_CORE
+       default n
+       help
+         This is the core driver for the TI WL1273 FM radio. This MFD
+         driver connects the radio-wl1273 V4L2 module and the wl1273
+         audio codec.
+
+config MFD_OMAP_USB_HOST
+       bool "Support OMAP USBHS core driver"
+       depends on USB_EHCI_HCD_OMAP || USB_OHCI_HCD_OMAP3
+       default y
+       help
+         This is the core driver for the OAMP EHCI and OHCI drivers.
+         This MFD driver does the required setup functionalities for
+         OMAP USB Host drivers.
+
+endif # MFD_SUPPORT
 
 menu "Multimedia Capabilities Port drivers"
        depends on ARCH_SA1100