AnsweredAssumed Answered

i.MX8M Mini EVK: Changing PMIC Settings in SPL

Question asked by David Ochs on Jun 20, 2019
Latest reply on Jun 24, 2019 by igorpadykov

Hi,

I need to change the settings of an NXP PMIC (PF8121) for a board that's based on the i.MX8M Mini EVK. I see a note on the EVK schematic that mentions a couple of voltage settings for the Rohm PMIC on the EVK are changed in SPL. Is anyone able to give me some guidance on how to do the same thing for the PF8121?

 

One path I've started down is to try and replicate what's being done on the EVK as close as possible. So far I have found that the power_bd71837_init function from pmic_bd71837.c is being called in SPL, but I can't see yet what else is being done to change the voltages. Does the device tree entry in the u-boot fsl-imx8mm-evk.dts make the changes occur in SPL? If so, how is that controlled - is there a menuconfig option that I haven't found yet?

 

I hope some of these questions make sense; clearly I don't have much experience with u-boot and SPL. Thanks in advance for your help.

 

Dave

Outcomes