Skip to content
Commit 3ed5cd79 authored by Alexandre Belloni's avatar Alexandre Belloni Committed by Anton Vorontsov
Browse files

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: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thanks-to: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: default avatarAnton Vorontsov <anton@enomsg.org>
parent e47bcba4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment