commit | 70c9fc9a5605b747ff4d2c276d277833560e09fe | [log] [tgz] |
---|---|---|
author | Tony Lindgren <tony@atomide.com> | Wed May 03 17:26:14 2017 -0700 |
committer | Sebastian Reichel <sre@kernel.org> | Sun May 14 18:26:13 2017 +0200 |
tree | 990f078bc2bfe3ac072b550fa27dde9579cfb6c2 | |
parent | 1e45330bd29067f1d0a1319e06798f2b284dbfe6 [diff] |
power: supply: cpcap-charger: Fix charger voltages based on ADC values With the ADC driver working, we can now fix the voltage table based on the values read from the ADC. Note that unlike the ICHRG registers, the VCHRG register bits don't match the MC13783UG.pdf. 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>