From 4eba95d1b34606e84498fb6e71687cd0495e9cba Mon Sep 17 00:00:00 2001 From: Cong Yang Date: Tue, 11 Apr 2023 20:12:32 +0800 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/74342 Reviewed-by: Yidi Lin Reviewed-by: Ruihai Zhou Reviewed-by: Yu-Ping Wu Tested-by: build bot (Jenkins) --- src/mainboard/google/corsola/regulator.c | 2 ++ 1 file changed, 2 insertions(+) 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; }