summaryrefslogtreecommitdiff
path: root/src/soc/mediatek
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek')
-rw-r--r--src/soc/mediatek/common/include/soc/regulator.h1
-rw-r--r--src/soc/mediatek/mt8192/include/soc/mt6360.h16
2 files changed, 17 insertions, 0 deletions
diff --git a/src/soc/mediatek/common/include/soc/regulator.h b/src/soc/mediatek/common/include/soc/regulator.h
index 258d5503f1..6d9ff4e301 100644
--- a/src/soc/mediatek/common/include/soc/regulator.h
+++ b/src/soc/mediatek/common/include/soc/regulator.h
@@ -10,6 +10,7 @@ enum mtk_regulator {
MTK_REGULATOR_VDD2,
MTK_REGULATOR_VDDQ,
MTK_REGULATOR_VMDDR,
+ MTK_REGULATOR_VCORE,
};
void mainboard_set_regulator_vol(enum mtk_regulator regulator,
diff --git a/src/soc/mediatek/mt8192/include/soc/mt6360.h b/src/soc/mediatek/mt8192/include/soc/mt6360.h
new file mode 100644
index 0000000000..a6ee76c08b
--- /dev/null
+++ b/src/soc/mediatek/mt8192/include/soc/mt6360.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef __SOC_MEDIATEK_MT6360_H__
+#define __SOC_MEDIATEK_MT6360_H__
+
+enum mt6360_regulator_id {
+ MT6360_LDO3 = 0,
+ MT6360_LDO5,
+ MT6360_LDO6,
+ MT6360_LDO7,
+ MT6360_BUCK1,
+ MT6360_BUCK2,
+ MT6360_REGULATOR_COUNT,
+};
+
+#endif /* __SOC_MEDIATEK_MT6360_H__ */