From 5055d88f4054888c50695fc54f8fee4b92dfb726 Mon Sep 17 00:00:00 2001 From: Rex-BC Chen Date: Tue, 13 Jul 2021 18:55:19 +0800 Subject: mb/google/cherry: add mt6360 ids for regulator.c Add MTK_REGULATOR_VCC and MTK_REGULATOR_VCCQ for regulator.c. Signed-off-by: Rex-BC Chen Change-Id: Iedb1036da3c87106157c51cc46b52545faba102c Reviewed-on: https://review.coreboot.org/c/coreboot/+/56436 Reviewed-by: Yu-Ping Wu Tested-by: build bot (Jenkins) --- src/mainboard/google/cherry/regulator.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/mainboard/google/cherry/regulator.c b/src/mainboard/google/cherry/regulator.c index 0c1f7feb05ed..abda0d768273 100644 --- a/src/mainboard/google/cherry/regulator.c +++ b/src/mainboard/google/cherry/regulator.c @@ -16,6 +16,10 @@ static int get_mt6360_regulator_id(enum mtk_regulator regulator) return MT6360_BUCK1; case MTK_REGULATOR_VDDQ: return MT6360_BUCK2; + case MTK_REGULATOR_VCC: + return MT6360_LDO5; + case MTK_REGULATOR_VCCQ: + return MT6360_LDO3; default: break; } -- cgit v1.2.3