regulator: max77663: Add safe voltage scaling step
authorMin-wuk Lee <mlee@nvidia.com>
Fri, 4 Nov 2011 07:46:24 +0000 (16:46 +0900)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:50:00 +0000 (21:50 -0800)
commitc48a361cd4a7466a774f4314c2aabdc73493e5be
tree46cbb19ea924a350dd5b3904839b997e58668243
parent1e846bc4f1df4103b10cc915da89398b70c8caa6
regulator: max77663: Add safe voltage scaling step

The MAX77663 PMU has under-shooting issue when voltage down scaling
on SD power rails until revision 3. So if revision is less than rev3,
set safe_down_uV for stable down scaling.

Original Author: Jinyoung Park

Reviewed-on: http://git-master/r/56950
(cherry picked from commit b685f87ea655919e0bf0efb3a1bdddf5d1a3abbb)

Reviewed-on: http://git-master/r/62376
(cherry picked from commit de2370747b224f38ac2fd87402a60e058db28b68)

Change-Id: Icf864c869775490ea0465aae23505ae7333fa80c
Reviewed-on: http://git-master/r/63757
Reviewed-by: Min-wuk Lee <mlee@nvidia.com>
Tested-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R9ebf2c4e6fbec3b3c8ec065b119fdc2c64f37cb0
drivers/regulator/max77663-regulator.c