summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/camera_pmic.asl29
1 files changed, 19 insertions, 10 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 12c3c22e1b..355b25528e 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
@@ -526,30 +526,39 @@ Scope (\_SB.PCI0.I2C2)
daisy chain */
DOVD(1)
- VAX2 = 1 /* Enable VAUX2 */
-
if (LNotEqual (AX2V, 52)) {
/* Set VAUX2 as
1.8006 V */
AX2V = 52
}
- Sleep(1)
+ VAX2 = 1 /* Enable VAUX2 */
- \_SB.PCI0.I2C2.PMIC.CLKE()
- CLE1 = 1
+ \_SB.PCI0.I2C2.PMIC.CGP4(1)
+
+ /*
+ * Wait for DOVDD and AVDD
+ * to settle.
+ */
+ Sleep(1)
- VAX1 = 1 /* Enable VAUX1 */
if (LNotEqual (AX1V, 19)) {
/* Set VAUX1 as 1.2132V */
AX1V = 19
}
- Sleep(3)
+ VAX1 = 1 /* Enable VAUX1 */
- \_SB.PCI0.I2C2.PMIC.CGP4(1)
- Sleep(3)
+ /* Wait for VDD to settle. */
+ Sleep(1)
+
+ \_SB.PCI0.I2C2.PMIC.CLKE()
+ CLE1 = 1
\_SB.PCI0.I2C2.PMIC.CGP5(1)
- Sleep(3)
+ /*
+ * Ensure 10 ms between
+ * power-up and streamon.
+ */
+ Sleep(10)
STA = 1
}
}