alistair23-linux/include/linux/power
Hans de Goede 917362135b power: supply: max17042_battery: Add default platform_data fallback data
Some x86 machines use a max17047 fuel-gauge and x86 might be missing
platform_data if not provided by SFI.

This commit adds default platform_data as fallback option so that the
driver can work on boards where no platform_data is provided.

Since not all boards have a thermistor hooked up, set temp_min to 0 and
change the health checks from temp <= temp_min to temp < temp_min to
not trigger on such boards (where temp reads 0).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
2017-05-01 12:37:25 +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: adds specific support for bq27520-g4 revision. 2017-01-12 02:30:13 +01: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 default platform_data fallback data 2017-05-01 12:37:25 +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