summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/common/include
diff options
context:
space:
mode:
authorJames Lo <james.lo@mediatek.corp-partner.google.com>2021-10-05 18:14:12 +0800
committerHung-Te Lin <hungte@chromium.org>2021-11-15 03:06:25 +0000
commit1e0765d85c3854a54783f01cd6e8194ccf6ca399 (patch)
treede9c2f212e46d7d0b1ff3b5e6a2a76e2b3d1f55e /src/soc/mediatek/common/include
parent1327f0bf0719abcccafbbf03f47af8e6e54f4f26 (diff)
soc/mediatek/mt8186: Add support for PMIC MT6366
Add basic support for VCORE/VDRAM1/VDDQ of MT6366. TEST=build pass BUG=b:202871018 Signed-off-by: James Lo <james.lo@mediatek.corp-partner.google.com> Change-Id: I22e30421560a32f4a9e15899e8150376b1414494 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59245 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/pmic_wrap_common.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/soc/mediatek/common/include/soc/pmic_wrap_common.h b/src/soc/mediatek/common/include/soc/pmic_wrap_common.h
index 61efaec42c..afd00d59aa 100644
--- a/src/soc/mediatek/common/include/soc/pmic_wrap_common.h
+++ b/src/soc/mediatek/common/include/soc/pmic_wrap_common.h
@@ -81,8 +81,13 @@ enum {
RDATA_WACS_FSM_SHIFT = 16,
RDATA_WACS_REQ_SHIFT = 19,
RDATA_SYNC_IDLE_SHIFT,
- RDATA_INIT_DONE_SHIFT,
- RDATA_SYS_IDLE_SHIFT,
+ RDATA_INIT_DONE_V1_SHIFT,
+ RDATA_SYS_IDLE_V1_SHIFT,
+};
+
+enum {
+ RDATA_INIT_DONE_V2_SHIFT = 22, /* 8186 */
+ RDATA_SYS_IDLE_V2_SHIFT = 23, /* 8186 */
};
enum {