diff options
author | 2017-06-07 11:37:55 -0700 | |
---|---|---|
committer | 2017-06-08 17:57:34 +0200 | |
commit | 0670c9b3588f163cfcfcd8ea532f321ec004e6ad (patch) | |
tree | 46bb14ec9e1fcbc1b42f296fa59f6c525a211bb7 /include/linux/power | |
parent | power: supply: bq27xxx: Add bulk transfer bus methods (diff) | |
download | linux-0670c9b3588f163cfcfcd8ea532f321ec004e6ad.tar.gz linux-0670c9b3588f163cfcfcd8ea532f321ec004e6ad.tar.bz2 linux-0670c9b3588f163cfcfcd8ea532f321ec004e6ad.zip |
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')
-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; |