mb/google/nautilus: Work around the power issue of MIPI and USB cameras

On EVT, the USB and MIPI cameras share the same power source. As a result,
when the MIPI camera driver turns off the camera once probed, USB camera will
be disconnected. To make USB camera work on EVT devices, we will need a hack in
coreboot to leave the camera power always-on.

BUG=b:72839352
TEST: Verified the MIPI and USB camera function on DUT board
TODO: This power issue will be fixed on DVT build. Will revert this patch
once confirmed power sources for MIPI and USB camera could be supplied
individually.

Change-Id: Icaaf7e17447492f2e2f2d03eb9a35bcc53667f28
Signed-off-by: Andy Yeh <andy.yeh@intel.com>
Reviewed-on: https://review.coreboot.org/23546
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Andy Yeh
This commit is contained in:
Andy Yeh 2018-01-29 15:18:32 +08:00 committed by Furquan Shaikh
parent 0592776467
commit c4f94b1a75
1 changed files with 7 additions and 0 deletions

View File

@ -39,7 +39,14 @@ Scope (\_SB.PCI0.I2C2)
Method (PMOF, 0, Serialized) { Method (PMOF, 0, Serialized) {
/* Make Sure all PMIC outputs are off. */ /* Make Sure all PMIC outputs are off. */
If (LEqual (VSIC, Zero)) { If (LEqual (VSIC, Zero)) {
/*
* On Nautilus Pre-EVT/EVT, the USB and MIPI share the
* same power source, before HW fix in DVT, temporarily
* disabled turn off 3V3_VDD
*/
#if !IS_ENABLED(CONFIG_BOARD_GOOGLE_NAUTILUS)
CTXS(EN_PP3300_DX_CAM) CTXS(EN_PP3300_DX_CAM)
#endif
} }
} }