summaryrefslogtreecommitdiff
path: root/include/linux/power
diff options
context:
space:
mode:
authorLiam Breck <kernel@networkimprov.net>2017-08-23 20:36:15 -0700
committerSebastian Reichel <sebastian.reichel@collabora.co.uk>2017-08-29 12:44:27 +0200
commit05045379b2740686020618c8cfd4b517cff9f918 (patch)
treed899412c7e5a3d3fb968a2cfbb4f4e37ba18f4a7 /include/linux/power
parent3a731c6414c94012328f485b4b1bb88ed841f9eb (diff)
power: supply: bq27xxx: Enable data memory update for certain chips
Support data memory update on BQ27425. Parameters from TI datasheets are also provided for BQ27500, 545, 421, 441, 621; however these are commented out, as they are not tested. Add BQ27XXX_O_CFGUP & _O_RAM for use in bq27xxx_chip_data[n].opts and by data memory update functions. Signed-off-by: Liam Breck <kernel@networkimprov.net> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'include/linux/power')
-rw-r--r--include/linux/power/bq27xxx_battery.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/power/bq27xxx_battery.h b/include/linux/power/bq27xxx_battery.h
index e48e7a4e9cd6..43194e02c1ee 100644
--- a/include/linux/power/bq27xxx_battery.h
+++ b/include/linux/power/bq27xxx_battery.h
@@ -54,7 +54,6 @@ struct bq27xxx_device_info {
struct device *dev;
int id;
enum bq27xxx_chip chip;
- bool ram_chip;
u32 opts;
const char *name;
struct bq27xxx_dm_reg *dm_regs;