Searched hist:"6 aa35ab9" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/power/supply/ |
H A D | ab8500_chargalg.c | 6aa35ab9 Fri Apr 15 15:36:37 CDT 2022 Linus Walleij <linus.walleij@linaro.org> power: supply: ab8500: Respect charge_restart_voltage_uv
The battery info contains a voltage indicating when the voltage is so low that it is time to restart the CC/CV charging. Make the AB8500 respect and prioritize this setting over the hardcoded 95% threshold.
Break out the check into its own function and add some safeguards so we do not run into unpredictable side effects.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
|