summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2019-10-16 00:03:15 -0700
committerYe Li <ye.li@nxp.com>2019-10-16 00:43:18 -0700
commit8ced05036a862bbb56368d8da368820422df2044 (patch)
tree299db3a80e507d744177485c81d0e52455e4451b /board
parent33bf1581116e60ffe3e367ba447b28da4f112cc0 (diff)
MLK-22762 imx8mn_ddr4_evk: Set VDD_SOC to 0.85v in suspend mode
According to datasheet, the VDD_SOC should be 0.85v in suspend mode. But current voltage is default 0.80v because we don't configure BD71837 BUCK1_VOLT_SUSP register. Signed-off-by: Ye Li <ye.li@nxp.com> Tested-by: Anson Huang <Anson.Huang@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'board')
-rw-r--r--board/freescale/imx8mn_evk/spl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/freescale/imx8mn_evk/spl.c b/board/freescale/imx8mn_evk/spl.c
index 8fb8ded03c..e7aac0d8c8 100644
--- a/board/freescale/imx8mn_evk/spl.c
+++ b/board/freescale/imx8mn_evk/spl.c
@@ -210,6 +210,9 @@ int power_init_board(void)
pmic_reg_write(p, BD71837_BUCK1_VOLT_RUN, 0x19);
#endif
+ /* Set VDD_SOC 0.85v for suspend */
+ pmic_reg_write(p, BD71837_BUCK1_VOLT_SUSP, 0xf);
+
#ifdef CONFIG_IMX8M_DDR4
/* increase NVCC_DRAM_1V2 to 1.2v for DDR4 */
pmic_reg_write(p, BD71837_BUCK8_VOLT, 0x28);