summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/common/include
diff options
context:
space:
mode:
authorRex-BC Chen <rex-bc.chen@mediatek.corp-partner.google.com>2021-12-28 13:07:06 +0800
committerHung-Te Lin <hungte@chromium.org>2022-01-01 03:29:08 +0000
commit0069f6a18cf52e7a7da9c993e8b120403cae7112 (patch)
treee2cfd3a5acd7e25820feffddfcfd17f260a61604 /src/soc/mediatek/common/include
parent100c2f6d38c2f92647655bf1013bf5c38a847799 (diff)
soc/mediatek/mt8186: Add support for regulator VRF12/VCN33
To provide power to PS8640, the eDP bridge IC on krabby, add control of VRF12 and VCN33 to set voltage from MT6366. TEST=measure 1.2V from VRF12 and 3.3V from VCN33. BUG=b:210806060 Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com> Change-Id: I55a9ca16e1e335e9355d0a1b30c278a9969db197 Reviewed-on: https://review.coreboot.org/c/coreboot/+/60446 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/regulator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/mediatek/common/include/soc/regulator.h b/src/soc/mediatek/common/include/soc/regulator.h
index 5068f50779..84bb364afd 100644
--- a/src/soc/mediatek/common/include/soc/regulator.h
+++ b/src/soc/mediatek/common/include/soc/regulator.h
@@ -18,6 +18,8 @@ enum mtk_regulator {
MTK_REGULATOR_VMC,
MTK_REGULATOR_VPROC12,
MTK_REGULATOR_VSRAM_PROC12,
+ MTK_REGULATOR_VRF12,
+ MTK_REGULATOR_VCN33,
MTK_REGULATOR_NUM,
};