soc/mediatek/mt8186: 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
BRANCH=corsola

Change-Id: I9ab35d82e57f43bac99fa8bd7bb69fcf52250311
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/+/73705
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Reviewed-by: Yidi Lin <yidilin@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:51:51 +08:00 committed by Rex-BC Chen
parent 527dd21e00
commit 0e5f51e186
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ static struct pmic_setting init_setting[] = {
{0xA08, 0x1, 0x1, 0},
{0xA24, 0x1E00, 0x1F00, 0},
{0xA38, 0x0, 0x100, 0},
{0xA3C, 0x81E0, 0x81E0, 0},
{0xA3C, 0x81F2, 0x81F2, 0},
{0xA44, 0xFFFF, 0xFFFF, 0},
{0xA46, 0xFC00, 0xFC00, 0},
{0xC8A, 0x4, 0xC, 0},