imx6sl CONFIG_LDO_BYPASS_CHECK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6sl CONFIG_LDO_BYPASS_CHECK

812 Views
威杨
Contributor III

Hello,
I use imx6slevk,use uboot version is 2015.04,it function normal.i new make a board use imx6sl,uboot version is 2015.04,but uboot will dead at CONFIG_LDO_BYPASS_CHECK.code as follow:
code path board/freescale/mx6slevk/mx6slevk.c
void ldo_mode_set(int ldo_bypass)
{
u32 value;
int is_400M;
struct pmic *p = pfuze;
if (!p) {
printf("No pmic!\n");
return;
}
/* swith to ldo_bypass mode */
if (ldo_bypass) {
prep_anatop_bypass();
/* decrease VDDARM to 1.1V */
pmic_reg_read(p, PFUZE100_SW1ABVOL, &value);
value &= ~0x3f;
value |= 0x20;
pmic_reg_write(p, PFUZE100_SW1ABVOL, value);
when code execute the pmic_reg_write(p, PFUZE100_SW1ABVOL, value);,board is dead.
who can give me some help.......

Thanks

Labels (1)
0 Kudos
1 Reply

542 Views
igorpadykov
NXP Employee
NXP Employee

Hi wei

seems i2c connection with pmic does not work, so

one can attach jtag debugger and check i2c signals with oscilloscope.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos