git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e47bcba
)
bq2415x_charger: Fix max battery regulation voltage
author
Alexandre Belloni
<alexandre.belloni@free-electrons.com>
Wed, 16 Oct 2013 14:08:31 +0000
(16:08 +0200)
committer
Anton Vorontsov
<anton@enomsg.org>
Fri, 25 Oct 2013 23:24:22 +0000
(16:24 -0700)
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>
No differences found