summaryrefslogtreecommitdiff
path: root/drivers/power/pcf50633-charger.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2013-10-16 16:08:31 +0200
committerAnton Vorontsov <anton@enomsg.org>2013-10-25 16:24:22 -0700
commit3ed5cd79b82e9a055e0df3275eeb471ea0f1e2d7 (patch)
tree6cb58a324dc8c0123171da4d1647a8e5422b360d /drivers/power/pcf50633-charger.c
parente47bcba4a189ab1ba23072ee2f457b1d72cd22fe (diff)
bq2415x_charger: Fix max battery regulation voltage
As per the datasheets, maximum battery regulation voltage is 4440mV. The formula is (voltage - offset) / step, so the maximum value is: (4440 - 3500) / 20 = 47 Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Thanks-to: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'drivers/power/pcf50633-charger.c')
0 files changed, 0 insertions, 0 deletions