All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] Some fixes and improvments for cpcap battery and charger
@ 2019-04-07 18:12 Tony Lindgren
  2019-04-07 18:12 ` [PATCH 1/7] power: supply: cpcap-battery: Fix division by zero Tony Lindgren
                   ` (8 more replies)
  0 siblings, 9 replies; 15+ messages in thread
From: Tony Lindgren @ 2019-04-07 18:12 UTC (permalink / raw)
  To: Sebastian Reichel; +Cc: linux-pm, linux-omap

Hi all,

I've been trying to figure out how come the coulomb counter on droid 4 is off
especially for the low power consumption values. Turns out the "coulomb counter"
values correlate better with average power consumption if we divide the value with
number of samples. Otherwise we have a curve instead of flat correlation between
the register values and power consumed. I have some patches coming up eventually to
fix that, but meanwhile I've noticed some minor issues in general that would be
good to have out of the way.

I've only tagged the first one with fixes tag, the other ones can certainly wait
for the merge window considering further changes are needed at least for low power
consumption values.

Regards,

Tony


Tony Lindgren (7):
  power: supply: cpcap-battery: Fix division by zero
  power: supply: cpcap-battery: Fix low battery check
  power: supply: cpcap-battery: Fix signed counter sample register
  power: supply: cpcap-battery: Fix coulomb counter calibration register
    use
  power: supply: cpcap-battery: Use accumulator for current and power
    average
  power: supply: cpcap-battery: Fix pointless EPROBE_DEFER warnings
  power: supply: cpcap-charger: Fix pointless EPROBE_DEFER warnings

 drivers/power/supply/cpcap-battery.c | 45 +++++++++++++++-------------
 drivers/power/supply/cpcap-charger.c |  5 ++--
 2 files changed, 27 insertions(+), 23 deletions(-)

-- 
2.21.0

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2019-05-18 18:34 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-07 18:12 [PATCH 0/7] Some fixes and improvments for cpcap battery and charger Tony Lindgren
2019-04-07 18:12 ` [PATCH 1/7] power: supply: cpcap-battery: Fix division by zero Tony Lindgren
2019-04-08 12:01   ` Pavel Machek
2019-04-07 18:12 ` [PATCH 2/7] power: supply: cpcap-battery: Fix low battery check Tony Lindgren
2019-05-05 19:14   ` Pavel Machek
2019-04-07 18:12 ` [PATCH 3/7] power: supply: cpcap-battery: Fix signed counter sample register Tony Lindgren
2019-04-08 12:03   ` Pavel Machek
2019-04-07 18:12 ` [PATCH 4/7] power: supply: cpcap-battery: Fix coulomb counter calibration register use Tony Lindgren
2019-04-08 12:03   ` Pavel Machek
2019-04-07 18:12 ` [PATCH 5/7] power: supply: cpcap-battery: Use accumulator for current and power average Tony Lindgren
2019-04-07 18:12 ` [PATCH 6/7] power: supply: cpcap-battery: Fix pointless EPROBE_DEFER warnings Tony Lindgren
2019-04-08 12:04   ` Pavel Machek
2019-04-07 18:12 ` [PATCH 7/7] power: supply: cpcap-charger: " Tony Lindgren
2019-04-15 21:31 ` [PATCH 0/7] Some fixes and improvments for cpcap battery and charger Sebastian Reichel
2019-05-18 18:33 ` Tony Lindgren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.