Commit 2885cf75f2f944c6ededd7fb0d3189ba6681f0cc

Authored by Ye Li
1 parent ed4a8ca872

MLK-15108 mx7d_12x12_lpddr3_arm2: Fix PMIC setting issue

Fix the SW2MODE setting problem in power_init_board, which causes issue when wakeup source
is set in kernel for LPSR.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Bai Ping <ping.bai@nxp.com>
(cherry picked from commit 35e62eb779ffcc5af32a6fff615549e536bf6cf4)

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

board/freescale/mx7d_12x12_lpddr3_arm2/mx7d_12x12_lpddr3_arm2.c
... ... @@ -615,7 +615,7 @@
615 615 reg |= 0x80;
616 616 pmic_reg_write(dev, PFUZE3000_VLDO3CTL, reg);
617 617  
618   - pmic_reg_read(dev, PFUZE3000_SW2MODE);
  618 + reg = pmic_reg_read(dev, PFUZE3000_SW2MODE);
619 619 reg |= 0x20;
620 620 pmic_reg_write(dev, PFUZE3000_SW2MODE, reg);
621 621