summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/common/include
diff options
context:
space:
mode:
authorWeiyi Lu <weiyi.lu@mediatek.com>2021-02-09 17:59:26 +0800
committerHung-Te Lin <hungte@chromium.org>2021-05-05 07:38:06 +0000
commit16bc621262f30fb024f37a45a8c1bb418b02b9a5 (patch)
treead8df737691bf3198d722df1f22c2a180fc3f205 /src/soc/mediatek/common/include
parent7fd932744e68fed23944012ac3d9e7c193402f8b (diff)
soc/mediatek/mt8195: Add mtcmos init support
Signed-off-by: Weiyi Lu <weiyi.lu@mediatek.com> Change-Id: If7cd1f596f1406fa21d6586510e9956bb9846a6f Reviewed-on: https://review.coreboot.org/c/coreboot/+/52882 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/soc/mediatek/common/include')
-rw-r--r--src/soc/mediatek/common/include/soc/mtcmos.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/mediatek/common/include/soc/mtcmos.h b/src/soc/mediatek/common/include/soc/mtcmos.h
index 0e0e32ac9a..20de4ea841 100644
--- a/src/soc/mediatek/common/include/soc/mtcmos.h
+++ b/src/soc/mediatek/common/include/soc/mtcmos.h
@@ -8,8 +8,11 @@ struct power_domain_data {
u32 pwr_sta_mask;
u32 sram_pdn_mask;
u32 sram_ack_mask;
+ u32 caps;
};
+#define SCPD_SRAM_ISO (1U << 0)
+
void mtcmos_audio_power_on(void);
void mtcmos_display_power_on(void);