summaryrefslogtreecommitdiff
path: root/power
diff options
context:
space:
mode:
Diffstat (limited to 'power')
-rw-r--r--power/sdm845.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/power/sdm845.c b/power/sdm845.c
index 5b59e8cab9..6c5f033b44 100644
--- a/power/sdm845.c
+++ b/power/sdm845.c
@@ -394,7 +394,8 @@ static void power_off(void)
/* If it is forced down, wait to ensure POWER_GOOD down */
wait_pmic_pwron(0, FORCE_OFF_RESPONSE_TIMEOUT);
- /* Turn off the 5V rail. */
+ /* Turn off the 3.3V and 5V rails. */
+ gpio_set_level(GPIO_EN_PP3300_A, 0);
#ifdef CONFIG_POWER_PP5000_CONTROL
power_5v_enable(task_get_current(), 0);
#else /* !defined(CONFIG_POWER_PP5000_CONTROL) */
@@ -447,7 +448,8 @@ static void power_on(void)
*/
hook_notify(HOOK_CHIPSET_PRE_INIT);
- /* Enable the 5V rail. */
+ /* Enable the 3.3V and 5V rail. */
+ gpio_set_level(GPIO_EN_PP3300_A, 1);
#ifdef CONFIG_POWER_PP5000_CONTROL
power_5v_enable(task_get_current(), 1);
#else /* !defined(CONFIG_POWER_PP5000_CONTROL) */