diff options
author | Vic Yang <victoryang@chromium.org> | 2013-04-27 15:36:35 +0800 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-04-29 22:35:51 -0700 |
commit | 84e6b889dd2b41394d6e2c00c9cc4c406f60307c (patch) | |
tree | 486e21b27dee6f1b4013a4d74005b9084919a8be | |
parent | 30353d0ae74f59dc407c297f507af80d35de0b10 (diff) | |
download | chrome-ec-84e6b889dd2b41394d6e2c00c9cc4c406f60307c.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
Original-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>
(cherry picked from commit 6d19c024a9fc813a81193f1eef065af8dc855ae9)
Change-Id: I6b8f9cc9db020b9452ca623f89ae43968b29f206
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/49579
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r-- | board/spring/usb_charging.c | 2 | ||||
-rw-r--r-- | include/pmu_tpschrome.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/board/spring/usb_charging.c b/board/spring/usb_charging.c index ca3ae65448..f17a455bb1 100644 --- a/board/spring/usb_charging.c +++ b/board/spring/usb_charging.c @@ -138,7 +138,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 71c78e0355..6afc61fec3 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 |