spring: Enable both VFET2 and VFET4 for video

We are moving video power from VFET2 to VFET4. To support old boards, we
need to enable both of them. When new boards are in place, we can then
drop VFET2.

BUG=chrome-os-partner:18186
TEST=Build spring
BRANCH=spring

Change-Id: If0cbc1ac49affc1e3c7ec9650a661f80be826f97
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/49431
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
This commit is contained in:
Vic Yang
2013-04-27 15:36:35 +08:00
committed by ChromeBot
parent dff3b9f2c0
commit 6d19c024a9
2 changed files with 3 additions and 0 deletions

View File

@@ -145,7 +145,9 @@ static int get_video_power(void)
static void set_video_power(int enabled)
{
/* TODO(victoryang): Drop VFET2. See crosbug.com/p/18186 */
pmu_enable_fet(FET_VIDEO, enabled, NULL);
pmu_enable_fet(FET_VIDEO2, enabled, NULL);
video_power_enabled = enabled;
}

View File

@@ -73,6 +73,7 @@ enum FASTCHARGE_TIMEOUT {
#define FET_BACKLIGHT 1
#define FET_VIDEO 2
#define FET_WWAN 3
#define FET_VIDEO2 4
#define FET_CAMERA 5
#define FET_LCD_PANEL 6
#define FET_TS 7