Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 1 | menuconfig POWER_SUPPLY |
| 2 | bool "Power supply class support" |
| 3 | help |
| 4 | Say Y here to enable power supply class support. This allows |
| 5 | power supply (batteries, AC, USB) monitoring by userspace |
| 6 | via sysfs and uevent (if available) and/or APM kernel interface |
| 7 | (if selected below). |
| 8 | |
| 9 | if POWER_SUPPLY |
| 10 | |
| 11 | config POWER_SUPPLY_DEBUG |
| 12 | bool "Power supply debug" |
| 13 | help |
| 14 | Say Y here to enable debugging messages for power supply class |
| 15 | and drivers. |
| 16 | |
Andrey Smirnov | e67d4df | 2019-06-12 01:44:04 -0700 | [diff] [blame^] | 17 | config POWER_SUPPLY_HWMON |
| 18 | bool |
| 19 | prompt "Expose power supply sensors as hwmon device" |
| 20 | depends on HWMON=y || HWMON=POWER_SUPPLY |
| 21 | default y |
| 22 | help |
| 23 | This options enables API that allows sensors found on a |
| 24 | power supply device (current, voltage, temperature) to be |
| 25 | exposed as a hwmon device. |
| 26 | |
| 27 | Say 'Y' here if you want power supplies to |
| 28 | have hwmon sysfs interface too. |
| 29 | |
| 30 | |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 31 | config PDA_POWER |
| 32 | tristate "Generic PDA/phone power driver" |
| 33 | depends on !S390 |
| 34 | help |
| 35 | Say Y here to enable generic power driver for PDAs and phones with |
| 36 | one or two external power supplies (AC/USB) connected to main and |
| 37 | backup batteries, and optional builtin charger. |
| 38 | |
| 39 | config APM_POWER |
| 40 | tristate "APM emulation for class batteries" |
| 41 | depends on APM_EMULATION |
| 42 | help |
| 43 | Say Y here to enable support APM status emulation using |
| 44 | battery class devices. |
| 45 | |
| 46 | config GENERIC_ADC_BATTERY |
| 47 | tristate "Generic battery support using IIO" |
| 48 | depends on IIO |
| 49 | help |
| 50 | Say Y here to enable support for the generic battery driver |
| 51 | which uses IIO framework to read adc. |
| 52 | |
| 53 | config MAX8925_POWER |
| 54 | tristate "MAX8925 battery charger support" |
| 55 | depends on MFD_MAX8925 |
| 56 | help |
| 57 | Say Y here to enable support for the battery charger in the Maxim |
| 58 | MAX8925 PMIC. |
| 59 | |
| 60 | config WM831X_BACKUP |
| 61 | tristate "WM831X backup battery charger support" |
| 62 | depends on MFD_WM831X |
| 63 | help |
| 64 | Say Y here to enable support for the backup battery charger |
| 65 | in the Wolfson Microelectronics WM831x PMICs. |
| 66 | |
| 67 | config WM831X_POWER |
| 68 | tristate "WM831X PMU support" |
| 69 | depends on MFD_WM831X |
| 70 | help |
| 71 | Say Y here to enable support for the power management unit |
| 72 | provided by Wolfson Microelectronics WM831x PMICs. |
| 73 | |
| 74 | config WM8350_POWER |
| 75 | tristate "WM8350 PMU support" |
| 76 | depends on MFD_WM8350 |
| 77 | help |
| 78 | Say Y here to enable support for the power management unit |
| 79 | provided by the Wolfson Microelectronics WM8350 PMIC. |
| 80 | |
| 81 | config TEST_POWER |
| 82 | tristate "Test power driver" |
| 83 | help |
| 84 | This driver is used for testing. It's safe to say M here. |
| 85 | |
| 86 | config BATTERY_88PM860X |
| 87 | tristate "Marvell 88PM860x battery driver" |
| 88 | depends on MFD_88PM860X |
| 89 | help |
| 90 | Say Y here to enable battery monitor for Marvell 88PM860x chip. |
| 91 | |
Stefan Popa | fe8e81b | 2018-04-11 18:09:42 +0300 | [diff] [blame] | 92 | config CHARGER_ADP5061 |
| 93 | tristate "ADP5061 battery charger driver" |
| 94 | depends on I2C |
| 95 | select REGMAP_I2C |
| 96 | help |
| 97 | Say Y here to enable support for the ADP5061 standalone battery |
| 98 | charger. |
| 99 | |
| 100 | This driver can be built as a module. If so, the module will be |
| 101 | called adp5061. |
| 102 | |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 103 | config BATTERY_ACT8945A |
| 104 | tristate "Active-semi ACT8945A charger driver" |
| 105 | depends on MFD_ACT8945A || COMPILE_TEST |
| 106 | help |
| 107 | Say Y here to enable support for power supply provided by |
| 108 | Active-semi ActivePath ACT8945A charger. |
| 109 | |
Tony Lindgren | 874b2ad | 2017-05-31 17:19:21 -0700 | [diff] [blame] | 110 | config BATTERY_CPCAP |
| 111 | tristate "Motorola CPCAP PMIC battery driver" |
| 112 | depends on MFD_CPCAP && IIO |
| 113 | default MFD_CPCAP |
| 114 | help |
| 115 | Say Y here to enable support for battery on Motorola |
| 116 | phones and tablets such as droid 4. |
| 117 | |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 118 | config BATTERY_DS2760 |
| 119 | tristate "DS2760 battery driver (HP iPAQ & others)" |
Daniel Mack | bf49735 | 2018-07-06 07:35:51 +0200 | [diff] [blame] | 120 | depends on W1 |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 121 | help |
| 122 | Say Y here to enable support for batteries with ds2760 chip. |
| 123 | |
| 124 | config BATTERY_DS2780 |
| 125 | tristate "DS2780 battery driver" |
| 126 | depends on HAS_IOMEM |
| 127 | select W1 |
| 128 | select W1_SLAVE_DS2780 |
| 129 | help |
| 130 | Say Y here to enable support for batteries with ds2780 chip. |
| 131 | |
| 132 | config BATTERY_DS2781 |
| 133 | tristate "DS2781 battery driver" |
| 134 | depends on HAS_IOMEM |
| 135 | select W1 |
| 136 | select W1_SLAVE_DS2781 |
| 137 | help |
| 138 | If you enable this you will have the DS2781 battery driver support. |
| 139 | |
| 140 | The battery monitor chip is used in many batteries/devices |
| 141 | as the one who is responsible for charging/discharging/monitoring |
| 142 | Li+ batteries. |
| 143 | |
| 144 | If you are unsure, say N. |
| 145 | |
| 146 | config BATTERY_DS2782 |
| 147 | tristate "DS2782/DS2786 standalone gas-gauge" |
| 148 | depends on I2C |
| 149 | help |
| 150 | Say Y here to enable support for the DS2782/DS2786 standalone battery |
| 151 | gas-gauge. |
| 152 | |
David Lechner | 53db885 | 2017-04-11 16:05:22 -0500 | [diff] [blame] | 153 | config BATTERY_LEGO_EV3 |
| 154 | tristate "LEGO MINDSTORMS EV3 battery" |
| 155 | depends on OF && IIO && GPIOLIB |
| 156 | help |
| 157 | Say Y here to enable support for the LEGO MINDSTORMS EV3 battery. |
| 158 | |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 159 | config BATTERY_PMU |
| 160 | tristate "Apple PMU battery" |
| 161 | depends on PPC32 && ADB_PMU |
| 162 | help |
| 163 | Say Y here to expose battery information on Apple machines |
| 164 | through the generic battery class. |
| 165 | |
| 166 | config BATTERY_OLPC |
| 167 | tristate "One Laptop Per Child battery" |
| 168 | depends on X86_32 && OLPC |
| 169 | help |
| 170 | Say Y to enable support for the battery on the OLPC laptop. |
| 171 | |
| 172 | config BATTERY_TOSA |
| 173 | tristate "Sharp SL-6000 (tosa) battery" |
| 174 | depends on MACH_TOSA && MFD_TC6393XB && TOUCHSCREEN_WM97XX |
| 175 | help |
| 176 | Say Y to enable support for the battery on the Sharp Zaurus |
| 177 | SL-6000 (tosa) models. |
| 178 | |
| 179 | config BATTERY_COLLIE |
| 180 | tristate "Sharp SL-5500 (collie) battery" |
| 181 | depends on SA1100_COLLIE && MCP_UCB1200 |
| 182 | help |
| 183 | Say Y to enable support for the battery on the Sharp Zaurus |
| 184 | SL-5500 (collie) models. |
| 185 | |
Artur Rojek | fb24ccf | 2019-04-18 20:24:04 +0200 | [diff] [blame] | 186 | config BATTERY_INGENIC |
| 187 | tristate "Ingenic JZ47xx SoCs battery driver" |
| 188 | depends on MIPS || COMPILE_TEST |
| 189 | depends on INGENIC_ADC |
| 190 | help |
| 191 | Choose this option if you want to monitor battery status on |
| 192 | Ingenic JZ47xx SoC based devices. |
| 193 | |
| 194 | This driver can also be built as a module. If so, the module will be |
| 195 | called ingenic-battery. |
| 196 | |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 197 | config BATTERY_IPAQ_MICRO |
| 198 | tristate "iPAQ Atmel Micro ASIC battery driver" |
| 199 | depends on MFD_IPAQ_MICRO |
| 200 | help |
| 201 | Choose this option if you want to monitor battery status on |
| 202 | Compaq/HP iPAQ h3100 and h3600. |
| 203 | |
| 204 | config BATTERY_WM97XX |
| 205 | bool "WM97xx generic battery driver" |
| 206 | depends on TOUCHSCREEN_WM97XX=y |
| 207 | help |
| 208 | Say Y to enable support for battery measured by WM97xx aux port. |
| 209 | |
| 210 | config BATTERY_SBS |
| 211 | tristate "SBS Compliant gas gauge" |
| 212 | depends on I2C |
| 213 | help |
| 214 | Say Y to include support for SBS battery driver for SBS-compliant |
| 215 | gas gauges. |
| 216 | |
Nicolas Saenz Julienne | feb583e | 2016-12-20 16:31:13 +0100 | [diff] [blame] | 217 | config CHARGER_SBS |
| 218 | tristate "SBS Compliant charger" |
| 219 | depends on I2C |
| 220 | help |
Masanari Iida | 83fc61a | 2017-09-26 12:47:59 +0900 | [diff] [blame] | 221 | Say Y to include support for SBS compliant battery chargers. |
Nicolas Saenz Julienne | feb583e | 2016-12-20 16:31:13 +0100 | [diff] [blame] | 222 | |
Karl-Heinz Schneider | dbc4ded | 2017-08-24 17:31:08 +0800 | [diff] [blame] | 223 | config MANAGER_SBS |
| 224 | tristate "Smart Battery System Manager" |
Phil Reid | a0b8839 | 2017-08-24 17:31:09 +0800 | [diff] [blame] | 225 | depends on I2C && I2C_MUX && GPIOLIB |
| 226 | select I2C_SMBUS |
Karl-Heinz Schneider | dbc4ded | 2017-08-24 17:31:08 +0800 | [diff] [blame] | 227 | help |
| 228 | Say Y here to include support for Smart Battery System Manager |
| 229 | ICs. The driver reports online and charging status via sysfs. |
| 230 | It presents itself also as I2C mux which allows to bind |
| 231 | smart battery driver to its ports. |
| 232 | Supported is for example LTC1760. |
| 233 | |
| 234 | This driver can also be built as a module. If so, the module will be |
| 235 | called sbs-manager. |
| 236 | |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 237 | config BATTERY_BQ27XXX |
| 238 | tristate "BQ27xxx battery driver" |
| 239 | help |
| 240 | Say Y here to enable support for batteries with BQ27xxx chips. |
| 241 | |
| 242 | config BATTERY_BQ27XXX_I2C |
| 243 | tristate "BQ27xxx I2C support" |
| 244 | depends on BATTERY_BQ27XXX |
| 245 | depends on I2C |
| 246 | default y |
| 247 | help |
| 248 | Say Y here to enable support for batteries with BQ27xxx chips |
| 249 | connected over an I2C bus. |
| 250 | |
Andrew F. Davis | 55a9db6 | 2017-07-19 12:04:06 -0500 | [diff] [blame] | 251 | config BATTERY_BQ27XXX_HDQ |
| 252 | tristate "BQ27xxx HDQ support" |
| 253 | depends on BATTERY_BQ27XXX |
| 254 | depends on W1 |
| 255 | default y |
| 256 | help |
| 257 | Say Y here to enable support for batteries with BQ27xxx chips |
| 258 | connected over an HDQ bus. |
| 259 | |
Liam Breck | ccce440 | 2017-06-07 11:37:56 -0700 | [diff] [blame] | 260 | config BATTERY_BQ27XXX_DT_UPDATES_NVM |
| 261 | bool "BQ27xxx support for update of NVM/flash data memory" |
| 262 | depends on BATTERY_BQ27XXX_I2C |
| 263 | help |
| 264 | Say Y here to enable devicetree monitored-battery config to update |
| 265 | NVM/flash data memory. Only enable this option for devices with a |
| 266 | fuel gauge mounted on the circuit board, and a battery that cannot |
| 267 | easily be replaced with one of a different type. Not for |
| 268 | general-purpose kernels, as this can cause misconfiguration of a |
| 269 | smart battery with embedded NVM/flash. |
| 270 | |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 271 | config BATTERY_DA9030 |
| 272 | tristate "DA9030 battery driver" |
| 273 | depends on PMIC_DA903X |
| 274 | help |
| 275 | Say Y here to enable support for batteries charger integrated into |
| 276 | DA9030 PMIC. |
| 277 | |
| 278 | config BATTERY_DA9052 |
| 279 | tristate "Dialog DA9052 Battery" |
| 280 | depends on PMIC_DA9052 |
| 281 | help |
| 282 | Say Y here to enable support for batteries charger integrated into |
| 283 | DA9052 PMIC. |
| 284 | |
| 285 | config CHARGER_DA9150 |
| 286 | tristate "Dialog Semiconductor DA9150 Charger support" |
| 287 | depends on MFD_DA9150 |
| 288 | depends on DA9150_GPADC |
| 289 | depends on IIO |
| 290 | help |
| 291 | Say Y here to enable support for charger unit of the DA9150 |
| 292 | Integrated Charger & Fuel-Gauge IC. |
| 293 | |
| 294 | This driver can also be built as a module. If so, the module will be |
| 295 | called da9150-charger. |
| 296 | |
| 297 | config BATTERY_DA9150 |
| 298 | tristate "Dialog Semiconductor DA9150 Fuel Gauge support" |
| 299 | depends on MFD_DA9150 |
| 300 | help |
| 301 | Say Y here to enable support for the Fuel-Gauge unit of the DA9150 |
| 302 | Integrated Charger & Fuel-Gauge IC |
| 303 | |
| 304 | This driver can also be built as a module. If so, the module will be |
| 305 | called da9150-fg. |
| 306 | |
Quentin Schulz | 744cc30 | 2017-01-27 09:54:43 +0100 | [diff] [blame] | 307 | config CHARGER_AXP20X |
| 308 | tristate "X-Powers AXP20X and AXP22X AC power supply driver" |
| 309 | depends on MFD_AXP20X |
| 310 | depends on AXP20X_ADC |
| 311 | depends on IIO |
| 312 | help |
| 313 | Say Y here to enable support for X-Powers AXP20X and AXP22X PMICs' AC |
| 314 | power supply. |
| 315 | |
| 316 | This driver can also be built as a module. If so, the module will be |
| 317 | called axp20x_ac_power. |
| 318 | |
Quentin Schulz | 46c202b | 2017-04-18 09:34:17 +0200 | [diff] [blame] | 319 | config BATTERY_AXP20X |
| 320 | tristate "X-Powers AXP20X battery driver" |
| 321 | depends on MFD_AXP20X |
| 322 | depends on AXP20X_ADC |
| 323 | depends on IIO |
| 324 | help |
| 325 | Say Y here to enable support for X-Powers AXP20X PMICs' battery power |
| 326 | supply. |
| 327 | |
| 328 | This driver can also be built as a module. If so, the module will be |
| 329 | called axp20x_battery. |
| 330 | |
Arnd Bergmann | 6254a6a | 2017-04-27 21:11:48 +0200 | [diff] [blame] | 331 | config AXP20X_POWER |
| 332 | tristate "AXP20x power supply driver" |
| 333 | depends on MFD_AXP20X |
| 334 | depends on IIO |
| 335 | help |
| 336 | This driver provides support for the power supply features of |
| 337 | AXP20x PMIC. |
| 338 | |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 339 | config AXP288_CHARGER |
| 340 | tristate "X-Powers AXP288 Charger" |
| 341 | depends on MFD_AXP20X && EXTCON_AXP288 |
| 342 | help |
| 343 | Say yes here to have support X-Power AXP288 power management IC (PMIC) |
| 344 | integrated charger. |
| 345 | |
| 346 | config AXP288_FUEL_GAUGE |
| 347 | tristate "X-Powers AXP288 Fuel Gauge" |
| 348 | depends on MFD_AXP20X && IIO |
| 349 | help |
| 350 | Say yes here to have support for X-Power power management IC (PMIC) |
| 351 | Fuel Gauge. The device provides battery statistics and status |
| 352 | monitoring as well as alerts for battery over/under voltage and |
| 353 | over/under temperature. |
| 354 | |
| 355 | config BATTERY_MAX17040 |
| 356 | tristate "Maxim MAX17040 Fuel Gauge" |
| 357 | depends on I2C |
| 358 | help |
| 359 | MAX17040 is fuel-gauge systems for lithium-ion (Li+) batteries |
| 360 | in handheld and portable equipment. The MAX17040 is configured |
| 361 | to operate with a single lithium cell |
| 362 | |
| 363 | config BATTERY_MAX17042 |
| 364 | tristate "Maxim MAX17042/17047/17050/8997/8966 Fuel Gauge" |
| 365 | depends on I2C |
| 366 | select REGMAP_I2C |
| 367 | help |
| 368 | MAX17042 is fuel-gauge systems for lithium-ion (Li+) batteries |
| 369 | in handheld and portable equipment. The MAX17042 is configured |
| 370 | to operate with a single lithium cell. MAX8997 and MAX8966 are |
| 371 | multi-function devices that include fuel gauages that are compatible |
| 372 | with MAX17042. This driver also supports max17047/50 chips which are |
| 373 | improved version of max17042. |
| 374 | |
Alex A. Mihaylov | 10e48b7 | 2017-07-06 16:10:16 +0300 | [diff] [blame] | 375 | config BATTERY_MAX1721X |
| 376 | tristate "MAX17211/MAX17215 standalone gas-gauge" |
| 377 | depends on W1 |
| 378 | select REGMAP_W1 |
| 379 | help |
| 380 | MAX1721x is fuel-gauge systems for lithium-ion (Li+) batteries |
| 381 | in handheld and portable equipment. MAX17211 used with single cell |
| 382 | battery. MAX17215 designed for muticell battery. Both them have |
| 383 | OneWire (W1) host interface. |
| 384 | |
| 385 | Say Y here to enable support for the MAX17211/MAX17215 standalone |
| 386 | battery gas-gauge. |
| 387 | |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 388 | config BATTERY_Z2 |
| 389 | tristate "Z2 battery driver" |
| 390 | depends on I2C && MACH_ZIPIT2 |
| 391 | help |
| 392 | Say Y to include support for the battery on the Zipit Z2. |
| 393 | |
| 394 | config BATTERY_S3C_ADC |
| 395 | tristate "Battery driver for Samsung ADC based monitoring" |
| 396 | depends on S3C_ADC |
| 397 | help |
| 398 | Say Y here to enable support for iPAQ h1930/h1940/rx1950 battery |
| 399 | |
| 400 | config BATTERY_TWL4030_MADC |
| 401 | tristate "TWL4030 MADC battery driver" |
| 402 | depends on TWL4030_MADC |
| 403 | help |
| 404 | Say Y here to enable this dumb driver for batteries managed |
| 405 | through the TWL4030 MADC. |
| 406 | |
| 407 | config CHARGER_88PM860X |
| 408 | tristate "Marvell 88PM860x Charger driver" |
| 409 | depends on MFD_88PM860X && BATTERY_88PM860X |
| 410 | help |
| 411 | Say Y here to enable charger for Marvell 88PM860x chip. |
| 412 | |
| 413 | config CHARGER_PCF50633 |
| 414 | tristate "NXP PCF50633 MBC" |
| 415 | depends on MFD_PCF50633 |
| 416 | help |
| 417 | Say Y to include support for NXP PCF50633 Main Battery Charger. |
| 418 | |
| 419 | config BATTERY_JZ4740 |
| 420 | tristate "Ingenic JZ4740 battery" |
| 421 | depends on MACH_JZ4740 |
| 422 | depends on MFD_JZ4740_ADC |
| 423 | help |
| 424 | Say Y to enable support for the battery on Ingenic JZ4740 based |
| 425 | boards. |
| 426 | |
| 427 | This driver can be build as a module. If so, the module will be |
| 428 | called jz4740-battery. |
| 429 | |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 430 | config BATTERY_RX51 |
| 431 | tristate "Nokia RX-51 (N900) battery driver" |
| 432 | depends on TWL4030_MADC |
| 433 | help |
| 434 | Say Y here to enable support for battery information on Nokia |
| 435 | RX-51, also known as N900 tablet. |
| 436 | |
Tony Lindgren | 0c9888e | 2017-03-26 20:25:13 -0700 | [diff] [blame] | 437 | config CHARGER_CPCAP |
| 438 | tristate "CPCAP PMIC Charger Driver" |
| 439 | depends on MFD_CPCAP && IIO |
Arnd Bergmann | 8b35bf5 | 2017-07-21 18:14:37 +0200 | [diff] [blame] | 440 | depends on OMAP_USB2 || (!OMAP_USB2 && COMPILE_TEST) |
Tony Lindgren | 0c9888e | 2017-03-26 20:25:13 -0700 | [diff] [blame] | 441 | default MFD_CPCAP |
| 442 | help |
| 443 | Say Y to enable support for CPCAP PMIC charger driver for Motorola |
| 444 | mobile devices such as Droid 4. |
| 445 | |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 446 | config CHARGER_ISP1704 |
| 447 | tristate "ISP1704 USB Charger Detection" |
| 448 | depends on USB_PHY |
| 449 | depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y' |
| 450 | help |
| 451 | Say Y to enable support for USB Charger Detection with |
| 452 | ISP1707/ISP1704 USB transceivers. |
| 453 | |
| 454 | config CHARGER_MAX8903 |
| 455 | tristate "MAX8903 Battery DC-DC Charger for USB and Adapter Power" |
| 456 | help |
| 457 | Say Y to enable support for the MAX8903 DC-DC charger and sysfs. |
| 458 | The driver supports controlling charger-enable and current-limit |
| 459 | pins based on the status of charger connections with interrupt |
| 460 | handlers. |
| 461 | |
| 462 | config CHARGER_TWL4030 |
| 463 | tristate "OMAP TWL4030 BCI charger driver" |
| 464 | depends on IIO && TWL4030_CORE |
| 465 | help |
| 466 | Say Y here to enable support for TWL4030 Battery Charge Interface. |
| 467 | |
| 468 | config CHARGER_LP8727 |
| 469 | tristate "TI/National Semiconductor LP8727 charger driver" |
| 470 | depends on I2C |
| 471 | help |
| 472 | Say Y here to enable support for LP8727 Charger Driver. |
| 473 | |
| 474 | config CHARGER_LP8788 |
| 475 | tristate "TI LP8788 charger driver" |
| 476 | depends on MFD_LP8788 |
| 477 | depends on LP8788_ADC |
| 478 | depends on IIO |
| 479 | help |
| 480 | Say Y to enable support for the LP8788 linear charger. |
| 481 | |
| 482 | config CHARGER_GPIO |
| 483 | tristate "GPIO charger" |
| 484 | depends on GPIOLIB || COMPILE_TEST |
| 485 | help |
| 486 | Say Y to include support for chargers which report their online status |
| 487 | through a GPIO pin. |
| 488 | |
| 489 | This driver can be build as a module. If so, the module will be |
| 490 | called gpio-charger. |
| 491 | |
| 492 | config CHARGER_MANAGER |
| 493 | bool "Battery charger manager for multiple chargers" |
| 494 | depends on REGULATOR |
| 495 | select EXTCON |
| 496 | help |
| 497 | Say Y to enable charger-manager support, which allows multiple |
| 498 | chargers attached to a battery and multiple batteries attached to a |
| 499 | system. The charger-manager also can monitor charging status in |
| 500 | runtime and in suspend-to-RAM by waking up the system periodically |
| 501 | with help of suspend_again support. |
| 502 | |
Michael Hennerich | 2e220e6 | 2019-04-09 08:24:40 +0200 | [diff] [blame] | 503 | config CHARGER_LT3651 |
| 504 | tristate "Analog Devices LT3651 charger" |
Mike Looijmans | c94d4ed | 2017-05-09 07:44:17 +0200 | [diff] [blame] | 505 | depends on GPIOLIB |
| 506 | help |
Michael Hennerich | 2e220e6 | 2019-04-09 08:24:40 +0200 | [diff] [blame] | 507 | Say Y to include support for the Analog Devices (Linear Technology) |
| 508 | LT3651 battery charger which reports its status via GPIO lines. |
Mike Looijmans | c94d4ed | 2017-05-09 07:44:17 +0200 | [diff] [blame] | 509 | |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 510 | config CHARGER_MAX14577 |
| 511 | tristate "Maxim MAX14577/77836 battery charger driver" |
| 512 | depends on MFD_MAX14577 |
| 513 | help |
| 514 | Say Y to enable support for the battery charger control sysfs and |
| 515 | platform data of MAX14577/77836 MUICs. |
| 516 | |
Alexander Kurz | 9d60595 | 2016-10-19 18:04:49 +0200 | [diff] [blame] | 517 | config CHARGER_DETECTOR_MAX14656 |
| 518 | tristate "Maxim MAX14656 USB charger detector" |
| 519 | depends on I2C |
| 520 | depends on OF |
| 521 | help |
| 522 | Say Y to enable support for the Maxim MAX14656 USB charger detector. |
| 523 | The device is compliant with the USB Battery Charging Specification |
| 524 | Revision 1.2 and can be found e.g. in Kindle 4/5th generation |
| 525 | readers and certain LG devices. |
| 526 | |
Bartosz Golaszewski | e85e17d | 2019-04-23 11:04:47 +0200 | [diff] [blame] | 527 | config CHARGER_MAX77650 |
| 528 | tristate "Maxim MAX77650 battery charger driver" |
| 529 | depends on MFD_MAX77650 |
| 530 | help |
| 531 | Say Y to enable support for the battery charger control of MAX77650 |
| 532 | PMICs. |
| 533 | |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 534 | config CHARGER_MAX77693 |
| 535 | tristate "Maxim MAX77693 battery charger driver" |
| 536 | depends on MFD_MAX77693 |
| 537 | help |
| 538 | Say Y to enable support for the Maxim MAX77693 battery charger. |
| 539 | |
| 540 | config CHARGER_MAX8997 |
| 541 | tristate "Maxim MAX8997/MAX8966 PMIC battery charger driver" |
| 542 | depends on MFD_MAX8997 && REGULATOR_MAX8997 |
| 543 | help |
| 544 | Say Y to enable support for the battery charger control sysfs and |
| 545 | platform data of MAX8997/LP3974 PMICs. |
| 546 | |
| 547 | config CHARGER_MAX8998 |
| 548 | tristate "Maxim MAX8998/LP3974 PMIC battery charger driver" |
| 549 | depends on MFD_MAX8998 && REGULATOR_MAX8998 |
| 550 | help |
| 551 | Say Y to enable support for the battery charger control sysfs and |
| 552 | platform data of MAX8998/LP3974 PMICs. |
| 553 | |
| 554 | config CHARGER_QCOM_SMBB |
| 555 | tristate "Qualcomm Switch-Mode Battery Charger and Boost" |
| 556 | depends on MFD_SPMI_PMIC || COMPILE_TEST |
| 557 | depends on OF |
| 558 | depends on EXTCON |
Arnd Bergmann | 51962a3 | 2017-01-18 16:12:10 +0100 | [diff] [blame] | 559 | depends on REGULATOR |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 560 | help |
| 561 | Say Y to include support for the Switch-Mode Battery Charger and |
| 562 | Boost (SMBB) hardware found in Qualcomm PM8941 PMICs. The charger |
| 563 | is an integrated, single-cell lithium-ion battery charger. DT |
| 564 | configuration is required for loading, see the devicetree |
| 565 | documentation for more detail. The base name for this driver is |
| 566 | 'pm8941_charger'. |
| 567 | |
| 568 | config CHARGER_BQ2415X |
| 569 | tristate "TI BQ2415x battery charger driver" |
| 570 | depends on I2C |
| 571 | help |
| 572 | Say Y to enable support for the TI BQ2415x battery charger |
| 573 | PMICs. |
| 574 | |
| 575 | You'll need this driver to charge batteries on e.g. Nokia |
| 576 | RX-51/N900. |
| 577 | |
| 578 | config CHARGER_BQ24190 |
| 579 | tristate "TI BQ24190 battery charger driver" |
| 580 | depends on I2C |
Hans de Goede | da26580 | 2017-03-23 09:32:35 +0100 | [diff] [blame] | 581 | depends on EXTCON |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 582 | depends on GPIOLIB || COMPILE_TEST |
| 583 | help |
| 584 | Say Y to enable support for the TI BQ24190 battery charger. |
| 585 | |
| 586 | config CHARGER_BQ24257 |
| 587 | tristate "TI BQ24250/24251/24257 battery charger driver" |
| 588 | depends on I2C |
| 589 | depends on GPIOLIB || COMPILE_TEST |
| 590 | depends on REGMAP_I2C |
| 591 | help |
| 592 | Say Y to enable support for the TI BQ24250, BQ24251, and BQ24257 battery |
| 593 | chargers. |
| 594 | |
| 595 | config CHARGER_BQ24735 |
| 596 | tristate "TI BQ24735 battery charger support" |
| 597 | depends on I2C |
| 598 | depends on GPIOLIB || COMPILE_TEST |
| 599 | help |
| 600 | Say Y to enable support for the TI BQ24735 battery charger. |
| 601 | |
| 602 | config CHARGER_BQ25890 |
| 603 | tristate "TI BQ25890 battery charger driver" |
| 604 | depends on I2C |
| 605 | depends on GPIOLIB || COMPILE_TEST |
| 606 | select REGMAP_I2C |
| 607 | help |
| 608 | Say Y to enable support for the TI BQ25890 battery charger. |
| 609 | |
| 610 | config CHARGER_SMB347 |
| 611 | tristate "Summit Microelectronics SMB347 Battery Charger" |
| 612 | depends on I2C |
| 613 | select REGMAP_I2C |
| 614 | help |
| 615 | Say Y to include support for Summit Microelectronics SMB347 |
| 616 | Battery Charger. |
| 617 | |
| 618 | config CHARGER_TPS65090 |
| 619 | tristate "TPS65090 battery charger driver" |
| 620 | depends on MFD_TPS65090 |
| 621 | help |
| 622 | Say Y here to enable support for battery charging with TPS65090 |
| 623 | PMIC chips. |
| 624 | |
| 625 | config CHARGER_TPS65217 |
| 626 | tristate "TPS65217 battery charger driver" |
| 627 | depends on MFD_TPS65217 |
| 628 | help |
| 629 | Say Y here to enable support for battery charging with TPS65217 |
| 630 | PMIC chips. |
| 631 | |
| 632 | config BATTERY_GAUGE_LTC2941 |
| 633 | tristate "LTC2941/LTC2943 Battery Gauge Driver" |
| 634 | depends on I2C |
| 635 | help |
| 636 | Say Y here to include support for LTC2941 and LTC2943 Battery |
| 637 | Gauge IC. The driver reports the charge count continuously, and |
| 638 | measures the voltage and temperature every 10 seconds. |
| 639 | |
| 640 | config AB8500_BM |
| 641 | bool "AB8500 Battery Management Driver" |
| 642 | depends on AB8500_CORE && AB8500_GPADC |
| 643 | help |
| 644 | Say Y to include support for AB8500 battery management. |
| 645 | |
| 646 | config BATTERY_GOLDFISH |
| 647 | tristate "Goldfish battery driver" |
| 648 | depends on GOLDFISH || COMPILE_TEST |
| 649 | depends on HAS_IOMEM |
| 650 | help |
| 651 | Say Y to enable support for the battery and AC power in the |
| 652 | Goldfish emulator. |
| 653 | |
| 654 | config BATTERY_RT5033 |
| 655 | tristate "RT5033 fuel gauge support" |
| 656 | depends on MFD_RT5033 |
| 657 | help |
| 658 | This adds support for battery fuel gauge in Richtek RT5033 PMIC. |
| 659 | The fuelgauge calculates and determines the battery state of charge |
| 660 | according to battery open circuit voltage. |
| 661 | |
| 662 | config CHARGER_RT9455 |
| 663 | tristate "Richtek RT9455 battery charger driver" |
| 664 | depends on I2C |
| 665 | depends on GPIOLIB || COMPILE_TEST |
| 666 | select REGMAP_I2C |
| 667 | help |
| 668 | Say Y to enable support for Richtek RT9455 battery charger. |
| 669 | |
Sameer Nanda | f68b883 | 2018-05-02 17:44:17 +0200 | [diff] [blame] | 670 | config CHARGER_CROS_USBPD |
| 671 | tristate "ChromeOS EC based USBPD charger" |
| 672 | depends on MFD_CROS_EC |
| 673 | default n |
| 674 | help |
| 675 | Say Y here to enable ChromeOS EC based USBPD charger |
| 676 | driver. This driver gets various bits of information about |
| 677 | what is connected to USB PD ports from the EC and converts |
| 678 | that into power_supply properties. |
| 679 | |
Baolin Wang | 1c3d7b0 | 2018-09-17 13:03:31 -0700 | [diff] [blame] | 680 | config CHARGER_SC2731 |
| 681 | tristate "Spreadtrum SC2731 charger driver" |
| 682 | depends on MFD_SC27XX_PMIC || COMPILE_TEST |
| 683 | help |
| 684 | Say Y here to enable support for battery charging with SC2731 |
| 685 | PMIC chips. |
| 686 | |
Baolin Wang | 195ca17 | 2018-11-05 15:39:11 +0800 | [diff] [blame] | 687 | config FUEL_GAUGE_SC27XX |
| 688 | tristate "Spreadtrum SC27XX fuel gauge driver" |
| 689 | depends on MFD_SC27XX_PMIC || COMPILE_TEST |
Randy Dunlap | ed60f43 | 2018-11-12 09:06:32 -0800 | [diff] [blame] | 690 | depends on IIO |
Baolin Wang | 195ca17 | 2018-11-05 15:39:11 +0800 | [diff] [blame] | 691 | help |
| 692 | Say Y here to enable support for fuel gauge with SC27XX |
| 693 | PMIC chips. |
| 694 | |
Andrey Smirnov | 9a2688e | 2019-05-03 10:00:41 -0700 | [diff] [blame] | 695 | config CHARGER_UCS1002 |
| 696 | tristate "Microchip UCS1002 USB Port Power Controller" |
| 697 | depends on I2C |
| 698 | depends on OF |
YueHaibing | c8f3c9f | 2019-05-10 15:18:23 +0800 | [diff] [blame] | 699 | depends on REGULATOR |
Andrey Smirnov | 9a2688e | 2019-05-03 10:00:41 -0700 | [diff] [blame] | 700 | select REGMAP_I2C |
| 701 | help |
| 702 | Say Y to enable support for Microchip UCS1002 Programmable |
| 703 | USB Port Power Controller with Charger Emulation. |
| 704 | |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 705 | endif # POWER_SUPPLY |