summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek/common')
-rw-r--r--src/soc/mediatek/common/include/soc/regulator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/mediatek/common/include/soc/regulator.h b/src/soc/mediatek/common/include/soc/regulator.h
index 0cd0f1e8b7..08ce47f1d0 100644
--- a/src/soc/mediatek/common/include/soc/regulator.h
+++ b/src/soc/mediatek/common/include/soc/regulator.h
@@ -13,12 +13,13 @@ enum mtk_regulator {
MTK_REGULATOR_VCORE,
MTK_REGULATOR_VCC,
MTK_REGULATOR_VCCQ,
+ MTK_REGULATOR_VDRAM1,
+ MTK_REGULATOR_NUM,
};
void mainboard_set_regulator_vol(enum mtk_regulator regulator,
uint32_t voltage_uv);
uint32_t mainboard_get_regulator_vol(enum mtk_regulator regulator);
-
int mainboard_enable_regulator(enum mtk_regulator regulator, uint8_t enable);
uint8_t mainboard_regulator_is_enabled(enum mtk_regulator regulator);