]> git.baikalelectronics.ru Git - kernel.git/commit
bq2415x_charger: Add support for offline and 100mA mode
authorPali Rohár <pali.rohar@gmail.com>
Sun, 10 Feb 2013 17:32:18 +0000 (18:32 +0100)
committerAnton Vorontsov <anton@enomsg.org>
Sat, 16 Feb 2013 21:34:10 +0000 (13:34 -0800)
commitf51571d4e5915d1dd436b4f2a9743ba86689fcff
tree74dcd582e083fbf8c82e3146e89b84bb6e8d1295
parentc869f4d3534fa446da241b156d9798f2ef39881c
bq2415x_charger: Add support for offline and 100mA mode

* Renamed mode BQ2415X_MODE_NONE to BQ2415X_MODE_OFF because this mode
  turning chaging completly off

* Added new mode BQ2415X_MODE_NONE which enable charging with maximal
  current limit 100mA (this is minimal safe value for bq2415x chips)

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
drivers/power/bq2415x_charger.c
include/linux/power/bq2415x_charger.h