aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/Kconfig
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-12-13 22:26:04 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-13 22:26:04 -0500
commit7313264b899bbf3988841296265a6e0e8a7b6521 (patch)
tree59b5069980434945394152e94eeaef2b32cf4e72 /drivers/power/Kconfig
parentd8c532c40721f7507896d202b8cae3b3642d2b0d (diff)
parent76d8a23b127020472207b281427d3e9f4f1227e4 (diff)
Merge tag 'for-v3.8-merged' of git://git.infradead.org/battery-2.6
Pull battery subsystem updates from Anton Vorontsov: "Highlights: - Two new drivers from Pali Rohár and N900 hackers: rx51_battery and bq2415x_charger. The drivers are a part of a solution to replace the proprietary Nokia BME stack - Power supply core now registers devices with a thermal cooling subsystem, so we can now automatically throttle charging. Thanks to Ramakrishna Pallala! - Device tree support for ab8500 and max8925_power drivers - Random fixups and enhancements for a bunch of drivers." * tag 'for-v3.8-merged' of git://git.infradead.org/battery-2.6: (22 commits) max8925_power: Add support for device-tree initialization ab8500: Add devicetree support for chargalg ab8500: Add devicetree support for charger ab8500: Add devicetree support for btemp ab8500: Add devicetree support for fuelgauge twl4030_charger: Change TWL4030_MODULE_* ids to TWL_MODULE_* jz4740-battery: Use devm_request_and_ioremap jz4740-battery: Use devm_kzalloc bq27x00_battery: Fixup nominal available capacity reporting bq2415x_charger: Fix style issues bq2415x_charger: Add Kconfig/Makefile entries power_supply: Add bq2415x charger driver power_supply: Add new Nokia RX-51 (N900) power supply battery driver max17042_battery: Fix missing verify_model_lock() return value check ds2782_battery: Fix signedness bug in ds278x_read_reg16() lp8788-charger: Fix ADC channel names lp8788-charger: Fix wrong ADC conversion lp8788-charger: Use consumer device name on setting IIO channels power_supply: Register power supply for thermal cooling device power_supply: Add support for CHARGE_CONTROL_* attributes ...
Diffstat (limited to 'drivers/power/Kconfig')
-rw-r--r--drivers/power/Kconfig24
1 files changed, 17 insertions, 7 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index b1d956d81f0c..9f45e2f77d53 100644
--- a/drivers/power/Kconfig
+++ b/drivers/power/Kconfig
@@ -245,6 +245,13 @@ config BATTERY_INTEL_MID
245 Say Y here to enable the battery driver on Intel MID 245 Say Y here to enable the battery driver on Intel MID
246 platforms. 246 platforms.
247 247
248config BATTERY_RX51
249 tristate "Nokia RX-51 (N900) battery driver"
250 depends on TWL4030_MADC
251 help
252 Say Y here to enable support for battery information on Nokia
253 RX-51, also known as N900 tablet.
254
248config CHARGER_ISP1704 255config CHARGER_ISP1704
249 tristate "ISP1704 USB Charger Detection" 256 tristate "ISP1704 USB Charger Detection"
250 depends on USB_OTG_UTILS 257 depends on USB_OTG_UTILS
@@ -315,6 +322,16 @@ config CHARGER_MAX8998
315 Say Y to enable support for the battery charger control sysfs and 322 Say Y to enable support for the battery charger control sysfs and
316 platform data of MAX8998/LP3974 PMICs. 323 platform data of MAX8998/LP3974 PMICs.
317 324
325config CHARGER_BQ2415X
326 tristate "TI BQ2415x battery charger driver"
327 depends on I2C
328 help
329 Say Y to enable support for the TI BQ2415x battery charger
330 PMICs.
331
332 You'll need this driver to charge batteries on e.g. Nokia
333 RX-51/N900.
334
318config CHARGER_SMB347 335config CHARGER_SMB347
319 tristate "Summit Microelectronics SMB347 Battery Charger" 336 tristate "Summit Microelectronics SMB347 Battery Charger"
320 depends on I2C 337 depends on I2C
@@ -329,13 +346,6 @@ config AB8500_BM
329 help 346 help
330 Say Y to include support for AB8500 battery management. 347 Say Y to include support for AB8500 battery management.
331 348
332config AB8500_BATTERY_THERM_ON_BATCTRL
333 bool "Thermistor connected on BATCTRL ADC"
334 depends on AB8500_BM
335 help
336 Say Y to enable battery temperature measurements using
337 thermistor connected on BATCTRL ADC.
338
339source "drivers/power/reset/Kconfig" 349source "drivers/power/reset/Kconfig"
340 350
341endif # POWER_SUPPLY 351endif # POWER_SUPPLY