Messages in this thread | | | From | "Pallala, Ramakrishna" <> | Subject | RE: [PATCH] power_supply: Add charge_current and charge_voltage properties and use it in smb347 | Date | Mon, 18 Jun 2012 07:50:18 +0000 |
| |
Hi Anton,
> Sent: Sunday, May 06, 2012 6:17 PM > To: linux-kernel@vger.kernel.org > Cc: Anton Vorontsov; Anton Vorontsov; Mika Westerberg; Pallala, Ramakrishna > Subject: [PATCH] power_supply: Add charge_current and charge_voltage > properties and use it in smb347 > > 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@intel.com> > --- > Documentation/power/power_supply_class.txt | 4 + > drivers/power/power_supply_sysfs.c | 2 + > drivers/power/smb347-charger.c | 123 ++++++++++++++++++++++++++- > - > include/linux/power_supply.h | 4 + > 4 files changed, 127 insertions(+), 6 deletions(-) >
I didn't receive any comment on this patch yet. Can I assume it is in your merge queue?
Thanks, Ram
| |