Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1724002

Re: [PATCH v3 2/4] power: supply: bq27xxx: enable writing capacity values for bq27500

From Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Newsgroups linux.kernel
Subject Re: [PATCH v3 2/4] power: supply: bq27xxx: enable writing capacity values for bq27500
Date 2017-08-31 10:40 +0200
Message-ID <uktb3-3io-19@gated-at.bofh.it> (permalink)
References <ukrLY-2y1-5@gated-at.bofh.it> <ukrLY-2y1-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

On Thu, Aug 31, 2017 at 08:59:51AM +0200, H. Nikolaus Schaller wrote:
> Tested on OpenPandora with bq27500.
> 
> Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
> ---

Thanks, queued.

-- Sebastian

>  drivers/power/supply/bq27xxx_battery.c | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/drivers/power/supply/bq27xxx_battery.c b/drivers/power/supply/bq27xxx_battery.c
> index e80571cf7be1..5562f998330f 100644
> --- a/drivers/power/supply/bq27xxx_battery.c
> +++ b/drivers/power/supply/bq27xxx_battery.c
> @@ -653,15 +653,11 @@ enum bq27xxx_dm_reg_id {
>  #define bq2751x_dm_regs 0
>  #define bq2752x_dm_regs 0
>  
> -#if 0 /* not yet tested */
>  static struct bq27xxx_dm_reg bq27500_dm_regs[] = {
>  	[BQ27XXX_DM_DESIGN_CAPACITY]   = { 48, 10, 2,    0, 65535 },
>  	[BQ27XXX_DM_DESIGN_ENERGY]     = { }, /* missing on chip */
>  	[BQ27XXX_DM_TERMINATE_VOLTAGE] = { 80, 48, 2, 1000, 32767 },
>  };
> -#else
> -#define bq27500_dm_regs 0
> -#endif
>  
>  /* todo create data memory definitions from datasheets and test on chips */
>  #define bq27510g1_dm_regs 0
> -- 
> 2.12.2
> 

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/4] fixes for latest bq27xxx driver and OpenPandora DT nodes "H. Nikolaus Schaller" <hns@goldelico.com> - 2017-08-31 09:10 +0200
  [PATCH v3 2/4] power: supply: bq27xxx: enable writing capacity values for bq27500 "H. Nikolaus Schaller" <hns@goldelico.com> - 2017-08-31 09:10 +0200
    Re: [PATCH v3 2/4] power: supply: bq27xxx: enable writing capacity  values for bq27500 Sebastian Reichel <sebastian.reichel@collabora.co.uk> - 2017-08-31 10:40 +0200
  [PATCH v3 4/4] DT: OpenPandora: fix for configuration of bq27500 fuel gauge "H. Nikolaus Schaller" <hns@goldelico.com> - 2017-08-31 09:10 +0200
  [PATCH v3 1/4] power: supply: bq27xxx: enable writing capacity values for bq27421 "H. Nikolaus Schaller" <hns@goldelico.com> - 2017-08-31 09:10 +0200
    Re: [PATCH v3 1/4] power: supply: bq27xxx: enable writing capacity  values for bq27421 Sebastian Reichel <sebastian.reichel@collabora.co.uk> - 2017-08-31 10:40 +0200
  [PATCH v3 3/4] DT: OpenPandora: add battery node to describe OpenPandora battery "H. Nikolaus Schaller" <hns@goldelico.com> - 2017-08-31 09:10 +0200

csiph-web