[Armadeus-commitlog] SF.net SVN: armadeus:[1077] trunk/buildroot/target/device/armadeus/linux/ ker
Brought to you by:
sszy
|
From: <th...@us...> - 2009-02-22 15:07:44
|
Revision: 1077
http://armadeus.svn.sourceforge.net/armadeus/?rev=1077&view=rev
Author: thom25
Date: 2009-02-22 15:06:38 +0000 (Sun, 22 Feb 2009)
Log Message:
-----------
[KERNEL] fix LCD startup
Modified Paths:
--------------
trunk/buildroot/target/device/armadeus/linux/kernel-patches/2.6.27.13/281-apf27-armadeus-add_apf27.c.patch
Modified: trunk/buildroot/target/device/armadeus/linux/kernel-patches/2.6.27.13/281-apf27-armadeus-add_apf27.c.patch
===================================================================
--- trunk/buildroot/target/device/armadeus/linux/kernel-patches/2.6.27.13/281-apf27-armadeus-add_apf27.c.patch 2009-02-21 18:08:53 UTC (rev 1076)
+++ trunk/buildroot/target/device/armadeus/linux/kernel-patches/2.6.27.13/281-apf27-armadeus-add_apf27.c.patch 2009-02-22 15:06:38 UTC (rev 1077)
@@ -3,7 +3,7 @@
(Take a look at armadeus/target/linux/ directory to know how to generate it)
--- linux-2.6.27.13.original/arch/arm/mach-mx2/apf27.c
+++ linux-2.6.27.13.mod/arch/arm/mach-mx2/apf27.c
-@@ -0,0 +1,1274 @@
+@@ -0,0 +1,1286 @@
+ /*
+ * apf27.c
+ *
@@ -1055,6 +1055,18 @@
+{
+ int err;
+
++#ifdef CONFIG_FB_MXC
++ /* force LCD data/control lines to 0 before powering the LCD
++ otherwise start up conditions may not be respected */
++ int i;
++ for( i=5; i <= 31; i++ ){
++ mxc_gpio_mode( GPIO_PORTA | i | GPIO_OUT| GPIO_GPIO );
++ gpio_set_value(GPIO_PORTA | i, 0);
++ }
++ /* wait a few milli */
++ mdelay(5);
++#endif
++
+ err = mxc_gpio_setup_multiple(apf27dev_pwr_ctl_pins,
+ ARRAY_SIZE(apf27dev_pwr_ctl_pins), "pwr-ctl");
+ if (err < 0)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|