power_supply: Add support for CHARGE_CONTROL_* attributes
authorRamakrishna Pallala <ramakrishna.pallala@intel.com>
Tue, 9 Oct 2012 16:55:29 +0000 (22:25 +0530)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Sun, 18 Nov 2012 04:21:43 +0000 (20:21 -0800)
commitea2ce92e44dc83b7a69c2aedd9c52bfe7fee1a62
treebd7a548752735e355b88f2864bd24521e79ff865
parenta77d60aec70183faa68b7df4a3fa89fbaf592cf5
power_supply: Add support for CHARGE_CONTROL_* attributes

Add support for power supply attributes CHARGE_CONTROL_LIMIT
and CHARGE_CONTROL_LIMIT_MAX.

These new attributes will enable the user space to implement
custom charging algorithms based on platform state.

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Documentation/power/power_supply_class.txt
drivers/power/power_supply_sysfs.c
include/linux/power_supply.h