mbox series

[0/3] power: supply: Improve max17040 support

Message ID BN6PR04MB06604ED6118024782BC2C11BA3A60@BN6PR04MB0660.namprd04.prod.outlook.com
Headers show
Series power: supply: Improve max17040 support | expand

Message

Jonathan Bakker May 4, 2020, 10:12 p.m. UTC
This patchset does two things:
1) Corrects the voltage reading from the max17040, which was missing
the shift and scaling.
2) Adds the ability to the set the rcomp, which is used to optimize
performance for specific battery chemistries and/or workloads.

Jonathan Bakker (3):
  power: supply: max17040: Correct voltage reading
  dt-bindings: power: supply: Document maxim,rcomp-value for max17040
  power: supply: max17040: Set rcomp value

 .../power/supply/max17040_battery.txt         |  3 ++
 drivers/power/supply/max17040_battery.c       | 35 +++++++++++++++----
 2 files changed, 32 insertions(+), 6 deletions(-)