summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWai-Hong Tam <waihong@google.com>2019-12-07 14:21:22 +0800
committerCommit Bot <commit-bot@chromium.org>2019-12-10 22:21:34 +0000
commitb7d028f7da714bf98a2634922f86ec2952c66fb7 (patch)
treef0de8008724c649e4ddb4859e4b54e28c0c3550b
parentf1e139f6b87a9e35209b8221264d2899a429d071 (diff)
downloadchrome-ec-b7d028f7da714bf98a2634922f86ec2952c66fb7.tar.gz
Trogdor: Remove VBOB rail control
The VBOB rail is for backup only. Verified the hardware that it works without this rail. Should be OK to remove the control of it. BRANCH=None BUG=b:143616352 TEST=Verified AP power on and power off. Change-Id: I9632d881b590482a07482e23aba88bc7ffec4521 Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1955108 Reviewed-by: Stephen Boyd <swboyd@chromium.org>
-rw-r--r--power/sc7180.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/power/sc7180.c b/power/sc7180.c
index a29c1078a2..01f588fe61 100644
--- a/power/sc7180.c
+++ b/power/sc7180.c
@@ -329,7 +329,7 @@ static void wait_pmic_pwron(int enable, unsigned int timeout)
/**
* Set the state of the system power signals but without any check.
*
- * The system power signals are the enable pins of SwitchCap and VBOB.
+ * The system power signals are the enable pins of SwitchCap.
* They control the power of the set of PMIC chips and the AP.
*
* @param enable 1 to enable or 0 to disable
@@ -337,14 +337,12 @@ static void wait_pmic_pwron(int enable, unsigned int timeout)
static void set_system_power_no_check(int enable)
{
gpio_set_level(GPIO_SWITCHCAP_ON, enable);
- /* TODO: VBOB_EN GPIO is NC, just a backup. Remove it later. */
- gpio_set_level(GPIO_VBOB_EN, enable);
}
/**
* Set the state of the system power signals.
*
- * The system power signals are the enable pins of SwitchCap and VBOB.
+ * The system power signals are the enable pins of SwitchCap.
* They control the power of the set of PMIC chips and the AP.
*
* @param enable 1 to enable or 0 to disable