summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8186/include
diff options
context:
space:
mode:
authorCong Yang <yangcong5@huaqin.corp-partner.google.com>2023-04-11 20:10:59 +0800
committerFelix Held <felix-coreboot@felixheld.de>2023-04-14 12:08:14 +0000
commitde7e014067b2c84a2edf8b790a4f009aa9471ec6 (patch)
treec0fe236b3a877ef8ed12321d8777063178b41f18 /src/soc/mediatek/mt8186/include
parent36e6f9bc047f86e1628c8c41d3ac16d80fb344de (diff)
soc/mediatek: Add support for regulator VIO18
To provide power to MIPI panel STA_HIMAX83102_J02, add support for regulator VIO18. BUG=b:272425116 TEST=test firmware display pass for STA_HIMAX83102_J02 on Starmie. Change-Id: I3c3aa105e648b87fc39f881d762002f67b4422b5 Signed-off-by: Cong Yang <yangcong5@huaqin.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74341 Reviewed-by: Yidi Lin <yidilin@google.com> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Ruihai Zhou <zhouruihai@huaqin.corp-partner.google.com>
Diffstat (limited to 'src/soc/mediatek/mt8186/include')
-rw-r--r--src/soc/mediatek/mt8186/include/soc/mt6366.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8186/include/soc/mt6366.h b/src/soc/mediatek/mt8186/include/soc/mt6366.h
index 2315a24a76..b64cd8a17a 100644
--- a/src/soc/mediatek/mt8186/include/soc/mt6366.h
+++ b/src/soc/mediatek/mt8186/include/soc/mt6366.h
@@ -39,6 +39,7 @@ enum {
PMIC_VDRAM1_DBG0 = 0x161e,
PMIC_VDRAM1_VOSEL = 0x1626,
PMIC_SMPS_ANA_CON0 = 0x1808,
+ PMIC_LDO_VIO18_CON0 = 0x1aec,
PMIC_VDDQ_OP_EN = 0x1b16,
PMIC_VSRAM_PROC12_OP_EN = 0x1b90,
PMIC_VSRAM_PROC12_DBG0 = 0x1ba2,
@@ -67,6 +68,7 @@ enum mt6366_regulator_id {
MT6366_VSRAM_PROC12,
MT6366_VRF12,
MT6366_VCN33,
+ MT6366_VIO18,
MT6366_REGULATOR_NUM,
};