diff options
author | Igor Opaniuk <igor.opaniuk@toradex.com> | 2020-07-09 12:02:02 +0300 |
---|---|---|
committer | Igor Opaniuk <igor.opaniuk@toradex.com> | 2020-07-09 13:30:15 +0300 |
commit | 847b88f2f8c7baaeff5683d98a60d6f69147699b (patch) | |
tree | d78a40d6b4d54a0df4ac2b7c4b7610bfe8efa102 /board | |
parent | 7f671909ed7c224a9d6658b6af9e9dc61100729a (diff) |
verdin-imx8mm: fallback to non-DM PMIC driver usage
This fixes compilation issues because of wrong PMIC definitions.
Relates-to: ELB-2771
Fixes: 7c52ab30("MLK-18387 pmic: Add Non-DM pmic driver for BD71837")
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/toradex/verdin-imx8mm/spl.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/board/toradex/verdin-imx8mm/spl.c b/board/toradex/verdin-imx8mm/spl.c index a5dc540820..55cde73e19 100644 --- a/board/toradex/verdin-imx8mm/spl.c +++ b/board/toradex/verdin-imx8mm/spl.c @@ -106,24 +106,24 @@ int power_init_board(void) return ret; /* decrease RESET key long push time from the default 10s to 10ms */ - pmic_reg_write(dev, BD718XX_PWRONCONFIG1, 0x0); + pmic_reg_write(dev, BD71837_PWRONCONFIG1, 0x0); /* unlock the PMIC regs */ - pmic_reg_write(dev, BD718XX_REGLOCK, 0x1); + pmic_reg_write(dev, BD71837_REGLOCK, 0x1); /* increase VDD_SOC to typical value 0.85v before first DRAM access */ - pmic_reg_write(dev, BD718XX_BUCK1_VOLT_RUN, 0x0f); + pmic_reg_write(dev, BD71837_BUCK1_VOLT_RUN, 0x0f); /* increase VDD_DRAM to 0.975v for 3Ghz DDR */ - pmic_reg_write(dev, BD718XX_1ST_NODVS_BUCK_VOLT, 0x83); + pmic_reg_write(dev, BD71837_BUCK5_VOLT, 0x83); #ifndef CONFIG_IMX8M_LPDDR4 /* increase NVCC_DRAM_1V2 to 1.2v for DDR4 */ - pmic_reg_write(dev, BD718XX_4TH_NODVS_BUCK_VOLT, 0x28); + pmic_reg_write(dev, BD71837_BUCK8_VOLT, 0x28); #endif /* lock the PMIC regs */ - pmic_reg_write(dev, BD718XX_REGLOCK, 0x11); + pmic_reg_write(dev, BD71837_REGLOCK, 0x11); return 0; } |