summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-02-21 17:22:50 -0200
committerStefano Babic <sbabic@denx.de>2015-03-02 09:57:05 +0100
commit86a390d30526ac96ae161fb389c7f151a136208f (patch)
tree07e05c38d01c82e34c176f51bf7e0c8fa70b36fa
parentbcc5ea24c4b48c4bea6a02b179c4a2bac8377bdc (diff)
downloadu-boot-imx-86a390d30526ac96ae161fb389c7f151a136208f.zip
u-boot-imx-86a390d30526ac96ae161fb389c7f151a136208f.tar.gz
u-boot-imx-86a390d30526ac96ae161fb389c7f151a136208f.tar.bz2
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>
-rw-r--r--board/freescale/mx25pdk/mx25pdk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/mx25pdk/mx25pdk.c b/board/freescale/mx25pdk/mx25pdk.c
index 71a395c..01dac72 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;
}