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 <rex-bc.chen@mediatek.com>
Change-Id: Iedb1036da3c87106157c51cc46b52545faba102c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56436
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Rex-BC Chen 2021-07-13 18:55:19 +08:00 committed by Felix Held
parent 86c50e11ce
commit 5055d88f40
1 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,10 @@ static int get_mt6360_regulator_id(enum mtk_regulator regulator)
return MT6360_BUCK1; return MT6360_BUCK1;
case MTK_REGULATOR_VDDQ: case MTK_REGULATOR_VDDQ:
return MT6360_BUCK2; return MT6360_BUCK2;
case MTK_REGULATOR_VCC:
return MT6360_LDO5;
case MTK_REGULATOR_VCCQ:
return MT6360_LDO3;
default: default:
break; break;
} }