aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorNeilBrown <neil@brown.name>2015-07-30 10:11:24 +1000
committerSebastian Reichel <sre@kernel.org>2015-08-05 05:18:06 +0200
commite4ae537e0482e99eeaa5373d39932fe65a477c21 (patch)
treec2614aea68397f9181e596916aa2f7d4b82e0f97 /Documentation/ABI
parenttwl4030_charger: allow fine control of charger current. (diff)
downloadwireguard-linux-e4ae537e0482e99eeaa5373d39932fe65a477c21.tar.xz
wireguard-linux-e4ae537e0482e99eeaa5373d39932fe65a477c21.zip
twl4030_charger: distinguish between USB current and 'AC' current
The twl4030 charger has two current sources, 'USB' and 'AC' (presumably "Accessory Charger" because it isn't Alternating Current). If 'AC' is providing current, we should set the current limit differently to when it isn't (and so USB is used). So split 'cur' into 'usb_cur' and 'ac_cur' and use accordingly. Now we must review the current setting on any interrupt or USB event which might indicate that the charger-source has changed. Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: NeilBrown <neil@brown.name> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'Documentation/ABI')
0 files changed, 0 insertions, 0 deletions