mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 21:57:43 +00:00
5c49a6256b
Charger-manager driver used to check battery temperature through the callback function passed by platform data. Unfortunatley, without that pre-defined callback function, charger-manager can't get battery's temperature at all. Also passing callback function through platform data ruins DT support for charger-manager. This patch mondifies charger-manager driver to get temperature of battery without pre-defined callback function. Now, charger-manager can use either of battery thermometer in fuel-gauge and ouside of battery. It uses thermal framework interface for outer thermometer if thermal fw is enabled. Otherwise, it tries to use fuel-gauge's through the power supply interface. Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com> Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com> Signed-off-by: Anton Vorontsov <anton@enomsg.org> |
||
---|---|---|
.. | ||
ab8500.h | ||
bq27x00_battery.h | ||
bq2415x_charger.h | ||
bq24190_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 |