summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuihai Zhou <zhouruihai@huaqin.corp-partner.google.com>2022-06-10 15:27:33 +0800
committerMartin L Roth <gaumless@tutanota.com>2022-06-12 22:38:41 +0000
commit7df7d8dd4b2d67f336995daeee381a07787d9db3 (patch)
treefdf4afd636d81bdd5f927c5a9622f865cbdd03c7
parenta49460c6b6e54bf09945263e8a57119e813f6de5 (diff)
mb/google/corsola: Fix PS8640 power-on T6 sequence
The T6 of PS8640 power on sequence should be larger than 0ms, but it's -0.062ms now. Add 100us delay between VRF12 and VCN33. The PS8640 power-on sequence is described in the "PS8640_DS_V1.4_20200210.docx". BUG=b:235448279 BRANCH=None TEST=The sequence T6 is larger than 0ms when power on. Signed-off-by: Ruihai Zhou <zhouruihai@huaqin.corp-partner.google.com> Change-Id: I0b8a37d6119dc027a9d1c0a62c087b0a7ef14cac Reviewed-on: https://review.coreboot.org/c/coreboot/+/65084 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: zanxi chen <chenzanxi@huaqin.corp-partner.google.com> Reviewed-by: Bo-Chen Chen <rex-bc.chen@mediatek.com> Reviewed-by: Yidi Lin <yidilin@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
-rw-r--r--src/mainboard/google/corsola/display.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/corsola/display.c b/src/mainboard/google/corsola/display.c
index 2af9fe09b2..5a88cad7b9 100644
--- a/src/mainboard/google/corsola/display.c
+++ b/src/mainboard/google/corsola/display.c
@@ -22,6 +22,7 @@ static void bridge_ps8640_power_on(void)
/*
* PS8640 power-on sequence is described in chapter 14, PS8640_DS_V1.4_20200210.docx
* - set VDD12 to be 1.2V
+ * - delay 100us
* - set VDD33 to be 3.3V
* - pull hign PD#
* - pull down RST#
@@ -35,6 +36,7 @@ static void bridge_ps8640_power_on(void)
/* Set VRF12 to 1.2V and VCN33 to 3.3V */
mainboard_set_regulator_vol(MTK_REGULATOR_VRF12, 1200000);
+ udelay(100);
mainboard_set_regulator_vol(MTK_REGULATOR_VCN33, 3300000);
udelay(200);