power_supply: Add inlmt,iterm, min/max temp props
authorJenny TC <jenny.tc@intel.com>
Tue, 8 Jul 2014 06:04:18 +0000 (11:34 +0530)
committerSebastian Reichel <sre@kernel.org>
Fri, 18 Jul 2014 21:40:23 +0000 (23:40 +0200)
commit6bb1d272d7c9f5dcfbb790d6aef47d8f82dccbf5
tree77c0fd50a6960576082b0c9d3f7cb13bdac88864
parent193dcced049ceacc0cce1a512ad8a1e1a26eedad
power_supply: Add inlmt,iterm, min/max temp props

Add new power supply properties for input current, charge termination
current, min and max temperature

POWER_SUPPLY_PROP_TEMP_MIN - minimum operatable temperature
POWER_SUPPLY_PROP_TEMP_MAX - maximum operatable temperature

POWER_SUPPLY_PROP_INPUT_CURRENT_LIMIT - input current limit programmed
by charger. Indicates the input current for a charging source.

POWER_SUPPLY_PROP_CHARGE_TERM_CURRENT - Charge termination current used
to detect the end of charge condition

Signed-off-by: Jenny TC <jenny.tc@intel.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Documentation/power/power_supply_class.txt
drivers/power/power_supply_sysfs.c
include/linux/power_supply.h