Re: [PATCH v6 2/4] power: supply: Add support for the Qualcomm Battery Monitoring System

2018-06-14 Thread Linus Walleij
On Wed, Jun 13, 2018 at 6:06 PM, Craig Tatlor wrote: > This patch adds a driver for the BMS (Battery Monitoring System) > block of the PM8941 PMIC, it uses a lookup table defined in the > device tree to generate a capacity from the BMS supplied OCV, it > then amends the coulomb counter to that to

[PATCH v6 2/4] power: supply: Add support for the Qualcomm Battery Monitoring System

2018-06-13 Thread Craig Tatlor
This patch adds a driver for the BMS (Battery Monitoring System) block of the PM8941 PMIC, it uses a lookup table defined in the device tree to generate a capacity from the BMS supplied OCV, it then amends the coulomb counter to that to increase the accuracy of the estimated capacity. Signed-off-b