mbox series

[0/2] rk817_charger full charge capacity fixes

Message ID 20240926144346.94630-1-macroalpha82@gmail.com
Headers show
Series rk817_charger full charge capacity fixes | expand

Message

Chris Morgan Sept. 26, 2024, 2:43 p.m. UTC
From: Chris Morgan <macromorgan@hotmail.com>

The code for fully charged capacity is still causing problems when
invalid values are reported by the charger (usually after resume from
suspend). Stop attempting to auto calibrate this and instead allow the
value to be writeable from userspace.

Chris Morgan (2):
  power: supply: rk817: stop updating info in suspend
  power: supply: rk817: Update battery capacity calibration

 drivers/power/supply/rk817_charger.c | 112 ++++++++++++++++-----------
 1 file changed, 65 insertions(+), 47 deletions(-)