Attention is currently required from: Hung-Te Lin. Rex-BC Chen has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/59255 )
Change subject: mb/google/corsola: Add VMCH and VMC for regulator interface ......................................................................
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 --- M src/mainboard/google/corsola/regulator.c M src/soc/mediatek/common/include/soc/regulator.h 2 files changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/55/59255/1
diff --git a/src/mainboard/google/corsola/regulator.c b/src/mainboard/google/corsola/regulator.c index 1ddc52c..b1310af 100644 --- a/src/mainboard/google/corsola/regulator.c +++ b/src/mainboard/google/corsola/regulator.c @@ -16,6 +16,8 @@ [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"); diff --git a/src/soc/mediatek/common/include/soc/regulator.h b/src/soc/mediatek/common/include/soc/regulator.h index 08ce47f..a53d01c 100644 --- a/src/soc/mediatek/common/include/soc/regulator.h +++ b/src/soc/mediatek/common/include/soc/regulator.h @@ -14,6 +14,8 @@ MTK_REGULATOR_VCC, MTK_REGULATOR_VCCQ, MTK_REGULATOR_VDRAM1, + MTK_REGULATOR_VMCH, + MTK_REGULATOR_VMC, MTK_REGULATOR_NUM, };