summaryrefslogtreecommitdiffstats
path: root/drivers/nubus
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-26 01:24:22 +0200
commit3ed5cd79b82e9a055e0df3275eeb471ea0f1e2d7 (patch)
tree6cb58a324dc8c0123171da4d1647a8e5422b360d /drivers/nubus
parenttps65090-charger: Use "IS_ENABLED(CONFIG_OF)" for DT code (diff)
downloadlinux-3ed5cd79b82e9a055e0df3275eeb471ea0f1e2d7.tar.xz
linux-3ed5cd79b82e9a055e0df3275eeb471ea0f1e2d7.zip
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/nubus')
0 files changed, 0 insertions, 0 deletions