factoryToolV4.0 support on rk3168,lcd,bL,codec,tp,usbwifi,battery control by parameter
[firefly-linux-kernel-4.4.55.git] / drivers / power / Kconfig
old mode 100644 (file)
new mode 100755 (executable)
index 8aeff33..1b4a6c1
@@ -71,6 +71,13 @@ config WM8350_POWER
           Say Y here to enable support for the power management unit
          provided by the Wolfson Microelectronics WM8350 PMIC.
 
+config BATTERY_RICOH619
+       tristate "Ricoh RC5T619 PMIC battery driver"
+       depends on MFD_RICOH619 && I2C && GENERIC_HARDIRQS
+       help
+         Say Y to enable support for the battery control of the Ricoh RC5T619
+         Power Management device.
+
 config TEST_POWER
        tristate "Test power driver"
        help
@@ -78,17 +85,16 @@ config TEST_POWER
 
 config BATTERY_DS2760
        tristate "DS2760 battery driver (HP iPAQ & others)"
-       select W1
-       select W1_SLAVE_DS2760
+       depends on W1 && W1_SLAVE_DS2760
        help
          Say Y here to enable support for batteries with ds2760 chip.
 
-config BATTERY_DS2781
-       tristate "DS2781 battery driver"
+config BATTERY_DS2780
+       tristate "DS2780 battery driver"
        select W1
-       select W1_SLAVE_DS2781
+       select W1_SLAVE_DS2780
        help
-         Say Y here to enable support for batteries with ds2781 chip.
+         Say Y here to enable support for batteries with ds2780 chip.
 
 config BATTERY_DS2782
        tristate "DS2782/DS2786 standalone gas-gauge"
@@ -130,17 +136,33 @@ config BATTERY_WM97XX
        help
          Say Y to enable support for battery measured by WM97xx aux port.
 
-config CHARGER_BQ24617
-       tristate "BQ24617 Charger Driver"
-       help
-         Say Y to include support for BQ24617 Main Battery Charger.
+config BATTERY_BQ20Z75
+        tristate "TI BQ20z75 gas gauge"
+        depends on I2C
+        help
+         Say Y to include support for TI BQ20z75 SBS-compliant
+         gas gauge and protection IC.
 
 config BATTERY_BQ27x00
        tristate "BQ27x00 battery driver"
+       help
+         Say Y here to enable support for batteries with BQ27x00 (I2C/HDQ) chips.
+
+config BATTERY_BQ27X00_I2C
+       bool "BQ27200/BQ27500 support"
+       depends on BATTERY_BQ27x00
        depends on I2C
+       default y
        help
          Say Y here to enable support for batteries with BQ27x00 (I2C) chips.
 
+config BATTERY_BQ27X00_PLATFORM
+       bool "BQ27000 support"
+       depends on BATTERY_BQ27x00
+       default y
+       help
+         Say Y here to enable support for batteries with BQ27000 (HDQ) chips.
+
 config BATTERY_DA9030
        tristate "DA9030 battery driver"
        depends on PMIC_DA903X
@@ -156,6 +178,16 @@ config BATTERY_MAX17040
          in handheld and portable equipment. The MAX17040 is configured
          to operate with a single lithium cell
 
+config BATTERY_MAX17042
+       tristate "Maxim MAX17042/8997/8966 Fuel Gauge"
+       depends on I2C
+       help
+         MAX17042 is fuel-gauge systems for lithium-ion (Li+) batteries
+         in handheld and portable equipment. The MAX17042 is configured
+         to operate with a single lithium cell. MAX8997 and MAX8966 are
+         multi-function devices that include fuel gauages that are compatible
+         with MAX17042.
+
 config BATTERY_Z2
        tristate "Z2 battery driver"
        depends on I2C && MACH_ZIPIT2
@@ -212,7 +244,7 @@ config BATT_CAPACITY_MAH
 
 config NO_BATTERY_IC
        tristate "no BQ27510 battery ic in board"
-       depends on BATTERY_BQ27510 || BATTERY_BQ3060 
+       depends on BATTERY_BQ27510 || BATTERY_BQ27541 || BATTERY_BQ3060 
        default n
        help
          Say no BQ27510(I2C) chip in board .
@@ -235,4 +267,122 @@ config BATTERY_INTEL_MID
          Say Y here to enable the battery driver on Intel MID
          platforms.
 
