aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>2011-09-15 11:48:30 +0200
committerRobert Marklund <robert.marklund@stericsson.com>2011-10-05 13:00:31 +0200
commitad19d6b161ac428fcd5fcc69456bb04155006c66 (patch)
treeea36a12ab600e9ce3575a48ebce7049f67ca3024 /include/linux
parent64d3417b5396f34eee3490c5bdf0cae9d2a9c046 (diff)
regulator: ab8500: add initialization of vsmps regulators
Add initialization of Vsmps 1 2 and 3 regulators. Also update vsmps1 voltage level and high-power/low-power control through sysclk-request. Vpll high-power/low-power control through sysclk-request is updated as well. Please note that all vsmps3 related registers that is AB8500_VSMPS3SEL1 AB8500_VSMPS3SEL2 AB8500_VSMPS3SEL3 AB8500_VSMPS3REGU are PRCMU register and not supposed to be updated directly. Please remove them once soc-settings is fully mature. Change-Id: I746d4a8928d724e5e5922df8704ede9cb2ceac21 Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32095 Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Tested-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/regulator/ab8500.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/linux/regulator/ab8500.h b/include/linux/regulator/ab8500.h
index 76579f964a2..13b435397f2 100644
--- a/include/linux/regulator/ab8500.h
+++ b/include/linux/regulator/ab8500.h
@@ -56,18 +56,28 @@ enum ab8500_regulator_reg {
AB8500_REGUMISC1,
AB8500_VAUDIOSUPPLY,
AB8500_REGUCTRL1VAMIC,
+ AB8500_VSMPS1REGU,
+ AB8500_VSMPS2REGU,
+ AB8500_VSMPS3REGU, /* NOTE! PRCMU register */
AB8500_VPLLVANAREGU,
AB8500_VREFDDR,
AB8500_EXTSUPPLYREGU,
AB8500_VAUX12REGU,
AB8500_VRF1VAUX3REGU,
+ AB8500_VSMPS1SEL1,
+ AB8500_VSMPS1SEL2,
+ AB8500_VSMPS1SEL3,
+ AB8500_VSMPS2SEL1,
+ AB8500_VSMPS2SEL2,
+ AB8500_VSMPS2SEL3,
+ AB8500_VSMPS3SEL1, /* NOTE! PRCMU register */
+ AB8500_VSMPS3SEL2, /* NOTE! PRCMU register */
AB8500_VAUX1SEL,
AB8500_VAUX2SEL,
AB8500_VRF1VAUX3SEL,
AB8500_REGUCTRL2SPARE,
AB8500_REGUCTRLDISCH,
AB8500_REGUCTRLDISCH2,
- AB8500_VSMPS1SEL1,
AB8500_NUM_REGULATOR_REGISTERS,
};