summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/mediatek/common/include/soc/regulator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/mediatek/common/include/soc/regulator.h b/src/soc/mediatek/common/include/soc/regulator.h
index 6d9ff4e301..0cd0f1e8b7 100644
--- a/src/soc/mediatek/common/include/soc/regulator.h
+++ b/src/soc/mediatek/common/include/soc/regulator.h
@@ -11,10 +11,15 @@ enum mtk_regulator {
MTK_REGULATOR_VDDQ,
MTK_REGULATOR_VMDDR,
MTK_REGULATOR_VCORE,
+ MTK_REGULATOR_VCC,
+ MTK_REGULATOR_VCCQ,
};
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);
+
#endif /* SOC_MEDIATEK_COMMON_REGULATOR_H */