summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/camera_pmic.asl24
1 files changed, 17 insertions, 7 deletions
diff --git a/src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/camera_pmic.asl b/src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/camera_pmic.asl
index 355b25528e..fc23d065b7 100644
--- a/src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/camera_pmic.asl
+++ b/src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/camera_pmic.asl
@@ -468,23 +468,33 @@ Scope (\_SB.PCI0.I2C2)
C0GP = 1
}
- VACT = 1
if (LNotEqual (ACVA, 109)) {
/* Set ANA at 2.8152V */
ACVA = 109
}
- Sleep(3)
-
- \_SB.PCI0.I2C2.PMIC.CLKE()
- CLE0 = 1
+ VACT = 1
- VDCT = 1
if (LNotEqual (DCVA, 12)) {
/* Set CORE at 1.2V */
DCVA = 12
}
- Sleep(3)
+ VDCT = 1
+
+ \_SB.PCI0.I2C2.PMIC.CLKE()
+ CLE0 = 1
+
+ /*
+ * Wait for all regulator
+ * outputs to settle.
+ */
+ Sleep(1)
+
\_SB.PCI0.I2C2.PMIC.CRST(1)
+
+ /*
+ * 5 ms needed before
+ * streaming on.
+ */
Sleep(5)
STA = 1