msm: board-8930: Use saw-regulator driver to control Krait supplies
Switch control of the Krait supply regulators, PMIC 8038 S5 and
S6, from the pm8xxx-regulator driver to the saw-regulator driver.
This ensures that core voltages return to proper values after
power collapse.
Change-Id: Icef28301a8f0a6fd2447c0d62c75d5ce4f7bcfcb
Signed-off-by: David Collins <collinsd@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-8930.h b/arch/arm/mach-msm/board-8930.h
index d6d3b49..8e20903 100644
--- a/arch/arm/mach-msm/board-8930.h
+++ b/arch/arm/mach-msm/board-8930.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
+/* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -46,9 +46,6 @@
* declarations.
*/
#ifndef MSM8930_PHASE_2
-extern struct regulator_init_data msm_saw_regulator_pdata_s5;
-extern struct regulator_init_data msm_saw_regulator_pdata_s6;
-
extern struct pm8xxx_regulator_platform_data
msm_pm8921_regulator_pdata[] __devinitdata;
@@ -64,6 +61,9 @@
#define GPIO_VREG_ID_EXT_3P3V 2
#endif
+extern struct regulator_init_data msm8930_saw_regulator_core0_pdata;
+extern struct regulator_init_data msm8930_saw_regulator_core1_pdata;
+
extern struct pm8xxx_regulator_platform_data
msm8930_pm8038_regulator_pdata[] __devinitdata;