[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <8d323718d7d1dcd7633da236abcd782f88200113.1504167711.git.hns@goldelico.com>
Date: Thu, 31 Aug 2017 10:21:49 +0200
From: "H. Nikolaus Schaller" <hns@...delico.com>
To: afd@...com, Pali Rohár <pali.rohar@...il.com>,
Sebastian Reichel <sre@...nel.org>,
Dmitry Eremin-Solenikov <dbaryshkov@...il.com>,
David Woodhouse <dwmw2@...radead.org>,
Benoît Cousson <bcousson@...libre.com>,
Tony Lindgren <tony@...mide.com>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Russell King <linux@...linux.org.uk>
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
gta04-owner@...delico.com, marek@...delico.com,
linux-omap@...r.kernel.org, devicetree@...r.kernel.org,
"H. Nikolaus Schaller" <hns@...delico.com>
Subject: [PATCH v3 1/4] power: supply: bq27xxx: enable writing capacity values for bq27421
Tested on Pyra prototype with bq27421.
Signed-off-by: H. Nikolaus Schaller <hns@...delico.com>
---
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
Powered by blists - more mailing lists