On Wed, Aug 27, 2008 at 09:03:47PM +0800, ext stanley.miao wrote: > I updated the kernel again. Now the kernel from omapzoom.org is OK, but > the kernel from "source.mvista.com/git/linux-omap-2.6.git" still can't > work. > > The LCD drivers in omapzoom.org and in linux-omap-2.6 use different > files. the LCD driver in omapzoom.org is omap_disp_out.c and omap_fb.c > while the driver in linux-omap-2.6 is lcd_2430sdp.c and omapfb_main.c. > > The following MACRO are defined differently. Can anyone tell me why ? > > In the file omap_disp_out.c in omapzoom.org : > > 113 #define LCD_PANEL_ENABLE_GPIO 5 > 114 #define LCD_PANEL_BACKLIGHT_GPIO 8 > > In the file lcd_2430sdp.c in linux-omap-2.6: > > 35 #define SDP3430_LCD_PANEL_BACKLIGHT_GPIO 24 > 36 #define SDP3430_LCD_PANEL_ENABLE_GPIO 28 different board revisions, maybe ? I think mvista.com will have support for es2.0, although it would be nice to check the revision and change the gpio numbers based on that. -- balbi -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html