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 <hsin-hsiung.wang@mediatek.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33168
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Hsin-Hsiung Wang 2019-06-03 15:38:53 +08:00 committed by Patrick Georgi
parent 6d7564cdfe
commit fd54acf098
1 changed files with 3 additions and 1 deletions

View File

@ -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[] = {