regulator: tps80031: Proper configuration for PREQ1 control
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 13 Oct 2011 07:04:58 +0000 (12:04 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Fri, 23 Mar 2012 21:18:15 +0000 (14:18 -0700)
commit4e769745dc8bdb6c0c4ff786a02fb00a82f1f43f
tree77180d5fc97361a66502526cc55beb7b17617178
parent5fecff6da1ada36a2294bd5e96eec93853e3393b
regulator: tps80031: Proper configuration for PREQ1 control

When any rail is configured such that it can be enable by PREQ1
then only control the sleep mode of rails through TRANS register,
not the STATE register.
PREQ1 control the rail to switch from active to sleep and
sleep to active mode.

Reviewed-on: http://git-master/r/58278
(cherry picked from commit 6a8db3200c3119673b85769b1caa56422a22b4f9)

Change-Id: I9763a4d283f0171eb9b7755d44ca3b9059755033
Reviewed-on: http://git-master/r/59289
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R25d191b2429a5f60e77d70aed1eefecaa3b75ba3
drivers/regulator/tps80031-regulator.c