+config CHARGER_ISP1704
+       tristate "ISP1704 USB Charger Detection"
+       depends on USB_OTG_UTILS
+       help
+         Say Y to enable support for USB Charger Detection with
+         ISP1707/ISP1704 USB transceivers.
+
+config CHARGER_MAX8903
+       tristate "MAX8903 Battery DC-DC Charger for USB and Adapter Power"
+       depends on GENERIC_HARDIRQS
+       help
+         Say Y to enable support for the MAX8903 DC-DC charger and sysfs.
+         The driver supports controlling charger-enable and current-limit
+         pins based on the status of charger connections with interrupt
+         handlers.
+
+config CHARGER_TWL4030
+       tristate "OMAP TWL4030 BCI charger driver"
+       depends on TWL4030_CORE
+       help
+         Say Y here to enable support for TWL4030 Battery Charge Interface.
+
+config TWL6030_BCI_BATTERY
+       tristate "OMAP TWL6030 BCI Battery driver"
+       depends on TWL4030_CORE && TWL6030_GPADC
+       help
+         Support for OMAP TWL6030 BCI Battery driver.
+         This driver can give support for TWL6030 Battery Charge Interface.
+
+config CHARGER_GPIO
+       tristate "GPIO charger"
+       depends on GPIOLIB
+       help
+         Say Y to include support for chargers which report their online status
+         through a GPIO pin.
+
+         This driver can be build as a module. If so, the module will be
+         called gpio-charger.
+
+config BATTERY_RK29_ADC
+       tristate "RK29 ADC Battery"
+       depends on ADC_RK29
+       help
+         Say Y to enable support for the battery on the RK2918.
+
+config BATTERY_RK29_AC_CHARGE
+       tristate "RK29 AC CHARGE"
+       depends on BATTERY_RK29_ADC
+       help
+         say Y to enable suspport for the AC battery charge
+
+config BATTERY_RK29_VOL3V8
+       tristate "the battery voltage is 3.8V"
+       depends on BATTERY_RK29_ADC
+       help
+          say Y to enable suspport for the battery voltage 3.8V
+
+config BATTERY_RK30_ADC
+        tristate "RK30 ADC Battery"
+        depends on ADC_RK30
+        help
+          Say Y to enable support for the battery on the RK30.
+
+config BATTERY_RK30_ADC_FAC
+        tristate "RK30 ADC Battery Factory"
+        depends on ADC_RK30
+        help
+          Say Y to enable support for the battery on the RK30.
+
+config BATTERY_RK30_AC_CHARGE
+        tristate "RK30 AC CHARGE"
+        depends on BATTERY_RK30_ADC||BATTERY_RK30_ADC_FAC
+        help
+          say Y to enable suspport for the AC battery charge
+
+config BATTERY_RK30_USB_CHARGE
+        tristate "RK30 USB CHARGE"
+        depends on BATTERY_RK30_ADC||BATTERY_RK30_ADC_FAC
+        help
+          say Y to enable suspport for the USB battery charge
+
+config BATTERY_RK30_VOL3V8
+       tristate "the battery voltage is 3.8V"
+        depends on BATTERY_RK30_ADC||BATTERY_RK30_ADC_FAC
+        help
+          say Y to enable suspport for the battery voltage 3.8V        
+         
+config CW2015_BATTERY
+       tristate "CW2015 battery driver"
+       help
+         Say Y to enable support for the cw2015 on the Rockchip
+
+config POWER_ON_CHARGER_DISPLAY
+       bool "Support charger display"
+
+config WM8326_VBAT_LOW_DETECTION
+       tristate "Support for WM8326 battery voltage detection."
+       default n
+
+config TWL60xx_VBAT_LOW_DETECTION
+       tristate "Support for twl60xx low battery detection."
+       default n
+       
+config POWER_RT5025
+       bool "RT5025 Pmic Chip Power Driver"
+       depends on MFD_RT5025
+       default n
+       help
+         Enable RT5025 Power/Gauge part driver.
+
+config CHARGER_SMB347
+       tristate "Summit Microelectronics SMB347 Battery Charger"
+       depends on I2C
+       select REGMAP_I2C
+       help
+         Say Y to include support for Summit Microelectronics SMB347
+         Battery Charger.
+
 endif # POWER_SUPPLY