xref: /linux/drivers/power/supply/Kconfig (revision 53db88586acd39400665d32914d1bb7b3da07276)
18c0984e5SSebastian Reichelmenuconfig POWER_SUPPLY
28c0984e5SSebastian Reichel	bool "Power supply class support"
38c0984e5SSebastian Reichel	help
48c0984e5SSebastian Reichel	  Say Y here to enable power supply class support. This allows
58c0984e5SSebastian Reichel	  power supply (batteries, AC, USB) monitoring by userspace
68c0984e5SSebastian Reichel	  via sysfs and uevent (if available) and/or APM kernel interface
78c0984e5SSebastian Reichel	  (if selected below).
88c0984e5SSebastian Reichel
98c0984e5SSebastian Reichelif POWER_SUPPLY
108c0984e5SSebastian Reichel
118c0984e5SSebastian Reichelconfig POWER_SUPPLY_DEBUG
128c0984e5SSebastian Reichel	bool "Power supply debug"
138c0984e5SSebastian Reichel	help
148c0984e5SSebastian Reichel	  Say Y here to enable debugging messages for power supply class
158c0984e5SSebastian Reichel	  and drivers.
168c0984e5SSebastian Reichel
178c0984e5SSebastian Reichelconfig PDA_POWER
188c0984e5SSebastian Reichel	tristate "Generic PDA/phone power driver"
198c0984e5SSebastian Reichel	depends on !S390
208c0984e5SSebastian Reichel	help
218c0984e5SSebastian Reichel	  Say Y here to enable generic power driver for PDAs and phones with
228c0984e5SSebastian Reichel	  one or two external power supplies (AC/USB) connected to main and
238c0984e5SSebastian Reichel	  backup batteries, and optional builtin charger.
248c0984e5SSebastian Reichel
258c0984e5SSebastian Reichelconfig APM_POWER
268c0984e5SSebastian Reichel	tristate "APM emulation for class batteries"
278c0984e5SSebastian Reichel	depends on APM_EMULATION
288c0984e5SSebastian Reichel	help
298c0984e5SSebastian Reichel	  Say Y here to enable support APM status emulation using
308c0984e5SSebastian Reichel	  battery class devices.
318c0984e5SSebastian Reichel
328c0984e5SSebastian Reichelconfig GENERIC_ADC_BATTERY
338c0984e5SSebastian Reichel	tristate "Generic battery support using IIO"
348c0984e5SSebastian Reichel	depends on IIO
358c0984e5SSebastian Reichel	help
368c0984e5SSebastian Reichel	  Say Y here to enable support for the generic battery driver
378c0984e5SSebastian Reichel	  which uses IIO framework to read adc.
388c0984e5SSebastian Reichel
398c0984e5SSebastian Reichelconfig MAX8925_POWER
408c0984e5SSebastian Reichel	tristate "MAX8925 battery charger support"
418c0984e5SSebastian Reichel	depends on MFD_MAX8925
428c0984e5SSebastian Reichel	help
438c0984e5SSebastian Reichel	  Say Y here to enable support for the battery charger in the Maxim
448c0984e5SSebastian Reichel	  MAX8925 PMIC.
458c0984e5SSebastian Reichel
468c0984e5SSebastian Reichelconfig WM831X_BACKUP
478c0984e5SSebastian Reichel	tristate "WM831X backup battery charger support"
488c0984e5SSebastian Reichel	depends on MFD_WM831X
498c0984e5SSebastian Reichel	help
508c0984e5SSebastian Reichel	  Say Y here to enable support for the backup battery charger
518c0984e5SSebastian Reichel	  in the Wolfson Microelectronics WM831x PMICs.
528c0984e5SSebastian Reichel
538c0984e5SSebastian Reichelconfig WM831X_POWER
548c0984e5SSebastian Reichel	tristate "WM831X PMU support"
558c0984e5SSebastian Reichel	depends on MFD_WM831X
568c0984e5SSebastian Reichel	help
578c0984e5SSebastian Reichel	  Say Y here to enable support for the power management unit
588c0984e5SSebastian Reichel	  provided by Wolfson Microelectronics WM831x PMICs.
598c0984e5SSebastian Reichel
608c0984e5SSebastian Reichelconfig WM8350_POWER
618c0984e5SSebastian Reichel        tristate "WM8350 PMU support"
628c0984e5SSebastian Reichel        depends on MFD_WM8350
638c0984e5SSebastian Reichel        help
648c0984e5SSebastian Reichel          Say Y here to enable support for the power management unit
658c0984e5SSebastian Reichel	  provided by the Wolfson Microelectronics WM8350 PMIC.
668c0984e5SSebastian Reichel
678c0984e5SSebastian Reichelconfig TEST_POWER
688c0984e5SSebastian Reichel	tristate "Test power driver"
698c0984e5SSebastian Reichel	help
708c0984e5SSebastian Reichel	  This driver is used for testing. It's safe to say M here.
718c0984e5SSebastian Reichel
728c0984e5SSebastian Reichelconfig BATTERY_88PM860X
738c0984e5SSebastian Reichel	tristate "Marvell 88PM860x battery driver"
748c0984e5SSebastian Reichel	depends on MFD_88PM860X
758c0984e5SSebastian Reichel	help
768c0984e5SSebastian Reichel	  Say Y here to enable battery monitor for Marvell 88PM860x chip.
778c0984e5SSebastian Reichel
788c0984e5SSebastian Reichelconfig BATTERY_ACT8945A
798c0984e5SSebastian Reichel	tristate "Active-semi ACT8945A charger driver"
808c0984e5SSebastian Reichel	depends on MFD_ACT8945A || COMPILE_TEST
818c0984e5SSebastian Reichel	help
828c0984e5SSebastian Reichel	  Say Y here to enable support for power supply provided by
838c0984e5SSebastian Reichel	  Active-semi ActivePath ACT8945A charger.
848c0984e5SSebastian Reichel
858c0984e5SSebastian Reichelconfig BATTERY_DS2760
868c0984e5SSebastian Reichel	tristate "DS2760 battery driver (HP iPAQ & others)"
878c0984e5SSebastian Reichel	depends on W1 && W1_SLAVE_DS2760
888c0984e5SSebastian Reichel	help
898c0984e5SSebastian Reichel	  Say Y here to enable support for batteries with ds2760 chip.
908c0984e5SSebastian Reichel
918c0984e5SSebastian Reichelconfig BATTERY_DS2780
928c0984e5SSebastian Reichel	tristate "DS2780 battery driver"
938c0984e5SSebastian Reichel	depends on HAS_IOMEM
948c0984e5SSebastian Reichel	select W1
958c0984e5SSebastian Reichel	select W1_SLAVE_DS2780
968c0984e5SSebastian Reichel	help
978c0984e5SSebastian Reichel	  Say Y here to enable support for batteries with ds2780 chip.
988c0984e5SSebastian Reichel
998c0984e5SSebastian Reichelconfig BATTERY_DS2781
1008c0984e5SSebastian Reichel	tristate "DS2781 battery driver"
1018c0984e5SSebastian Reichel	depends on HAS_IOMEM
1028c0984e5SSebastian Reichel	select W1
1038c0984e5SSebastian Reichel	select W1_SLAVE_DS2781
1048c0984e5SSebastian Reichel	help
1058c0984e5SSebastian Reichel	  If you enable this you will have the DS2781 battery driver support.
1068c0984e5SSebastian Reichel
1078c0984e5SSebastian Reichel	  The battery monitor chip is used in many batteries/devices
1088c0984e5SSebastian Reichel	  as the one who is responsible for charging/discharging/monitoring
1098c0984e5SSebastian Reichel	  Li+ batteries.
1108c0984e5SSebastian Reichel
1118c0984e5SSebastian Reichel	  If you are unsure, say N.
1128c0984e5SSebastian Reichel
1138c0984e5SSebastian Reichelconfig BATTERY_DS2782
1148c0984e5SSebastian Reichel	tristate "DS2782/DS2786 standalone gas-gauge"
1158c0984e5SSebastian Reichel	depends on I2C
1168c0984e5SSebastian Reichel	help
1178c0984e5SSebastian Reichel	  Say Y here to enable support for the DS2782/DS2786 standalone battery
1188c0984e5SSebastian Reichel	  gas-gauge.
1198c0984e5SSebastian Reichel
120*53db8858SDavid Lechnerconfig BATTERY_LEGO_EV3
121*53db8858SDavid Lechner	tristate "LEGO MINDSTORMS EV3 battery"
122*53db8858SDavid Lechner	depends on OF && IIO && GPIOLIB
123*53db8858SDavid Lechner	help
124*53db8858SDavid Lechner	  Say Y here to enable support for the LEGO MINDSTORMS EV3 battery.
125*53db8858SDavid Lechner
1268c0984e5SSebastian Reichelconfig BATTERY_PMU
1278c0984e5SSebastian Reichel	tristate "Apple PMU battery"
1288c0984e5SSebastian Reichel	depends on PPC32 && ADB_PMU
1298c0984e5SSebastian Reichel	help
1308c0984e5SSebastian Reichel	  Say Y here to expose battery information on Apple machines
1318c0984e5SSebastian Reichel	  through the generic battery class.
1328c0984e5SSebastian Reichel
1338c0984e5SSebastian Reichelconfig BATTERY_OLPC
1348c0984e5SSebastian Reichel	tristate "One Laptop Per Child battery"
1358c0984e5SSebastian Reichel	depends on X86_32 && OLPC
1368c0984e5SSebastian Reichel	help
1378c0984e5SSebastian Reichel	  Say Y to enable support for the battery on the OLPC laptop.
1388c0984e5SSebastian Reichel
1398c0984e5SSebastian Reichelconfig BATTERY_TOSA
1408c0984e5SSebastian Reichel	tristate "Sharp SL-6000 (tosa) battery"
1418c0984e5SSebastian Reichel	depends on MACH_TOSA && MFD_TC6393XB && TOUCHSCREEN_WM97XX
1428c0984e5SSebastian Reichel	help
1438c0984e5SSebastian Reichel	  Say Y to enable support for the battery on the Sharp Zaurus
1448c0984e5SSebastian Reichel	  SL-6000 (tosa) models.
1458c0984e5SSebastian Reichel
1468c0984e5SSebastian Reichelconfig BATTERY_COLLIE
1478c0984e5SSebastian Reichel	tristate "Sharp SL-5500 (collie) battery"
1488c0984e5SSebastian Reichel	depends on SA1100_COLLIE && MCP_UCB1200
1498c0984e5SSebastian Reichel	help
1508c0984e5SSebastian Reichel	  Say Y to enable support for the battery on the Sharp Zaurus
1518c0984e5SSebastian Reichel	  SL-5500 (collie) models.
1528c0984e5SSebastian Reichel
1538c0984e5SSebastian Reichelconfig BATTERY_IPAQ_MICRO
1548c0984e5SSebastian Reichel	tristate "iPAQ Atmel Micro ASIC battery driver"
1558c0984e5SSebastian Reichel	depends on MFD_IPAQ_MICRO
1568c0984e5SSebastian Reichel	help
1578c0984e5SSebastian Reichel	  Choose this option if you want to monitor battery status on
1588c0984e5SSebastian Reichel	  Compaq/HP iPAQ h3100 and h3600.
1598c0984e5SSebastian Reichel
1608c0984e5SSebastian Reichelconfig BATTERY_WM97XX
1618c0984e5SSebastian Reichel	bool "WM97xx generic battery driver"
1628c0984e5SSebastian Reichel	depends on TOUCHSCREEN_WM97XX=y
1638c0984e5SSebastian Reichel	help
1648c0984e5SSebastian Reichel	  Say Y to enable support for battery measured by WM97xx aux port.
1658c0984e5SSebastian Reichel
1668c0984e5SSebastian Reichelconfig BATTERY_SBS
1678c0984e5SSebastian Reichel        tristate "SBS Compliant gas gauge"
1688c0984e5SSebastian Reichel        depends on I2C
1698c0984e5SSebastian Reichel        help
1708c0984e5SSebastian Reichel	  Say Y to include support for SBS battery driver for SBS-compliant
1718c0984e5SSebastian Reichel	  gas gauges.
1728c0984e5SSebastian Reichel
173feb583e3SNicolas Saenz Julienneconfig CHARGER_SBS
174feb583e3SNicolas Saenz Julienne        tristate "SBS Compliant charger"
175feb583e3SNicolas Saenz Julienne        depends on I2C
176feb583e3SNicolas Saenz Julienne        help
177feb583e3SNicolas Saenz Julienne	  Say Y to include support for SBS compilant battery chargers.
178feb583e3SNicolas Saenz Julienne
1798c0984e5SSebastian Reichelconfig BATTERY_BQ27XXX
1808c0984e5SSebastian Reichel	tristate "BQ27xxx battery driver"
1818c0984e5SSebastian Reichel	help
1828c0984e5SSebastian Reichel	  Say Y here to enable support for batteries with BQ27xxx chips.
1838c0984e5SSebastian Reichel
1848c0984e5SSebastian Reichelconfig BATTERY_BQ27XXX_I2C
1858c0984e5SSebastian Reichel	tristate "BQ27xxx I2C support"
1868c0984e5SSebastian Reichel	depends on BATTERY_BQ27XXX
1878c0984e5SSebastian Reichel	depends on I2C
1888c0984e5SSebastian Reichel	default y
1898c0984e5SSebastian Reichel	help
1908c0984e5SSebastian Reichel	  Say Y here to enable support for batteries with BQ27xxx chips
1918c0984e5SSebastian Reichel	  connected over an I2C bus.
1928c0984e5SSebastian Reichel
1938c0984e5SSebastian Reichelconfig BATTERY_DA9030
1948c0984e5SSebastian Reichel	tristate "DA9030 battery driver"
1958c0984e5SSebastian Reichel	depends on PMIC_DA903X
1968c0984e5SSebastian Reichel	help
1978c0984e5SSebastian Reichel	  Say Y here to enable support for batteries charger integrated into
1988c0984e5SSebastian Reichel	  DA9030 PMIC.
1998c0984e5SSebastian Reichel
2008c0984e5SSebastian Reichelconfig BATTERY_DA9052
2018c0984e5SSebastian Reichel	tristate "Dialog DA9052 Battery"
2028c0984e5SSebastian Reichel	depends on PMIC_DA9052
2038c0984e5SSebastian Reichel	help
2048c0984e5SSebastian Reichel	  Say Y here to enable support for batteries charger integrated into
2058c0984e5SSebastian Reichel	  DA9052 PMIC.
2068c0984e5SSebastian Reichel
2078c0984e5SSebastian Reichelconfig CHARGER_DA9150
2088c0984e5SSebastian Reichel	tristate "Dialog Semiconductor DA9150 Charger support"
2098c0984e5SSebastian Reichel	depends on MFD_DA9150
2108c0984e5SSebastian Reichel	depends on DA9150_GPADC
2118c0984e5SSebastian Reichel	depends on IIO
2128c0984e5SSebastian Reichel	help
2138c0984e5SSebastian Reichel	  Say Y here to enable support for charger unit of the DA9150
2148c0984e5SSebastian Reichel	  Integrated Charger & Fuel-Gauge IC.
2158c0984e5SSebastian Reichel
2168c0984e5SSebastian Reichel	  This driver can also be built as a module. If so, the module will be
2178c0984e5SSebastian Reichel	  called da9150-charger.
2188c0984e5SSebastian Reichel
2198c0984e5SSebastian Reichelconfig BATTERY_DA9150
2208c0984e5SSebastian Reichel	tristate "Dialog Semiconductor DA9150 Fuel Gauge support"
2218c0984e5SSebastian Reichel	depends on MFD_DA9150
2228c0984e5SSebastian Reichel	help
2238c0984e5SSebastian Reichel	  Say Y here to enable support for the Fuel-Gauge unit of the DA9150
2248c0984e5SSebastian Reichel	  Integrated Charger & Fuel-Gauge IC
2258c0984e5SSebastian Reichel
2268c0984e5SSebastian Reichel	  This driver can also be built as a module. If so, the module will be
2278c0984e5SSebastian Reichel	  called da9150-fg.
2288c0984e5SSebastian Reichel
229744cc304SQuentin Schulzconfig CHARGER_AXP20X
230744cc304SQuentin Schulz	tristate "X-Powers AXP20X and AXP22X AC power supply driver"
231744cc304SQuentin Schulz	depends on MFD_AXP20X
232744cc304SQuentin Schulz	depends on AXP20X_ADC
233744cc304SQuentin Schulz	depends on IIO
234744cc304SQuentin Schulz	help
235744cc304SQuentin Schulz	  Say Y here to enable support for X-Powers AXP20X and AXP22X PMICs' AC
236744cc304SQuentin Schulz	  power supply.
237744cc304SQuentin Schulz
238744cc304SQuentin Schulz	  This driver can also be built as a module. If so, the module will be
239744cc304SQuentin Schulz	  called axp20x_ac_power.
240744cc304SQuentin Schulz
2418c0984e5SSebastian Reichelconfig AXP288_CHARGER
2428c0984e5SSebastian Reichel	tristate "X-Powers AXP288 Charger"
2438c0984e5SSebastian Reichel	depends on MFD_AXP20X && EXTCON_AXP288
2448c0984e5SSebastian Reichel	help
2458c0984e5SSebastian Reichel	  Say yes here to have support X-Power AXP288 power management IC (PMIC)
2468c0984e5SSebastian Reichel	  integrated charger.
2478c0984e5SSebastian Reichel
2488c0984e5SSebastian Reichelconfig AXP288_FUEL_GAUGE
2498c0984e5SSebastian Reichel	tristate "X-Powers AXP288 Fuel Gauge"
2508c0984e5SSebastian Reichel	depends on MFD_AXP20X && IIO
2518c0984e5SSebastian Reichel	help
2528c0984e5SSebastian Reichel	  Say yes here to have support for X-Power power management IC (PMIC)
2538c0984e5SSebastian Reichel	  Fuel Gauge. The device provides battery statistics and status
2548c0984e5SSebastian Reichel	  monitoring as well as alerts for battery over/under voltage and
2558c0984e5SSebastian Reichel	  over/under temperature.
2568c0984e5SSebastian Reichel
2578c0984e5SSebastian Reichelconfig BATTERY_MAX17040
2588c0984e5SSebastian Reichel	tristate "Maxim MAX17040 Fuel Gauge"
2598c0984e5SSebastian Reichel	depends on I2C
2608c0984e5SSebastian Reichel	help
2618c0984e5SSebastian Reichel	  MAX17040 is fuel-gauge systems for lithium-ion (Li+) batteries
2628c0984e5SSebastian Reichel	  in handheld and portable equipment. The MAX17040 is configured
2638c0984e5SSebastian Reichel	  to operate with a single lithium cell
2648c0984e5SSebastian Reichel
2658c0984e5SSebastian Reichelconfig BATTERY_MAX17042
2668c0984e5SSebastian Reichel	tristate "Maxim MAX17042/17047/17050/8997/8966 Fuel Gauge"
2678c0984e5SSebastian Reichel	depends on I2C
2688c0984e5SSebastian Reichel	select REGMAP_I2C
2698c0984e5SSebastian Reichel	help
2708c0984e5SSebastian Reichel	  MAX17042 is fuel-gauge systems for lithium-ion (Li+) batteries
2718c0984e5SSebastian Reichel	  in handheld and portable equipment. The MAX17042 is configured
2728c0984e5SSebastian Reichel	  to operate with a single lithium cell. MAX8997 and MAX8966 are
2738c0984e5SSebastian Reichel	  multi-function devices that include fuel gauages that are compatible
2748c0984e5SSebastian Reichel	  with MAX17042. This driver also supports max17047/50 chips which are
2758c0984e5SSebastian Reichel	  improved version of max17042.
2768c0984e5SSebastian Reichel
2778c0984e5SSebastian Reichelconfig BATTERY_Z2
2788c0984e5SSebastian Reichel	tristate "Z2 battery driver"
2798c0984e5SSebastian Reichel	depends on I2C && MACH_ZIPIT2
2808c0984e5SSebastian Reichel	help
2818c0984e5SSebastian Reichel	  Say Y to include support for the battery on the Zipit Z2.
2828c0984e5SSebastian Reichel
2838c0984e5SSebastian Reichelconfig BATTERY_S3C_ADC
2848c0984e5SSebastian Reichel	tristate "Battery driver for Samsung ADC based monitoring"
2858c0984e5SSebastian Reichel	depends on S3C_ADC
2868c0984e5SSebastian Reichel	help
2878c0984e5SSebastian Reichel	  Say Y here to enable support for iPAQ h1930/h1940/rx1950 battery
2888c0984e5SSebastian Reichel
2898c0984e5SSebastian Reichelconfig BATTERY_TWL4030_MADC
2908c0984e5SSebastian Reichel	tristate "TWL4030 MADC battery driver"
2918c0984e5SSebastian Reichel	depends on TWL4030_MADC
2928c0984e5SSebastian Reichel	help
2938c0984e5SSebastian Reichel	  Say Y here to enable this dumb driver for batteries managed
2948c0984e5SSebastian Reichel	  through the TWL4030 MADC.
2958c0984e5SSebastian Reichel
2968c0984e5SSebastian Reichelconfig CHARGER_88PM860X
2978c0984e5SSebastian Reichel	tristate "Marvell 88PM860x Charger driver"
2988c0984e5SSebastian Reichel	depends on MFD_88PM860X && BATTERY_88PM860X
2998c0984e5SSebastian Reichel	help
3008c0984e5SSebastian Reichel	  Say Y here to enable charger for Marvell 88PM860x chip.
3018c0984e5SSebastian Reichel
3028c0984e5SSebastian Reichelconfig CHARGER_PCF50633
3038c0984e5SSebastian Reichel	tristate "NXP PCF50633 MBC"
3048c0984e5SSebastian Reichel	depends on MFD_PCF50633
3058c0984e5SSebastian Reichel	help
3068c0984e5SSebastian Reichel	 Say Y to include support for NXP PCF50633 Main Battery Charger.
3078c0984e5SSebastian Reichel
3088c0984e5SSebastian Reichelconfig BATTERY_JZ4740
3098c0984e5SSebastian Reichel	tristate "Ingenic JZ4740 battery"
3108c0984e5SSebastian Reichel	depends on MACH_JZ4740
3118c0984e5SSebastian Reichel	depends on MFD_JZ4740_ADC
3128c0984e5SSebastian Reichel	help
3138c0984e5SSebastian Reichel	  Say Y to enable support for the battery on Ingenic JZ4740 based
3148c0984e5SSebastian Reichel	  boards.
3158c0984e5SSebastian Reichel
3168c0984e5SSebastian Reichel	  This driver can be build as a module. If so, the module will be
3178c0984e5SSebastian Reichel	  called jz4740-battery.
3188c0984e5SSebastian Reichel
3198c0984e5SSebastian Reichelconfig BATTERY_RX51
3208c0984e5SSebastian Reichel	tristate "Nokia RX-51 (N900) battery driver"
3218c0984e5SSebastian Reichel	depends on TWL4030_MADC
3228c0984e5SSebastian Reichel	help
3238c0984e5SSebastian Reichel	  Say Y here to enable support for battery information on Nokia
3248c0984e5SSebastian Reichel	  RX-51, also known as N900 tablet.
3258c0984e5SSebastian Reichel
3260c9888e3STony Lindgrenconfig CHARGER_CPCAP
3270c9888e3STony Lindgren	tristate "CPCAP PMIC Charger Driver"
3280c9888e3STony Lindgren	depends on MFD_CPCAP && IIO
3290c9888e3STony Lindgren	default MFD_CPCAP
3300c9888e3STony Lindgren	help
3310c9888e3STony Lindgren	  Say Y to enable support for CPCAP PMIC charger driver for Motorola
3320c9888e3STony Lindgren	  mobile devices such as Droid 4.
3330c9888e3STony Lindgren
3348c0984e5SSebastian Reichelconfig CHARGER_ISP1704
3358c0984e5SSebastian Reichel	tristate "ISP1704 USB Charger Detection"
3368c0984e5SSebastian Reichel	depends on USB_PHY
3378c0984e5SSebastian Reichel	depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
3388c0984e5SSebastian Reichel	help
3398c0984e5SSebastian Reichel	  Say Y to enable support for USB Charger Detection with
3408c0984e5SSebastian Reichel	  ISP1707/ISP1704 USB transceivers.
3418c0984e5SSebastian Reichel
3428c0984e5SSebastian Reichelconfig CHARGER_MAX8903
3438c0984e5SSebastian Reichel	tristate "MAX8903 Battery DC-DC Charger for USB and Adapter Power"
3448c0984e5SSebastian Reichel	help
3458c0984e5SSebastian Reichel	  Say Y to enable support for the MAX8903 DC-DC charger and sysfs.
3468c0984e5SSebastian Reichel	  The driver supports controlling charger-enable and current-limit
3478c0984e5SSebastian Reichel	  pins based on the status of charger connections with interrupt
3488c0984e5SSebastian Reichel	  handlers.
3498c0984e5SSebastian Reichel
3508c0984e5SSebastian Reichelconfig CHARGER_TWL4030
3518c0984e5SSebastian Reichel	tristate "OMAP TWL4030 BCI charger driver"
3528c0984e5SSebastian Reichel	depends on IIO && TWL4030_CORE
3538c0984e5SSebastian Reichel	help
3548c0984e5SSebastian Reichel	  Say Y here to enable support for TWL4030 Battery Charge Interface.
3558c0984e5SSebastian Reichel
3568c0984e5SSebastian Reichelconfig CHARGER_LP8727
3578c0984e5SSebastian Reichel	tristate "TI/National Semiconductor LP8727 charger driver"
3588c0984e5SSebastian Reichel	depends on I2C
3598c0984e5SSebastian Reichel	help
3608c0984e5SSebastian Reichel	  Say Y here to enable support for LP8727 Charger Driver.
3618c0984e5SSebastian Reichel
3628c0984e5SSebastian Reichelconfig CHARGER_LP8788
3638c0984e5SSebastian Reichel	tristate "TI LP8788 charger driver"
3648c0984e5SSebastian Reichel	depends on MFD_LP8788
3658c0984e5SSebastian Reichel	depends on LP8788_ADC
3668c0984e5SSebastian Reichel	depends on IIO
3678c0984e5SSebastian Reichel	help
3688c0984e5SSebastian Reichel	  Say Y to enable support for the LP8788 linear charger.
3698c0984e5SSebastian Reichel
3708c0984e5SSebastian Reichelconfig CHARGER_GPIO
3718c0984e5SSebastian Reichel	tristate "GPIO charger"
3728c0984e5SSebastian Reichel	depends on GPIOLIB || COMPILE_TEST
3738c0984e5SSebastian Reichel	help
3748c0984e5SSebastian Reichel	  Say Y to include support for chargers which report their online status
3758c0984e5SSebastian Reichel	  through a GPIO pin.
3768c0984e5SSebastian Reichel
3778c0984e5SSebastian Reichel	  This driver can be build as a module. If so, the module will be
3788c0984e5SSebastian Reichel	  called gpio-charger.
3798c0984e5SSebastian Reichel
3808c0984e5SSebastian Reichelconfig CHARGER_MANAGER
3818c0984e5SSebastian Reichel	bool "Battery charger manager for multiple chargers"
3828c0984e5SSebastian Reichel	depends on REGULATOR
3838c0984e5SSebastian Reichel	select EXTCON
3848c0984e5SSebastian Reichel	help
3858c0984e5SSebastian Reichel          Say Y to enable charger-manager support, which allows multiple
3868c0984e5SSebastian Reichel          chargers attached to a battery and multiple batteries attached to a
3878c0984e5SSebastian Reichel          system. The charger-manager also can monitor charging status in
3888c0984e5SSebastian Reichel          runtime and in suspend-to-RAM by waking up the system periodically
3898c0984e5SSebastian Reichel          with help of suspend_again support.
3908c0984e5SSebastian Reichel
3918c0984e5SSebastian Reichelconfig CHARGER_MAX14577
3928c0984e5SSebastian Reichel	tristate "Maxim MAX14577/77836 battery charger driver"
3938c0984e5SSebastian Reichel	depends on MFD_MAX14577
3948c0984e5SSebastian Reichel	help
3958c0984e5SSebastian Reichel	  Say Y to enable support for the battery charger control sysfs and
3968c0984e5SSebastian Reichel	  platform data of MAX14577/77836 MUICs.
3978c0984e5SSebastian Reichel
3989d60595aSAlexander Kurzconfig CHARGER_DETECTOR_MAX14656
3999d60595aSAlexander Kurz	tristate "Maxim MAX14656 USB charger detector"
4009d60595aSAlexander Kurz	depends on I2C
4019d60595aSAlexander Kurz	depends on OF
4029d60595aSAlexander Kurz	help
4039d60595aSAlexander Kurz	  Say Y to enable support for the Maxim MAX14656 USB charger detector.
4049d60595aSAlexander Kurz	  The device is compliant with the USB Battery Charging Specification
4059d60595aSAlexander Kurz	  Revision 1.2 and can be found e.g. in Kindle 4/5th generation
4069d60595aSAlexander Kurz	  readers and certain LG devices.
4079d60595aSAlexander Kurz
4088c0984e5SSebastian Reichelconfig CHARGER_MAX77693
4098c0984e5SSebastian Reichel	tristate "Maxim MAX77693 battery charger driver"
4108c0984e5SSebastian Reichel	depends on MFD_MAX77693
4118c0984e5SSebastian Reichel	help
4128c0984e5SSebastian Reichel	  Say Y to enable support for the Maxim MAX77693 battery charger.
4138c0984e5SSebastian Reichel
4148c0984e5SSebastian Reichelconfig CHARGER_MAX8997
4158c0984e5SSebastian Reichel	tristate "Maxim MAX8997/MAX8966 PMIC battery charger driver"
4168c0984e5SSebastian Reichel	depends on MFD_MAX8997 && REGULATOR_MAX8997
4178c0984e5SSebastian Reichel	help
4188c0984e5SSebastian Reichel	  Say Y to enable support for the battery charger control sysfs and
4198c0984e5SSebastian Reichel	  platform data of MAX8997/LP3974 PMICs.
4208c0984e5SSebastian Reichel
4218c0984e5SSebastian Reichelconfig CHARGER_MAX8998
4228c0984e5SSebastian Reichel	tristate "Maxim MAX8998/LP3974 PMIC battery charger driver"
4238c0984e5SSebastian Reichel	depends on MFD_MAX8998 && REGULATOR_MAX8998
4248c0984e5SSebastian Reichel	help
4258c0984e5SSebastian Reichel	  Say Y to enable support for the battery charger control sysfs and
4268c0984e5SSebastian Reichel	  platform data of MAX8998/LP3974 PMICs.
4278c0984e5SSebastian Reichel
4288c0984e5SSebastian Reichelconfig CHARGER_QCOM_SMBB
4298c0984e5SSebastian Reichel	tristate "Qualcomm Switch-Mode Battery Charger and Boost"
4308c0984e5SSebastian Reichel	depends on MFD_SPMI_PMIC || COMPILE_TEST
4318c0984e5SSebastian Reichel	depends on OF
4328c0984e5SSebastian Reichel	depends on EXTCON
43351962a35SArnd Bergmann	depends on REGULATOR
4348c0984e5SSebastian Reichel	help
4358c0984e5SSebastian Reichel	  Say Y to include support for the Switch-Mode Battery Charger and
4368c0984e5SSebastian Reichel	  Boost (SMBB) hardware found in Qualcomm PM8941 PMICs.  The charger
4378c0984e5SSebastian Reichel	  is an integrated, single-cell lithium-ion battery charger.  DT
4388c0984e5SSebastian Reichel	  configuration is required for loading, see the devicetree
4398c0984e5SSebastian Reichel	  documentation for more detail.  The base name for this driver is
4408c0984e5SSebastian Reichel	  'pm8941_charger'.
4418c0984e5SSebastian Reichel
4428c0984e5SSebastian Reichelconfig CHARGER_BQ2415X
4438c0984e5SSebastian Reichel	tristate "TI BQ2415x battery charger driver"
4448c0984e5SSebastian Reichel	depends on I2C
4458c0984e5SSebastian Reichel	help
4468c0984e5SSebastian Reichel	  Say Y to enable support for the TI BQ2415x battery charger
4478c0984e5SSebastian Reichel	  PMICs.
4488c0984e5SSebastian Reichel
4498c0984e5SSebastian Reichel	  You'll need this driver to charge batteries on e.g. Nokia
4508c0984e5SSebastian Reichel	  RX-51/N900.
4518c0984e5SSebastian Reichel
4528c0984e5SSebastian Reichelconfig CHARGER_BQ24190
4538c0984e5SSebastian Reichel	tristate "TI BQ24190 battery charger driver"
4548c0984e5SSebastian Reichel	depends on I2C
455da26580fSHans de Goede	depends on EXTCON
4568c0984e5SSebastian Reichel	depends on GPIOLIB || COMPILE_TEST
4578c0984e5SSebastian Reichel	help
4588c0984e5SSebastian Reichel	  Say Y to enable support for the TI BQ24190 battery charger.
4598c0984e5SSebastian Reichel
4608c0984e5SSebastian Reichelconfig CHARGER_BQ24257
4618c0984e5SSebastian Reichel	tristate "TI BQ24250/24251/24257 battery charger driver"
4628c0984e5SSebastian Reichel	depends on I2C
4638c0984e5SSebastian Reichel	depends on GPIOLIB || COMPILE_TEST
4648c0984e5SSebastian Reichel	depends on REGMAP_I2C
4658c0984e5SSebastian Reichel	help
4668c0984e5SSebastian Reichel	  Say Y to enable support for the TI BQ24250, BQ24251, and BQ24257 battery
4678c0984e5SSebastian Reichel	  chargers.
4688c0984e5SSebastian Reichel
4698c0984e5SSebastian Reichelconfig CHARGER_BQ24735
4708c0984e5SSebastian Reichel	tristate "TI BQ24735 battery charger support"
4718c0984e5SSebastian Reichel	depends on I2C
4728c0984e5SSebastian Reichel	depends on GPIOLIB || COMPILE_TEST
4738c0984e5SSebastian Reichel	help
4748c0984e5SSebastian Reichel	  Say Y to enable support for the TI BQ24735 battery charger.
4758c0984e5SSebastian Reichel
4768c0984e5SSebastian Reichelconfig CHARGER_BQ25890
4778c0984e5SSebastian Reichel	tristate "TI BQ25890 battery charger driver"
4788c0984e5SSebastian Reichel	depends on I2C
4798c0984e5SSebastian Reichel	depends on GPIOLIB || COMPILE_TEST
4808c0984e5SSebastian Reichel	select REGMAP_I2C
4818c0984e5SSebastian Reichel	help
4828c0984e5SSebastian Reichel	  Say Y to enable support for the TI BQ25890 battery charger.
4838c0984e5SSebastian Reichel
4848c0984e5SSebastian Reichelconfig CHARGER_SMB347
4858c0984e5SSebastian Reichel	tristate "Summit Microelectronics SMB347 Battery Charger"
4868c0984e5SSebastian Reichel	depends on I2C
4878c0984e5SSebastian Reichel	select REGMAP_I2C
4888c0984e5SSebastian Reichel	help
4898c0984e5SSebastian Reichel	  Say Y to include support for Summit Microelectronics SMB347
4908c0984e5SSebastian Reichel	  Battery Charger.
4918c0984e5SSebastian Reichel
4928c0984e5SSebastian Reichelconfig CHARGER_TPS65090
4938c0984e5SSebastian Reichel	tristate "TPS65090 battery charger driver"
4948c0984e5SSebastian Reichel	depends on MFD_TPS65090
4958c0984e5SSebastian Reichel	help
4968c0984e5SSebastian Reichel	 Say Y here to enable support for battery charging with TPS65090
4978c0984e5SSebastian Reichel	 PMIC chips.
4988c0984e5SSebastian Reichel
4998c0984e5SSebastian Reichelconfig CHARGER_TPS65217
5008c0984e5SSebastian Reichel	tristate "TPS65217 battery charger driver"
5018c0984e5SSebastian Reichel	depends on MFD_TPS65217
5028c0984e5SSebastian Reichel	help
5038c0984e5SSebastian Reichel	 Say Y here to enable support for battery charging with TPS65217
5048c0984e5SSebastian Reichel	 PMIC chips.
5058c0984e5SSebastian Reichel
5068c0984e5SSebastian Reichelconfig BATTERY_GAUGE_LTC2941
5078c0984e5SSebastian Reichel	tristate "LTC2941/LTC2943 Battery Gauge Driver"
5088c0984e5SSebastian Reichel	depends on I2C
5098c0984e5SSebastian Reichel	help
5108c0984e5SSebastian Reichel	  Say Y here to include support for LTC2941 and LTC2943 Battery
5118c0984e5SSebastian Reichel	  Gauge IC. The driver reports the charge count continuously, and
5128c0984e5SSebastian Reichel	  measures the voltage and temperature every 10 seconds.
5138c0984e5SSebastian Reichel
5148c0984e5SSebastian Reichelconfig AB8500_BM
5158c0984e5SSebastian Reichel	bool "AB8500 Battery Management Driver"
5168c0984e5SSebastian Reichel	depends on AB8500_CORE && AB8500_GPADC
5178c0984e5SSebastian Reichel	help
5188c0984e5SSebastian Reichel	  Say Y to include support for AB8500 battery management.
5198c0984e5SSebastian Reichel
5208c0984e5SSebastian Reichelconfig BATTERY_GOLDFISH
5218c0984e5SSebastian Reichel	tristate "Goldfish battery driver"
5228c0984e5SSebastian Reichel	depends on GOLDFISH || COMPILE_TEST
5238c0984e5SSebastian Reichel	depends on HAS_IOMEM
5248c0984e5SSebastian Reichel	help
5258c0984e5SSebastian Reichel	  Say Y to enable support for the battery and AC power in the
5268c0984e5SSebastian Reichel	  Goldfish emulator.
5278c0984e5SSebastian Reichel
5288c0984e5SSebastian Reichelconfig BATTERY_RT5033
5298c0984e5SSebastian Reichel	tristate "RT5033 fuel gauge support"
5308c0984e5SSebastian Reichel	depends on MFD_RT5033
5318c0984e5SSebastian Reichel	help
5328c0984e5SSebastian Reichel	  This adds support for battery fuel gauge in Richtek RT5033 PMIC.
5338c0984e5SSebastian Reichel	  The fuelgauge calculates and determines the battery state of charge
5348c0984e5SSebastian Reichel	  according to battery open circuit voltage.
5358c0984e5SSebastian Reichel
5368c0984e5SSebastian Reichelconfig CHARGER_RT9455
5378c0984e5SSebastian Reichel	tristate "Richtek RT9455 battery charger driver"
5388c0984e5SSebastian Reichel	depends on I2C
5398c0984e5SSebastian Reichel	depends on GPIOLIB || COMPILE_TEST
5408c0984e5SSebastian Reichel	select REGMAP_I2C
5418c0984e5SSebastian Reichel	help
5428c0984e5SSebastian Reichel	  Say Y to enable support for Richtek RT9455 battery charger.
5438c0984e5SSebastian Reichel
5448c0984e5SSebastian Reichelconfig AXP20X_POWER
5458c0984e5SSebastian Reichel	tristate "AXP20x power supply driver"
5468c0984e5SSebastian Reichel	depends on MFD_AXP20X
5478c0984e5SSebastian Reichel	help
5488c0984e5SSebastian Reichel	  This driver provides support for the power supply features of
5498c0984e5SSebastian Reichel	  AXP20x PMIC.
5508c0984e5SSebastian Reichel
5518c0984e5SSebastian Reichelendif # POWER_SUPPLY
552