From fd54acf098895dd92b7722cf4020893174f3dcbd Mon Sep 17 00:00:00 2001 From: Hsin-Hsiung Wang Date: Mon, 3 Jun 2019 15:38:53 +0800 Subject: mediatek/mt8183: set vproc12 voltage correctly The correct address for vproc12 register of sw mode is 0x1426 instead of 0x140a. BUG=b:80501386 BRANCH=none Test=Boots correctly on Kukui and see that regulator is not stuck to 1.05V anymore: grep vproc12 /sys/kernel/debug/regulator/regulator_summary Change-Id: I13867b11c44019875e0ed607343197950a3b38b2 Signed-off-by: Hsin-Hsiung Wang Reviewed-on: https://review.coreboot.org/c/coreboot/+/33168 Reviewed-by: Hung-Te Lin Reviewed-by: Nicolas Boichat Tested-by: build bot (Jenkins) --- src/soc/mediatek/mt8183/mt6358.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/soc/mediatek/mt8183/mt6358.c b/src/soc/mediatek/mt8183/mt6358.c index ea4274f14b..53d2a43803 100644 --- a/src/soc/mediatek/mt8183/mt6358.c +++ b/src/soc/mediatek/mt8183/mt6358.c @@ -497,8 +497,10 @@ static struct pmic_setting init_setting[] = { {0x1B6C, 0x6, 0x6, 0}, /* Vproc11/Vproc12 to 1.05V */ + /* [6:0]: RG_BUCK_VPROC11_VOSEL */ {0x13a6, 0x58, 0x7F, 0}, - {0x140a, 0x58, 0x7F, 0}, + /* [6:0]: RG_BUCK_VPROC12_VOSEL */ + {0x1426, 0x58, 0x7F, 0}, }; static struct pmic_setting lp_setting[] = { -- cgit v1.2.3