mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 17:41:54 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user