[{"id":1760743,"web_url":"http://patchwork.ozlabs.org/comment/1760743/","msgid":"<20170831083736.7vb576hu4ygub57k@earth>","list_archive_url":null,"date":"2017-08-31T08:37:36","subject":"Re: [PATCH v3 1/4] power: supply: bq27xxx: enable writing capacity\n\tvalues for bq27421","submitter":{"id":71508,"url":"http://patchwork.ozlabs.org/api/people/71508/","name":"Sebastian Reichel","email":"sebastian.reichel@collabora.co.uk"},"content":"Hi,\n\nOn Thu, Aug 31, 2017 at 08:59:50AM +0200, H. Nikolaus Schaller wrote:\n> Tested on Pyra prototype with bq27421.\n> \n> Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>\n> ---\n\nThanks, queued.\n\n-- Sebastian\n\n>  drivers/power/supply/bq27xxx_battery.c | 4 ----\n>  1 file changed, 4 deletions(-)\n> \n> diff --git a/drivers/power/supply/bq27xxx_battery.c b/drivers/power/supply/bq27xxx_battery.c\n> index ad876a3abe01..e80571cf7be1 100644\n> --- a/drivers/power/supply/bq27xxx_battery.c\n> +++ b/drivers/power/supply/bq27xxx_battery.c\n> @@ -688,15 +688,11 @@ static struct bq27xxx_dm_reg bq27545_dm_regs[] = {\n>  #define bq27545_dm_regs 0\n>  #endif\n>  \n> -#if 0 /* not yet tested */\n>  static struct bq27xxx_dm_reg bq27421_dm_regs[] = {\n>  \t[BQ27XXX_DM_DESIGN_CAPACITY]   = { 82, 10, 2,    0,  8000 },\n>  \t[BQ27XXX_DM_DESIGN_ENERGY]     = { 82, 12, 2,    0, 32767 },\n>  \t[BQ27XXX_DM_TERMINATE_VOLTAGE] = { 82, 16, 2, 2500,  3700 },\n>  };\n> -#else\n> -#define bq27421_dm_regs 0\n> -#endif\n>  \n>  static struct bq27xxx_dm_reg bq27425_dm_regs[] = {\n>  \t[BQ27XXX_DM_DESIGN_CAPACITY]   = { 82, 12, 2,    0, 32767 },\n> -- \n> 2.12.2\n> \n> --\n> To unsubscribe from this list: send the line \"unsubscribe linux-omap\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html","headers":{"Return-Path":"<devicetree-owner@vger.kernel.org>","X-Original-To":"incoming-dt@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-dt@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=devicetree-owner@vger.kernel.org; receiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xjbNY1Q6vz9t2M\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 18:37:49 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751325AbdHaIhr (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tThu, 31 Aug 2017 04:37:47 -0400","from bhuna.collabora.co.uk ([46.235.227.227]:60585 \"EHLO\n\tbhuna.collabora.co.uk\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751109AbdHaIhp (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Thu, 31 Aug 2017 04:37:45 -0400","from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender:\n\tsre) with ESMTPSA id 0B9A22657B7"],"Date":"Thu, 31 Aug 2017 10:37:36 +0200","From":"Sebastian Reichel <sebastian.reichel@collabora.co.uk>","To":"\"H. Nikolaus Schaller\" <hns@goldelico.com>","Cc":"afd@ti.com, Pali =?iso-8859-1?q?Roh=E1r?= <pali.rohar@gmail.com>,\n\tDmitry Eremin-Solenikov <dbaryshkov@gmail.com>, David Woodhouse\n\t<dwmw2@infradead.org>, =?iso-8859-1?q?Beno=EEt?=\n\tCousson <bcousson@baylibre.com>, Tony Lindgren <tony@atomide.com>,\n\tRob Herring <robh+dt@kernel.org>,  Mark Rutland <mark.rutland@arm.com>,\n\tRussell King <linux@armlinux.org.uk>, linux-pm@vger.kernel.org, \n\tlinux-kernel@vger.kernel.org, gta04-owner@goldelico.com, \n\tmarek@goldelico.com, linux-omap@vger.kernel.org,\n\tdevicetree@vger.kernel.org","Subject":"Re: [PATCH v3 1/4] power: supply: bq27xxx: enable writing capacity\n\tvalues for bq27421","Message-ID":"<20170831083736.7vb576hu4ygub57k@earth>","References":"<cover.1504162792.git.hns@goldelico.com>\n\t<8d323718d7d1dcd7633da236abcd782f88200113.1504162792.git.hns@goldelico.com>","MIME-Version":"1.0","Content-Type":"multipart/signed; micalg=pgp-sha512;\n\tprotocol=\"application/pgp-signature\"; boundary=\"ojeyvbusc3s4kfco\"","Content-Disposition":"inline","In-Reply-To":"<8d323718d7d1dcd7633da236abcd782f88200113.1504162792.git.hns@goldelico.com>","User-Agent":"NeoMutt/20170609 (1.8.3)","Sender":"devicetree-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<devicetree.vger.kernel.org>","X-Mailing-List":"devicetree@vger.kernel.org"}},{"id":1760745,"web_url":"http://patchwork.ozlabs.org/comment/1760745/","msgid":"<20170831083810.pk7d2qqetwc356rs@earth>","list_archive_url":null,"date":"2017-08-31T08:38:10","subject":"Re: [PATCH v3 2/4] power: supply: bq27xxx: enable writing capacity\n\tvalues for bq27500","submitter":{"id":71508,"url":"http://patchwork.ozlabs.org/api/people/71508/","name":"Sebastian Reichel","email":"sebastian.reichel@collabora.co.uk"},"content":"Hi,\n\nOn Thu, Aug 31, 2017 at 08:59:51AM +0200, H. Nikolaus Schaller wrote:\n> Tested on OpenPandora with bq27500.\n> \n> Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>\n> ---\n\nThanks, queued.\n\n-- Sebastian\n\n>  drivers/power/supply/bq27xxx_battery.c | 4 ----\n>  1 file changed, 4 deletions(-)\n> \n> diff --git a/drivers/power/supply/bq27xxx_battery.c b/drivers/power/supply/bq27xxx_battery.c\n> index e80571cf7be1..5562f998330f 100644\n> --- a/drivers/power/supply/bq27xxx_battery.c\n> +++ b/drivers/power/supply/bq27xxx_battery.c\n> @@ -653,15 +653,11 @@ enum bq27xxx_dm_reg_id {\n>  #define bq2751x_dm_regs 0\n>  #define bq2752x_dm_regs 0\n>  \n> -#if 0 /* not yet tested */\n>  static struct bq27xxx_dm_reg bq27500_dm_regs[] = {\n>  \t[BQ27XXX_DM_DESIGN_CAPACITY]   = { 48, 10, 2,    0, 65535 },\n>  \t[BQ27XXX_DM_DESIGN_ENERGY]     = { }, /* missing on chip */\n>  \t[BQ27XXX_DM_TERMINATE_VOLTAGE] = { 80, 48, 2, 1000, 32767 },\n>  };\n> -#else\n> -#define bq27500_dm_regs 0\n> -#endif\n>  \n>  /* todo create data memory definitions from datasheets and test on chips */\n>  #define bq27510g1_dm_regs 0\n> -- \n> 2.12.2\n>","headers":{"Return-Path":"<devicetree-owner@vger.kernel.org>","X-Original-To":"incoming-dt@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-dt@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=devicetree-owner@vger.kernel.org; receiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xjbPV1fCVz9s65\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 18:38:38 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751443AbdHaIiQ (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tThu, 31 Aug 2017 04:38:16 -0400","from bhuna.collabora.co.uk ([46.235.227.227]:60596 \"EHLO\n\tbhuna.collabora.co.uk\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751317AbdHaIiO (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Thu, 31 Aug 2017 04:38:14 -0400","from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender:\n\tsre) with ESMTPSA id 0EB242657B7"],"Date":"Thu, 31 Aug 2017 10:38:10 +0200","From":"Sebastian Reichel <sebastian.reichel@collabora.co.uk>","To":"\"H. Nikolaus Schaller\" <hns@goldelico.com>","Cc":"afd@ti.com, Pali =?iso-8859-1?q?Roh=E1r?= <pali.rohar@gmail.com>,\n\tDmitry Eremin-Solenikov <dbaryshkov@gmail.com>, David Woodhouse\n\t<dwmw2@infradead.org>, =?iso-8859-1?q?Beno=EEt?=\n\tCousson <bcousson@baylibre.com>, Tony Lindgren <tony@atomide.com>,\n\tRob Herring <robh+dt@kernel.org>,  Mark Rutland <mark.rutland@arm.com>,\n\tRussell King <linux@armlinux.org.uk>, linux-pm@vger.kernel.org, \n\tlinux-kernel@vger.kernel.org, gta04-owner@goldelico.com, \n\tmarek@goldelico.com, linux-omap@vger.kernel.org,\n\tdevicetree@vger.kernel.org","Subject":"Re: [PATCH v3 2/4] power: supply: bq27xxx: enable writing capacity\n\tvalues for bq27500","Message-ID":"<20170831083810.pk7d2qqetwc356rs@earth>","References":"<cover.1504162792.git.hns@goldelico.com>\n\t<af9c1a4e95640e744a104780bfed269d0a6c63cb.1504162792.git.hns@goldelico.com>","MIME-Version":"1.0","Content-Type":"multipart/signed; micalg=pgp-sha512;\n\tprotocol=\"application/pgp-signature\"; boundary=\"plyamg76nvk3t7m6\"","Content-Disposition":"inline","In-Reply-To":"<af9c1a4e95640e744a104780bfed269d0a6c63cb.1504162792.git.hns@goldelico.com>","User-Agent":"NeoMutt/20170609 (1.8.3)","Sender":"devicetree-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<devicetree.vger.kernel.org>","X-Mailing-List":"devicetree@vger.kernel.org"}}]