mx25pdk: Turn on the LCD supply

Currently there is no support for MC34704 PMIC in the mainline kernel.

Turn on the LCD supply via bootloader for the time being, so that we could
use the LCD in the kernel.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
master
Fabio Estevam 9 years ago committed by Stefano Babic
parent bcc5ea24c4
commit 86a390d305
  1. 4
      board/freescale/mx25pdk/mx25pdk.c

@ -146,8 +146,8 @@ int board_late_init(void)
if (!p)
return -ENODEV;
/* Turn on Ethernet PHY supply */
pmic_reg_write(p, MC34704_GENERAL2_REG, ONOFFE);
/* Turn on Ethernet PHY and LCD supplies */
pmic_reg_write(p, MC34704_GENERAL2_REG, ONOFFE | ONOFFA);
return 0;
}

Loading…
Cancel
Save