linux_dsm_epyc7002/include/linux/power
Liam Breck ccce440956 power: supply: bq27xxx: Add power_supply_battery_info support
Previously there was no way to configure these chips in the event that the
defaults didn't match the battery in question.

For chips with RAM data memory (and also those with flash/NVM data memory
if CONFIG_BATTERY_BQ27XXX_DT_UPDATES_NVM is defined and the user has not
set module param dt_monitored_battery_updates_nvm=0) we now call
power_supply_get_battery_info(), check its values, and write battery
properties to chip data memory if there is a dm_regs table for the chip.

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>
2017-06-08 17:57:38 +02:00
..
ab8500.h
bq27xxx_battery.h power: supply: bq27xxx: Add power_supply_battery_info support 2017-06-08 17:57:38 +02:00
bq2415x_charger.h
bq24735-charger.h power: supply: bq24735-charger: Request status GPIO with initial input setup 2016-09-05 12:59:49 +02:00
charger-manager.h
generic-adc-battery.h
gpio-charger.h
isp1704_charger.h
jz4740-battery.h
max8903_charger.h max8903: cleans up confusing relationship between dc_valid, dok and dcm. 2016-06-28 20:05:41 +02:00
max17042_battery.h power: supply: max17042_battery: Add support for the STATUS property 2017-05-01 12:37:29 +02:00
sbs-battery.h power: supply: sbs-battery: Cleanup removal of chip->pdata 2016-09-21 02:04:47 +02:00
smartreflex.h
smb347-charger.h
twl4030_madc_battery.h