]> git.neil.brown.name Git - gta04.git/commit
twl4030_charger: add ac/mode to match usb/mode
authorNeilBrown <neilb@suse.de>
Sun, 7 Dec 2014 23:11:42 +0000 (10:11 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 8 Dec 2014 05:49:29 +0000 (16:49 +1100)
commit6c69accf787702706ac9cba2174283c8bbc1a90b
tree1cc35c441107087f38b8ea4262aa6e97d6fb0937
parent62623197ac4d10b9f3bec153ae494bc673673129
twl4030_charger: add ac/mode to match usb/mode

This allows AC charging to be turned off, must like usb charging.

"continuous" (aka "linear") mode maps to the CVENAC (constant voltage)
feature of the twl4030.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/power/twl4030_charger.c