summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8192/bootblock.c
diff options
context:
space:
mode:
authorHsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>2020-07-10 16:50:53 +0800
committerHung-Te Lin <hungte@chromium.org>2020-11-18 06:12:50 +0000
commit9247d128390a70ab8ad5a2eba4ea73dc56a51375 (patch)
treeec5e51e2f8e6f63febca157846af7e80fa30b149 /src/soc/mediatek/mt8192/bootblock.c
parented7bb850310ec579db0b53a9dda4ad411c68f998 (diff)
soc/mediatek/mt8192: add pmic MT6315 driver
MT6315 is a buck converter for Mediatek MT8192 platform. Reference datasheet: MT6315 datasheet v1.4.2.pdf, RH-D-2019-0616. BUG=b:155253454 BRANCH=none TEST=boot asurada correctly Signed-off-by: Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com> Change-Id: I6b47473ee5d56a197bd21d4ab9b539d9663b6636 Reviewed-on: https://review.coreboot.org/c/coreboot/+/45400 Reviewed-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek/mt8192/bootblock.c')
-rw-r--r--src/soc/mediatek/mt8192/bootblock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8192/bootblock.c b/src/soc/mediatek/mt8192/bootblock.c
index d9cb684adf..7987b1cf8e 100644
--- a/src/soc/mediatek/mt8192/bootblock.c
+++ b/src/soc/mediatek/mt8192/bootblock.c
@@ -2,6 +2,7 @@
#include <bootblock_common.h>
#include <soc/mmu_operations.h>
+#include <soc/mt6315.h>
#include <soc/mt6359p.h>
#include <soc/pll.h>
#include <soc/pmif.h>
@@ -14,4 +15,5 @@ void bootblock_soc_init(void)
mt_pll_init();
mtk_pmif_init();
mt6359p_init();
+ mt6315_init();
}