From: Nick Crews Date: Thu, 18 Apr 2019 16:43:14 +0000 (-0600) Subject: power: supply: core: Add missing documentation for CHARGE_CONTROL_* properties X-Git-Tag: microblaze-v5.4-rc1~704^2~7 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=61e93655fc30cee7c91c85d6c41b96500d228d19;p=linux-2.6-microblaze.git power: supply: core: Add missing documentation for CHARGE_CONTROL_* properties The existing POWER_SUPPLY_PROP_CHARGE_CONTROL_LIMIT and POWER_SUPPLY_PROP_CHARGE_CONTROL_LIMIT_MAX properties don't have documentation. I add that documentation here. v5 changes: - Split this commit out from the previous two commits. Signed-off-by: Nick Crews Reviewed-by: Enric Balletbo i Serra Signed-off-by: Sebastian Reichel --- diff --git a/Documentation/ABI/testing/sysfs-class-power b/Documentation/ABI/testing/sysfs-class-power index a5b144f61de8..b77e30b9014e 100644 --- a/Documentation/ABI/testing/sysfs-class-power +++ b/Documentation/ABI/testing/sysfs-class-power @@ -114,6 +114,25 @@ Description: Access: Read Valid values: Represented in microamps +What: /sys/class/power_supply//charge_control_limit +Date: Oct 2012 +Contact: linux-pm@vger.kernel.org +Description: + Maximum allowable charging current. Used for charge rate + throttling for thermal cooling or improving battery health. + + Access: Read, Write + Valid values: Represented in microamps + +What: /sys/class/power_supply//charge_control_limit_max +Date: Oct 2012 +Contact: linux-pm@vger.kernel.org +Description: + Maximum legal value for the charge_control_limit property. + + Access: Read + Valid values: Represented in microamps + What: /sys/class/power_supply//charge_control_start_threshold Date: April 2019 Contact: linux-pm@vger.kernel.org