Re: [PATCH] power_supply: Add charge_current and charge_voltageproperties and use it in smb347

From: Anton Vorontsov
Date: Tue Jun 19 2012 - 19:56:40 EST


On Sun, May 06, 2012 at 06:16:44PM +0530, Ramakrishna Pallala wrote:
> Constant Charge Current(CC) is charging parameter which limit the
> maximum current which can be pumped into the battery during charge cycle.
>
> Constant Charge Voltage(CV) is also charging parameter which limit the
> maximum voltage that battery can reach during charge cycle.
>
> It is very common practice that at low or high temperatures we
> do not charge the batteries upto it's fullest charge voltage
> to avoid battery and user safety issues.
>
> These sysfs properties will be useful for debug and to implement
> certain user space policies like "Charging limited due to OverTemp".
>
> This patch also makes use of these two properties in smb347 charger driver.
>
> Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@xxxxxxxxx>
> ---

Applied, thank you. (FYI: I split the patch into two: power_supply
part and smb347 part.)

--
Anton Vorontsov
Email: cbouatmailru@xxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/