diff options
author | Cong Yang <yangcong5@huaqin.corp-partner.google.com> | 2023-04-11 20:12:32 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-04-14 12:08:41 +0000 |
commit | 4eba95d1b34606e84498fb6e71687cd0495e9cba (patch) | |
tree | de5063398721a351ecbe5c27f1c6921dac3058ef /src/mainboard/google/corsola | |
parent | de7e014067b2c84a2edf8b790a4f009aa9471ec6 (diff) |
mb/google/corsola: Add support for VIO18 in regulator.c
Add regulator VIO18 support to supply power for STA_HIMAX83102_J02 panel.
BUG=b:272425116
TEST=test firmware display pass for STA_HIMAX83102_J02 on Starmie.
Change-Id: Ie1dd9226b0c4f05f9c9ce6633b7384aa5eb4c978
Signed-off-by: Cong Yang <yangcong5@huaqin.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74342
Reviewed-by: Yidi Lin <yidilin@google.com>
Reviewed-by: Ruihai Zhou <zhouruihai@huaqin.corp-partner.google.com>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/corsola')
-rw-r--r-- | src/mainboard/google/corsola/regulator.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/corsola/regulator.c b/src/mainboard/google/corsola/regulator.c index 76433963c9..e21b9bec01 100644 --- a/src/mainboard/google/corsola/regulator.c +++ b/src/mainboard/google/corsola/regulator.c @@ -28,6 +28,8 @@ static int get_mt6366_regulator_id(enum mtk_regulator regulator) return MT6366_VRF12; case MTK_REGULATOR_VCN33: return MT6366_VCN33; + case MTK_REGULATOR_VIO18: + return MT6366_VIO18; default: return MTK_REGULATOR_INVALID; } |