newton: add goodix tp support and support goodix and focal detect
[firefly-linux-kernel-4.4.55.git] / drivers / mfd / Kconfig
old mode 100644 (file)
new mode 100755 (executable)
index 570be13..0e7a073
@@ -121,6 +121,18 @@ config TWL4030_POWER
          and load scripts controling which resources are switched off/on
          or reset when a sleep, wakeup or warm reset event occurs.
 
+config TPS65910_CORE
+       bool "Texas Instruments TPS65910 Support"
+       depends on I2C=y && GENERIC_HARDIRQS
+       help
+         Say yes here if you have TPS65910 family chip on your board.
+         This core driver provides register access and registers devices
+          for the various functions so that function-specific drivers can
+          bind to them.
+
+         These multi-function chips are found on many AM35xx boards,
+          providing power management, RTC, GPIO features.
+
 config MFD_TMIO
        bool
        default n
@@ -159,6 +171,18 @@ config PMIC_DA903X
          the I2C driver and the core APIs _only_, you have to select
          individual components like LCD backlight, voltage regulators,
          LEDs and battery-charger under the corresponding menus.
+##and by qjb 
+config MFD_WM8994
+       tristate "Support Wolfson Microelectronics WM8994"
+       select MFD_CORE
+       depends on I2C
+       help
+         The WM8994 is a highly integrated hi-fi CODEC designed for
+         smartphone applicatiosn.  As well as audio functionality it
+         has on board GPIO and regulator functionality which is
+         supported via the relevant subsystems.  This driver provides
+         core support for the WM8994, in order to use the actual
+         functionaltiy of the device other drivers must be enabled.
 
 config MFD_WM8400
        tristate "Support Wolfson Microelectronics WM8400"
@@ -171,15 +195,42 @@ config MFD_WM8400
          the functionality of the device.
 
 config MFD_WM831X
-       tristate "Support Wolfson Microelectronics WM831x PMICs"
+       bool
+       depends on GENERIC_HARDIRQS
+
+config MFD_WM831X_I2C
+       bool "Support Wolfson Microelectronics WM831x/2x PMICs with I2C"
        select MFD_CORE
-       depends on I2C
+       select MFD_WM831X
+       depends on I2C=y && GENERIC_HARDIRQS
        help
-         Support for the Wolfson Microelecronics WM831x 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_WM831X_SPI_A22
+       bool "Support Wolfson Microelectronics WM831x/2x PMICs with SPI for A22"
+       #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
        tristate