projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcc5ea2
)
mx25pdk: Turn on the LCD supply
author
Fabio Estevam
<fabio.estevam@freescale.com>
Sat, 21 Feb 2015 19:22:50 +0000
(17:22 -0200)
committer
Stefano Babic
<sbabic@denx.de>
Mon, 2 Mar 2015 08:57:05 +0000
(09:57 +0100)
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>
board/freescale/mx25pdk/mx25pdk.c
patch
|
blob
|
history
diff --git
a/board/freescale/mx25pdk/mx25pdk.c
b/board/freescale/mx25pdk/mx25pdk.c
index
71a395c
..
01dac72
100644
(file)
--- 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;
}