]> git.karo-electronics.de Git - linux-beck.git/commit
power: max17042_battery: add HEALTH and TEMP_* properties support
authorRamakrishna Pallala <ramakrishna.pallala@intel.com>
Sun, 24 May 2015 03:41:58 +0000 (09:11 +0530)
committerSebastian Reichel <sre@kernel.org>
Sat, 23 May 2015 20:43:28 +0000 (22:43 +0200)
commitedd4ab0559316a1efe0881a4e2ccaeb4fec73142
tree6b934e269707c18aec727d8e483f3cdad978017d
parent4aeae9cb0dad117f055add68c48decaf489aecf3
power: max17042_battery: add HEALTH and TEMP_* properties support

This patch adds the support for following battery properties
to max17042 fuel gauge driver.

POWER_SUPPLY_PROP_TEMP_ALERT_MIN
POWER_SUPPLY_PROP_TEMP_ALERT_MAX
POWER_SUPPLY_PROP_TEMP_MIN
POWER_SUPPLY_PROP_TEMP_MAX
POWER_SUPPLY_PROP_HEALTH

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/max17042_battery.c
include/linux/power/max17042_battery.h