diff options
author | Sen Chu <sen.chu@mediatek.corp-partner.google.com> | 2023-03-08 15:51:51 +0800 |
---|---|---|
committer | Rex-BC Chen <rex-bc.chen@mediatek.com> | 2023-03-15 10:30:17 +0000 |
commit | 0e5f51e186ea1a88618db85e0e1bb98c233afcf1 (patch) | |
tree | 40e651033a83f2b20549d99a7c303a1f80e77ea8 /src/soc/mediatek | |
parent | 527dd21e00bc2e9bdda0969b55c4998a66744a30 (diff) |
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>
Diffstat (limited to 'src/soc/mediatek')
-rw-r--r-- | src/soc/mediatek/mt8186/mt6366.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/mediatek/mt8186/mt6366.c b/src/soc/mediatek/mt8186/mt6366.c index 92174c0fe3..7ef8c24637 100644 --- a/src/soc/mediatek/mt8186/mt6366.c +++ b/src/soc/mediatek/mt8186/mt6366.c @@ -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}, |