summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/mediatek/common/mtcmos.c5
-rw-r--r--src/soc/mediatek/mt8173/include/soc/spm.h2
-rw-r--r--src/soc/mediatek/mt8183/include/soc/spm.h2
3 files changed, 4 insertions, 5 deletions
diff --git a/src/soc/mediatek/common/mtcmos.c b/src/soc/mediatek/common/mtcmos.c
index cbec250176..cfd148c7fa 100644
--- a/src/soc/mediatek/common/mtcmos.c
+++ b/src/soc/mediatek/common/mtcmos.c
@@ -21,11 +21,6 @@ enum {
PWR_RST_B = 1U << 0
};
-enum {
- DISP_PWR_STA_MASK = 0x1 << 3,
- AUDIO_PWR_STA_MASK = 0x1 << 24,
-};
-
static void mtcmos_power_on(const struct power_domain_data *pd)
{
write32(&mtk_spm->poweron_config_set,
diff --git a/src/soc/mediatek/mt8173/include/soc/spm.h b/src/soc/mediatek/mt8173/include/soc/spm.h
index 0d8e0d381a..efc04d1ddc 100644
--- a/src/soc/mediatek/mt8173/include/soc/spm.h
+++ b/src/soc/mediatek/mt8173/include/soc/spm.h
@@ -11,8 +11,10 @@ enum {
};
enum {
+ DISP_PWR_STA_MASK = 0x1 << 3,
DISP_SRAM_PDN_MASK = 0xf << 8,
DISP_SRAM_ACK_MASK = 0x1 << 12,
+ AUDIO_PWR_STA_MASK = 0x1 << 24,
AUDIO_SRAM_PDN_MASK = 0xf << 8,
AUDIO_SRAM_ACK_MASK = 0xf << 12,
};
diff --git a/src/soc/mediatek/mt8183/include/soc/spm.h b/src/soc/mediatek/mt8183/include/soc/spm.h
index fa6d6d00ce..327355ae05 100644
--- a/src/soc/mediatek/mt8183/include/soc/spm.h
+++ b/src/soc/mediatek/mt8183/include/soc/spm.h
@@ -117,8 +117,10 @@
#define PCM_SW_INT_ALL (0x3FF)
enum {
+ DISP_PWR_STA_MASK = 0x1 << 3,
DISP_SRAM_PDN_MASK = 0x1 << 8,
DISP_SRAM_ACK_MASK = 0x1 << 12,
+ AUDIO_PWR_STA_MASK = 0x1 << 24,
AUDIO_SRAM_PDN_MASK = 0xf << 8,
AUDIO_SRAM_ACK_MASK = 0xf << 12,
};