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

From: Linus Walleij
Date: Thu Jun 14 2018 - 10:52:20 EST


On Wed, Jun 13, 2018 at 6:06 PM, Craig Tatlor <ctatlor97@xxxxxxxxx> 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 increase the accuracy
> of the estimated capacity.
>
> Signed-off-by: Craig Tatlor <ctatlor97@xxxxxxxxx>
> ---
>
> * Changes from v5:
> Uses select for REGMAP_SPMI.

Looks very nice to me!
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij