From: Fabio Estevam Date: Sat, 21 Feb 2015 19:22:50 +0000 (-0200) Subject: mx25pdk: Turn on the LCD supply X-Git-Tag: v2015.04-rc4~118^2~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=86a390d30526ac96ae161fb389c7f151a136208f;p=oweals%2Fu-boot.git 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 --- diff --git a/board/freescale/mx25pdk/mx25pdk.c b/board/freescale/mx25pdk/mx25pdk.c index 71a395c226..01dac72e85 100644 --- a/board/freescale/mx25pdk/mx25pdk.c +++ b/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; }