hsin-hsiung wang has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/49354 )
Change subject: soc/mediatek/mt8192: pmic: enable pwrkey long-press shutdown setting ......................................................................
soc/mediatek/mt8192: pmic: enable pwrkey long-press shutdown setting
Update the settings of long press shutdown to avoid rtc alarm boot.
BUG=b:174546890 BRANCH=none TEST=boot asurada correctly
Signed-off-by: Hsin-Hsiung Wang hsin-hsiung.wang@mediatek.com Change-Id: I0841e55674f6b26f355ab678a73d4060fe93f27c --- M src/soc/mediatek/mt8192/mt6359p.c 1 file changed, 5 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/49354/1
diff --git a/src/soc/mediatek/mt8192/mt6359p.c b/src/soc/mediatek/mt8192/mt6359p.c index 7ba39b4..2249915 100644 --- a/src/soc/mediatek/mt8192/mt6359p.c +++ b/src/soc/mediatek/mt8192/mt6359p.c @@ -39,7 +39,11 @@ {0xA08, 0x1, 0x1, 0}, {0xA0C, 0x300, 0x300, 0}, {0xA10, 0x0, 0x4000, 0}, - {0xA12, 0x1E0, 0x1E0, 0}, + /* + * RG_STRUP_LONG_PRESS_EXT_SEL + * only allow pwrkey boot after long-press shutdown. + */ + {0xA12, 0x1F2, 0x1F3, 0}, {0xA24, 0xFFFF, 0xFFFF, 0}, {0xA26, 0xFFE0, 0xFFE0, 0}, {0xA2C, 0xC0DF, 0xC0DF, 0},