diff options
author | Mark A. Greer <mgreer@animalcreek.com> | 2013-08-24 02:21:03 (GMT) |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-08-28 01:17:54 (GMT) |
commit | d7bf353fd0aa3e12060ce64c8a7b4aaf4336145c (patch) | |
tree | 2c2464a7b173e3f8b387cd618b3f235dc31c8e77 /drivers/power/Kconfig | |
parent | ed5243f8ab2470e988dce0e416eaaddb4d7d2ccc (diff) | |
download | linux-d7bf353fd0aa3e12060ce64c8a7b4aaf4336145c.tar.xz |
bq24190_charger: Add support for TI BQ24190 Battery Charger
Add driver support for the Texas Instruments BQ24190 battery charger.
Some of the information provided by the device is about the charger and
other information is about the battery so create two power_supply objects
(one for each) and provide the appropriate information for each one.
The device has many fields that go beyond what is reasonable to report or
modify using the existing 'POWER_SUPPLY_PROP_*' properties so the driver
exports the register fields via sysfs. They are prefixed by 'f_' (for
'field') to make it easier to distinguish between a register field and a
"normal" sysfs file exported by the power_supply infrastructure.
Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'drivers/power/Kconfig')
-rw-r--r-- | drivers/power/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index dcc0d9e..e8970a6 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig @@ -334,6 +334,12 @@ config CHARGER_BQ2415X You'll need this driver to charge batteries on e.g. Nokia RX-51/N900. +config CHARGER_BQ24190 + tristate "TI BQ24190 battery charger driver" + depends on I2C && GPIOLIB + help + Say Y to enable support for the TI BQ24190 battery charger. + config CHARGER_SMB347 tristate "Summit Microelectronics SMB347 Battery Charger" depends on I2C |