commit | 3ed5cd79b82e9a055e0df3275eeb471ea0f1e2d7 | [log] [tgz] |
---|---|---|
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Wed Oct 16 16:08:31 2013 +0200 |
committer | Anton Vorontsov <anton@enomsg.org> | Fri Oct 25 16:24:22 2013 -0700 |
tree | 6cb58a324dc8c0123171da4d1647a8e5422b360d | |
parent | e47bcba4a189ab1ba23072ee2f457b1d72cd22fe [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>