mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 03:55:32 +07:00
ccce440956
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> |
||
---|---|---|
.. | ||
ab8500.h | ||
bq27xxx_battery.h | ||
bq2415x_charger.h | ||
bq24735-charger.h | ||
charger-manager.h | ||
generic-adc-battery.h | ||
gpio-charger.h | ||
isp1704_charger.h | ||
jz4740-battery.h | ||
max8903_charger.h | ||
max17042_battery.h | ||
sbs-battery.h | ||
smartreflex.h | ||
smb347-charger.h | ||
twl4030_madc_battery.h |