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


Groups > linux.kernel > #1723997

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

Path csiph.com!news.mixmin.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod
From Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Newsgroups linux.kernel
Subject Re: [PATCH v3 1/4] power: supply: bq27xxx: enable writing capacity values for bq27421
Date Thu, 31 Aug 2017 10:40:01 +0200
Message-ID <uktb3-3io-7@gated-at.bofh.it> (permalink)
References <ukrLY-2y1-5@gated-at.bofh.it> <ukrLY-2y1-23@gated-at.bofh.it>
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ojeyvbusc3s4kfco"
Content-Disposition inline
User-Agent NeoMutt/20170609 (1.8.3)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 71
Organization linux.* mail to news gateway
X-Original-Cc afd@ti.com, Pali Rohár <pali.rohar@gmail.com>, Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>, David Woodhouse <dwmw2@infradead.org>, Benoît Cousson <bcousson@baylibre.com>, Tony Lindgren <tony@atomide.com>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Russell King <linux@armlinux.org.uk>, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, gta04-owner@goldelico.com, marek@goldelico.com, linux-omap@vger.kernel.org, devicetree@vger.kernel.org
X-Original-Date Thu, 31 Aug 2017 10:37:36 +0200
X-Original-Message-ID <20170831083736.7vb576hu4ygub57k@earth>
X-Original-References <cover.1504162792.git.hns@goldelico.com> <8d323718d7d1dcd7633da236abcd782f88200113.1504162792.git.hns@goldelico.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1723997

Show key headers only | View raw


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

Hi,

On Thu, Aug 31, 2017 at 08:59:50AM +0200, H. Nikolaus Schaller wrote:
> Tested on Pyra prototype with bq27421.
> 
> 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 ad876a3abe01..e80571cf7be1 100644
> --- a/drivers/power/supply/bq27xxx_battery.c
> +++ b/drivers/power/supply/bq27xxx_battery.c
> @@ -688,15 +688,11 @@ static struct bq27xxx_dm_reg bq27545_dm_regs[] = {
>  #define bq27545_dm_regs 0
>  #endif
>  
> -#if 0 /* not yet tested */
>  static struct bq27xxx_dm_reg bq27421_dm_regs[] = {
>  	[BQ27XXX_DM_DESIGN_CAPACITY]   = { 82, 10, 2,    0,  8000 },
>  	[BQ27XXX_DM_DESIGN_ENERGY]     = { 82, 12, 2,    0, 32767 },
>  	[BQ27XXX_DM_TERMINATE_VOLTAGE] = { 82, 16, 2, 2500,  3700 },
>  };
> -#else
> -#define bq27421_dm_regs 0
> -#endif
>  
>  static struct bq27xxx_dm_reg bq27425_dm_regs[] = {
>  	[BQ27XXX_DM_DESIGN_CAPACITY]   = { 82, 12, 2,    0, 32767 },
> -- 
> 2.12.2
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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