diff options
author | Vic Yang <victoryang@chromium.org> | 2013-04-27 15:36:35 +0800 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-04-29 03:47:56 -0700 |
commit | 6d19c024a9fc813a81193f1eef065af8dc855ae9 (patch) | |
tree | ab715fefe7652188784886a21c5748cae8bfdd08 | |
parent | dff3b9f2c0420a1f0889099f8e89b81fe5209313 (diff) | |
download | chrome-ec-6d19c024a9fc813a81193f1eef065af8dc855ae9.tar.gz |
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>
-rw-r--r-- | common/extpower_usb.c | 2 | ||||
-rw-r--r-- | include/pmu_tpschrome.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/common/extpower_usb.c b/common/extpower_usb.c index 4866a5ae24..98200542e0 100644 --- a/common/extpower_usb.c +++ b/common/extpower_usb.c @@ -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; } diff --git a/include/pmu_tpschrome.h b/include/pmu_tpschrome.h index deb23f79c2..744e15c634 100644 --- a/include/pmu_tpschrome.h +++ b/include/pmu_tpschrome.h @@ -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 |