remarkable-linux/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 ab8500_bmdata: Export abx500_res_to_temp tables for hwmon 2013-04-16 17:38:10 -07:00
bq27xxx_battery.h power: supply: bq27xxx: Add power_supply_battery_info support 2017-06-08 17:57:38 +02:00
bq2415x_charger.h bq2415x_charger: Use power_supply notifier for automode 2013-12-23 17:58:03 -08:00
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 power: charger-manager: comment spelling fixes 2015-09-22 16:04:30 +02:00
generic-adc-battery.h
gpio-charger.h
isp1704_charger.h isp1704_charger: Add DT support 2013-12-23 18:34:58 -08:00
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 PM / AVS: SmartReflex: use omap_sr * for enable/disable interface 2013-06-10 10:46:18 -07:00
smb347-charger.h
twl4030_madc_battery.h power: Add twl4030_madc battery driver. 2013-08-30 17:34:52 -07:00