power: supply: cpcap-charger: Update charge current table and add comments
authorTony Lindgren <tony@atomide.com>
Thu, 4 May 2017 00:26:13 +0000 (17:26 -0700)
committerSebastian Reichel <sre@kernel.org>
Sun, 14 May 2017 16:26:13 +0000 (18:26 +0200)
commit1e45330bd29067f1d0a1319e06798f2b284dbfe6
tree56e123ea5bb4de7564edffed16a387d795b2dd98
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
power: supply: cpcap-charger: Update charge current table and add comments

Turns out a similar battery charger hardware is documented for NXP MC13783
PMIC in "MC13783 Power Management and Audio Circuit Users's Guide" named
MC13783UG.pdf. Looks like the CPCAP charge current table matches that, so
let's start using the nominal values from it.

While at it, let's also add comments to some of the mystery CPCAP charger
registers based on the MC13783UG.pdf documentation.

Note that this patch does not contain any functional changes, the register
values being used stay the same.

Cc: Marcel Partap <mpartap@gmx.net>
Cc: Michael Scott <michael.scott@linaro.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/supply/cpcap-charger.c