Re: [PATCH V4] drivers/rtc/rtc-palmas.c: support for backup batterycharging

From: Laxman Dewangan
Date: Thu Aug 08 2013 - 13:04:08 EST


On Thursday 08 August 2013 03:03 PM, Mark Rutland wrote:
On Wed, Aug 07, 2013 at 07:46:11PM +0100, Laxman Dewangan wrote:
What happens if we charge at the wrong current?
Not much sure but I think it can create battery damage.
If we charge a battery supporting >100mA at a current <100mA, will that
cause damage? Or only if we charge above it's supported current?

Over-current charging can only damage. Lower charging current will not damage, just will take more time to charge.


If the latter's true, it might make sense to invert the condition and
describe that the battery may be charged at a higher current, with the
default being <100mA. That way a missing property in the dt will only
result in sub-optimal charging rather than battery damage.

Ok, fine with this. In this case property will be "ti,backup-battery-charge-high-current".


--
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/