mfd: sec-core: Prepare regulators for suspend state to reduce power-consumption
[firefly-linux-kernel-4.4.55.git] / drivers / mfd / Kconfig
index 637501e826f93f98129fe1341e052d524b606819..b8d9ca0b68e22668b07b6e28a8623db80e209da4 100644 (file)
@@ -13,7 +13,7 @@ config MFD_CORE
 config MFD_CS5535
        tristate "AMD CS5535 and CS5536 southbridge core functions"
        select MFD_CORE
 config MFD_CS5535
        tristate "AMD CS5535 and CS5536 southbridge core functions"
        select MFD_CORE
-       depends on PCI && X86
+       depends on PCI && (X86_32 || (X86 && COMPILE_TEST))
        ---help---
          This is the core driver for CS5535/CS5536 MFD functions.  This is
           necessary for using the board's GPIO and MFGPT functionality.
        ---help---
          This is the core driver for CS5535/CS5536 MFD functions.  This is
           necessary for using the board's GPIO and MFGPT functionality.
@@ -187,6 +187,7 @@ config MFD_MC13XXX
        tristate
        depends on (SPI_MASTER || I2C)
        select MFD_CORE
        tristate
        depends on (SPI_MASTER || I2C)
        select MFD_CORE
+       select REGMAP_IRQ
        help
          Enable support for the Freescale MC13783 and MC13892 PMICs.
          This driver provides common support for accessing the device,
        help
          Enable support for the Freescale MC13783 and MC13892 PMICs.
          This driver provides common support for accessing the device,
@@ -586,6 +587,7 @@ config MFD_SEC_CORE
        select MFD_CORE
        select REGMAP_I2C
        select REGMAP_IRQ
        select MFD_CORE
        select REGMAP_I2C
        select REGMAP_IRQ
+       select REGULATOR
        help
         Support for the Samsung Electronics MFD series.
         This driver provides common support for accessing the device,
        help
         Support for the Samsung Electronics MFD series.
         This driver provides common support for accessing the device,
@@ -1069,7 +1071,7 @@ config MFD_LM3533
 config MFD_TIMBERDALE
        tristate "Timberdale FPGA"
        select MFD_CORE
 config MFD_TIMBERDALE
        tristate "Timberdale FPGA"
        select MFD_CORE
-       depends on PCI && GPIOLIB
+       depends on PCI && GPIOLIB && (X86_32 || COMPILE_TEST)
        ---help---
        This is the core driver for the timberdale FPGA. This device is a
        multifunction device which exposes numerous platform devices.
        ---help---
        This is the core driver for the timberdale FPGA. This device is a
        multifunction device which exposes numerous platform devices.