diff options
author | Liam Breck <kernel@networkimprov.net> | 2017-06-07 21:37:55 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2017-06-08 18:57:34 +0300 |
commit | 0670c9b3588f163cfcfcd8ea532f321ec004e6ad (patch) | |
tree | 46bb14ec9e1fcbc1b42f296fa59f6c525a211bb7 /include/linux/power/bq27xxx_battery.h | |
parent | 14073f6614f62dc7862c83575b042424599cc867 (diff) | |
download | linux-0670c9b3588f163cfcfcd8ea532f321ec004e6ad.tar.xz |
power: supply: bq27xxx: Add chip data memory read/write support
Add these to enable read/write of chip data memory RAM/NVM/flash:
bq27xxx_battery_seal()
bq27xxx_battery_unseal()
bq27xxx_battery_set_cfgupdate()
bq27xxx_battery_soft_reset()
bq27xxx_battery_read_dm_block()
bq27xxx_battery_write_dm_block()
bq27xxx_battery_checksum_dm_block()
Signed-off-by: Matt Ranostay <matt@ranostay.consulting>
Signed-off-by: Liam Breck <kernel@networkimprov.net>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'include/linux/power/bq27xxx_battery.h')
-rw-r--r-- | include/linux/power/bq27xxx_battery.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/power/bq27xxx_battery.h b/include/linux/power/bq27xxx_battery.h index c3369fa605f9..b1defb86e9b6 100644 --- a/include/linux/power/bq27xxx_battery.h +++ b/include/linux/power/bq27xxx_battery.h @@ -64,6 +64,7 @@ struct bq27xxx_device_info { int id; enum bq27xxx_chip chip; const char *name; + u32 unseal_key; struct bq27xxx_access_methods bus; struct bq27xxx_reg_cache cache; int charge_design_full; |