mfd: tps80031: turn on backup battery charger circuit
authorTom Cherry <tcherry@nvidia.com>
Fri, 18 May 2012 21:00:51 +0000 (14:00 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 30 May 2012 08:40:24 +0000 (13:40 +0530)
commit9beec2dd5f984744c8096d7e36e11bc504e755dd
tree7cd256604cd97a3fff6311e29fb9951fded30850
parent26081eea5bbe58a6426ab8975c71a4bdb637929c
mfd: tps80031: turn on backup battery charger circuit

The backup battery for the RTC circuit needs to be manually turned
on.  This change turns it on when the driver is first probed, off
during LP0 to prevent excess power draw, and back on again upon
resume.

Bug 986402

Change-Id: Id4768929d6a73546662806f04d98d714997174b0
Signed-off-by: Tom Cherry <tcherry@nvidia.com>
Reviewed-on: http://git-master/r/103425
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/mfd/tps80031.c