mb/google/corsola: Add VMCH and VMC for regulator interface

Add VMCH and VMC for providing power of SDCard.

TEST=build pass
BUG=b:202871018

Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Change-Id: I50fc87415086eb22ff35d157dba38cfd7594cc40
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59255
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
This commit is contained in:
Rex-BC Chen 2021-10-28 17:24:29 +08:00 committed by Hung-Te Lin
parent dc4c2b95f4
commit 66bed5495b
2 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,8 @@ static const int regulator_id[] = {
[MTK_REGULATOR_VCC] = REGULATOR_NOT_SUPPORT,
[MTK_REGULATOR_VCCQ] = REGULATOR_NOT_SUPPORT,
[MTK_REGULATOR_VDRAM1] = MT6366_VDRAM1,
[MTK_REGULATOR_VMCH] = MT6366_VMCH,
[MTK_REGULATOR_VMC] = MT6366_VMC,
};
_Static_assert(ARRAY_SIZE(regulator_id) == MTK_REGULATOR_NUM, "regulator_id size error");

View File

@ -14,6 +14,8 @@ enum mtk_regulator {
MTK_REGULATOR_VCC,
MTK_REGULATOR_VCCQ,
MTK_REGULATOR_VDRAM1,
MTK_REGULATOR_VMCH,
MTK_REGULATOR_VMC,
MTK_REGULATOR_NUM,
};