aboutsummaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8195/mtcmos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek/mt8195/mtcmos.c')
-rw-r--r--src/soc/mediatek/mt8195/mtcmos.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/soc/mediatek/mt8195/mtcmos.c b/src/soc/mediatek/mt8195/mtcmos.c
index e194441868..cc2edb89ce 100644
--- a/src/soc/mediatek/mt8195/mtcmos.c
+++ b/src/soc/mediatek/mt8195/mtcmos.c
@@ -26,7 +26,9 @@ enum {
VDOSYS1_PROT_STEP_2_MASK = 0x00400000,
VDOSYS1_PROT_STEP_1_MASK = 0xC0000000,
- AUDIO_PROT_STEP_1_MASK = 0x00000600,
+ ADSP_PROT_STEP_1_MASK = 0x0001D000,
+
+ AUDIO_PROT_STEP_1_MASK = 0x00000A00,
};
void mtcmos_protect_display_bus(void)
@@ -73,5 +75,8 @@ void mtcmos_protect_display_bus(void)
void mtcmos_protect_audio_bus(void)
{
write32(&mt8195_infracfg_ao->infra_topaxi_protecten_clr_2,
+ ADSP_PROT_STEP_1_MASK);
+
+ write32(&mt8195_infracfg_ao->infra_topaxi_protecten_clr_2,
AUDIO_PROT_STEP_1_MASK);
}