aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/power/power_supply_class.txt
diff options
context:
space:
mode:
authorRamakrishna Pallala <ramakrishna.pallala@intel.com>2012-07-30 03:19:21 -0400
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-08-23 00:59:15 -0400
commit2815b786c3bb86fff97f1f6e2f0874903ff2339b (patch)
treeaf7aaa3d93f91be817d0e0a0514639333bbe2f64 /Documentation/power/power_supply_class.txt
parentc6b2744c5dd098e8bca2515e91219cf0206290c5 (diff)
power_supply: Add new power supply properties CHARGE_CURRENT/VOLTAGE_MAX
There are different types of chargers avalibale like AC, Solar, USB, etc.. Even in USB we have different types SDP/DCP/CDP/ACA and all these chargers have different o/p ratings. For example SDP supports only 500mA of charge current whereas AC charger can support upto 8A or more. Similarly batteries also come with charge current and voltage ratings and these ratings vary depending on its capacity and the technology used. This patch adds two new power supply properties CONSTANT_CHARGE_CURRENT_MAX and CONSTANT_CHARGE_CURRENT_MAX. Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'Documentation/power/power_supply_class.txt')
-rw-r--r--Documentation/power/power_supply_class.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/power/power_supply_class.txt b/Documentation/power/power_supply_class.txt
index 48badec1cec3..9c647bd7c5a9 100644
--- a/Documentation/power/power_supply_class.txt
+++ b/Documentation/power/power_supply_class.txt
@@ -116,8 +116,12 @@ be negative; there is no empty or full value. It is only useful for
116relative, time-based measurements. 116relative, time-based measurements.
117 117
118CONSTANT_CHARGE_CURRENT - constant charge current programmed by charger. 118CONSTANT_CHARGE_CURRENT - constant charge current programmed by charger.
119CONSTANT_CHARGE_CURRENT_MAX - maximum charge current supported by the
120power supply object.
119 121
120CONSTANT_CHARGE_VOLTAGE - constant charge voltage programmed by charger. 122CONSTANT_CHARGE_VOLTAGE - constant charge voltage programmed by charger.
123CONSTANT_CHARGE_VOLTAGE_MAX - maximum charge voltage supported by the
124power supply object.
121 125
122ENERGY_FULL, ENERGY_EMPTY - same as above but for energy. 126ENERGY_FULL, ENERGY_EMPTY - same as above but for energy.
123 127