aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorRex-BC Chen <rex-bc.chen@mediatek.corp-partner.google.com>2021-11-17 16:58:43 +0800
committerFelix Held <felix-coreboot@felixheld.de>2021-11-26 11:22:03 +0000
commitc5e56f59486aae1ef11f8aab4da314d73ead1b8a (patch)
treeac58ff0553176de56da758fd62a84cd454b11ca8 /src/mainboard/google
parent4b6c2b8cf91fcc24a919da01609fb79a236f6997 (diff)
mb/google/corsola: Add VPROC12/VSRAM_PROC12 to regulator interface
Add VPROC12/VSRAM_PROC12 to adjust power for raising little CPU frequency. TEST=build pass BUG=b:202871018 Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com> Change-Id: I59b4627220022a51a116716036a8ba0048039508 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59568 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/corsola/regulator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/corsola/regulator.c b/src/mainboard/google/corsola/regulator.c
index b1310af7bd..1dd26d3434 100644
--- a/src/mainboard/google/corsola/regulator.c
+++ b/src/mainboard/google/corsola/regulator.c
@@ -18,6 +18,8 @@ static const int regulator_id[] = {
[MTK_REGULATOR_VDRAM1] = MT6366_VDRAM1,
[MTK_REGULATOR_VMCH] = MT6366_VMCH,
[MTK_REGULATOR_VMC] = MT6366_VMC,
+ [MTK_REGULATOR_VPROC12] = MT6366_VPROC12,
+ [MTK_REGULATOR_VSRAM_PROC12] = MT6366_VSRAM_PROC12,
};
_Static_assert(ARRAY_SIZE(regulator_id) == MTK_REGULATOR_NUM, "regulator_id size error");