summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8188/mtcmos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek/mt8188/mtcmos.c')
-rw-r--r--src/soc/mediatek/mt8188/mtcmos.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8188/mtcmos.c b/src/soc/mediatek/mt8188/mtcmos.c
new file mode 100644
index 0000000000..3143b019f1
--- /dev/null
+++ b/src/soc/mediatek/mt8188/mtcmos.c
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0-only OR MIT */
+
+#include <device/mmio.h>
+#include <soc/infracfg.h>
+#include <soc/mtcmos.h>
+#include <soc/spm.h>
+
+void mtcmos_set_scpd_ext_buck_iso(const struct power_domain_data *pd)
+{
+ clrbits32(&mtk_spm->ext_buck_iso, pd->ext_buck_iso_bits);
+}