Hi, This set of changes simplifies the coulomb counter code for cpcap-battery. And the last patch in the series add support for coulomb counter calibration on probe. Regards, Tony Tony Lindgren (5): power: supply: cpcap-battery: Move coulomb counter units per lsb to ddata power: supply: cpcap-battery: Simplify coulomb counter calculation with div_s64 power: supply: cpcap-battery: Simplify short term power average calculation power: supply: cpcap-battery: Read and save integrator register CCI power: supply: cpcap-battery: Add basic coulomb counter calibrate support drivers/power/supply/cpcap-battery.c | 178 +++++++++++++++++++-------- 1 file changed, 125 insertions(+), 53 deletions(-) -- 2.23.0