Re: [PATCH 0/6] Optimize the Spreadtrum SC27xx fuel gauge

2019-09-02 Thread Baolin Wang
Hi Sebastian,

On Tue, 3 Sep 2019 at 05:04, Sebastian Reichel  wrote:
>
> Hi,
>
> On Wed, Jul 31, 2019 at 06:00:22PM +0800, Baolin Wang wrote:
> > This patch set adds new attributes for userspace, and fixes the the
> > accuracy issue of coulomb counter calculation, as well as optimizing
> > the battery capacity calibration in some abnormal scenarios.
> >
> > Any comments are welcome. Thanks.
>
> Thanks, queued. I slightly modified patch 4, so that int_mode is
> 'bool' instead of 'int'.

OK. Thanks.

-- 
Baolin Wang
Best Regards


Re: [PATCH 0/6] Optimize the Spreadtrum SC27xx fuel gauge

2019-09-02 Thread Sebastian Reichel
Hi,

On Wed, Jul 31, 2019 at 06:00:22PM +0800, Baolin Wang wrote:
> This patch set adds new attributes for userspace, and fixes the the
> accuracy issue of coulomb counter calculation, as well as optimizing
> the battery capacity calibration in some abnormal scenarios.
> 
> Any comments are welcome. Thanks.

Thanks, queued. I slightly modified patch 4, so that int_mode is
'bool' instead of 'int'.

-- Sebastian

> 
> Yuanjiang Yu (6):
>   power: supply: sc27xx: Add POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN
> attribute
>   power: supply: sc27xx: Fix conditon to enable the FGU interrupt
>   power: supply: sc27xx: Fix the the accuracy issue of coulomb
> calculation
>   power: supply: sc27xx: Optimize the battery capacity calibration
>   power: supply: sc27xx: Make sure the alarm capacity is larger than 0
>   power: supply: sc27xx: Add POWER_SUPPLY_PROP_CALIBRATE attribute
> 
>  drivers/power/supply/sc27xx_fuel_gauge.c |  175 
> +-
>  1 file changed, 124 insertions(+), 51 deletions(-)
> 
> -- 
> 1.7.9.5
> 


signature.asc
Description: PGP signature


[PATCH 0/6] Optimize the Spreadtrum SC27xx fuel gauge

2019-07-31 Thread Baolin Wang
Hi,

This patch set adds new attributes for userspace, and fixes the the
accuracy issue of coulomb counter calculation, as well as optimizing
the battery capacity calibration in some abnormal scenarios.

Any comments are welcome. Thanks.

Yuanjiang Yu (6):
  power: supply: sc27xx: Add POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN
attribute
  power: supply: sc27xx: Fix conditon to enable the FGU interrupt
  power: supply: sc27xx: Fix the the accuracy issue of coulomb
calculation
  power: supply: sc27xx: Optimize the battery capacity calibration
  power: supply: sc27xx: Make sure the alarm capacity is larger than 0
  power: supply: sc27xx: Add POWER_SUPPLY_PROP_CALIBRATE attribute

 drivers/power/supply/sc27xx_fuel_gauge.c |  175 +-
 1 file changed, 124 insertions(+), 51 deletions(-)

-- 
1.7.9.5