mbox series

[0/5] cpcap battery simplification and calibrate support

Message ID 20191009210621.10522-1-tony@atomide.com (mailing list archive)
Headers show
Series cpcap battery simplification and calibrate support | expand

Message

Tony Lindgren Oct. 9, 2019, 9:06 p.m. UTC
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(-)

Comments

Tony Lindgren Oct. 16, 2019, 10:45 p.m. UTC | #1
* Tony Lindgren <tony@atomide.com> [191009 21:07]:
> 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.

Sebastian, if no other comments, let me know if you need a
resend of this set too with Pavel's acks collected.

Regards,

Tony
Sebastian Reichel Oct. 20, 2019, 8:36 p.m. UTC | #2
Hi,

On Wed, Oct 09, 2019 at 02:06:16PM -0700, Tony Lindgren wrote:
> 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(-)

Thanks, queued.

-- Sebastian