soc/mediatek/mt8188: Shut down PMIC on power key long press

Currently on power key long press, PMIC will be reset. It would cause
an unwanted reset pulse in the power-off sequence. To match expected
sequence, change PMIC behavior to "force shutdown".

BUG=b:271771606
TEST=long-pressing power key doesn't trigger PMIC_AP_RST_L pulse

Change-Id: I1626892fd582dfab8fe1c1ede1da00549bc97142
Signed-off-by: Sen Chu <sen.chu@mediatek.corp-partner.google.com>
Signed-off-by: jason-ch chen <jason-ch.chen@mediatek.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73704
Reviewed-by: Yidi Lin <yidilin@google.com>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
This commit is contained in:
Sen Chu 2023-03-08 15:29:21 +08:00 committed by Rex-BC Chen
parent 964d99ef88
commit 527dd21e00
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ static const struct pmic_setting init_setting[] = {
{0xA08, 0x1, 0x1, 0},
{0xA0C, 0x300, 0x300, 0},
{0xA10, 0x0, 0x4000, 0},
{0xA12, 0x1E0, 0x1E0, 0},
{0xA12, 0x1F2, 0x1F2, 0},
{0xA24, 0xFFFF, 0xFFFF, 0},
{0xA26, 0xFFE0, 0xFFE0, 0},
{0xA2C, 0xC0DF, 0xC0DF, 0},