linux-omap2 git: add working DVI patch (sent upstream for review), update defconfig
authorKoen Kooi <koen@openembedded.org>
Fri, 9 May 2008 19:08:08 +0000 (19:08 +0000)
committerKoen Kooi <koen@openembedded.org>
Fri, 9 May 2008 19:08:08 +0000 (19:08 +0000)
packages/linux/linux-omap2-git/beagleboard/0001-omap3beagle-add-driver-to-turn-on-the-TFP410-framer.patch [moved from packages/linux/linux-omap2-git/beagleboard/beagle-dvi-first-try.diff with 95% similarity]
packages/linux/linux-omap2-git/beagleboard/defconfig
packages/linux/linux-omap2_git.bb

@@ -40,10 +40,10 @@ index cad6a68..fe7ee5d 100644
  omapfb-objs := $(objs-yy)
 diff --git a/drivers/video/omap/lcd_omap3beagle.c b/drivers/video/omap/lcd_omap3beagle.c
 new file mode 100644
-index 0000000..99343b1
+index 0000000..d49101a
 --- /dev/null
 +++ b/drivers/video/omap/lcd_omap3beagle.c
-@@ -0,0 +1,141 @@
+@@ -0,0 +1,140 @@
 +/*
 + * LCD panel support for the TI OMAP3 Beagle board
 + *
@@ -79,8 +79,8 @@ index 0000000..99343b1
 +
 +#define LCD_XRES              1024    
 +#define LCD_YRES              768
-+#define LCD_PIXCLOCK_MAX      16700 /* in pico seconds  */
-+#define LCD_PIXCLOCK_MIN      15200 /* in pico seconds */
++#define LCD_PIXCLOCK_MAX        64000 /* in pico seconds  */
++#define LCD_PIXCLOCK_MIN        64000 /* in pico seconds */
 +
 +#define ENABLE_VDAC_DEDICATED 0x03
 +#define ENABLE_VDAC_DEV_GRP   0x20
@@ -101,13 +101,13 @@ index 0000000..99343b1
 +
 +static int omap3beagle_panel_enable(struct lcd_panel *panel)
 +{
-+      omap_set_gpio_dataout(LCD_PANEL_ENABLE_GPIO, 0);
++      omap_set_gpio_dataout(LCD_PANEL_ENABLE_GPIO, 1);
 +      return 0;
 +}
 +
 +static void omap3beagle_panel_disable(struct lcd_panel *panel)
 +{
-+      omap_set_gpio_dataout(LCD_PANEL_ENABLE_GPIO, 1);
++      omap_set_gpio_dataout(LCD_PANEL_ENABLE_GPIO, 0);
 +}
 +
 +static unsigned long omap3beagle_panel_get_caps(struct lcd_panel *panel)
@@ -117,11 +117,10 @@ index 0000000..99343b1
 +
 +struct lcd_panel omap3beagle_panel = {
 +      .name           = "omap3beagle",
-+      .config         = OMAP_LCDC_PANEL_TFT | OMAP_LCDC_INV_VSYNC |
-+                        OMAP_LCDC_INV_HSYNC,
++      .config         = OMAP_LCDC_PANEL_TFT,
 +
-+      .bpp            = 16,
-+      .data_lines     = 18,
++      .bpp            = 24,
++      .data_lines     = 24,
 +      .x_res          = LCD_XRES,
 +      .y_res          = LCD_YRES,
 +      .hsw            = 3,            /* hsync_len (4) - 1 */
index 9e2c6d4..8d238c6 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.26-rc1-omap1
-# Wed May  7 10:17:18 2008
+# Fri May  9 20:17:52 2008
 #
 CONFIG_ARM=y
 CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -688,7 +688,6 @@ CONFIG_USB_ZD1201=m
 # CONFIG_USB_NET_RNDIS_WLAN is not set
 # CONFIG_RTL8187 is not set
 # CONFIG_P54_COMMON is not set
-# CONFIG_IWLWIFI is not set
 # CONFIG_IWLWIFI_LEDS is not set
 CONFIG_HOSTAP=m
 CONFIG_HOSTAP_FIRMWARE=y
@@ -1229,13 +1228,17 @@ CONFIG_FB_DEFERRED_IO=y
 CONFIG_FB_OMAP=y
 # CONFIG_FB_OMAP_LCDC_EXTERNAL is not set
 # CONFIG_FB_OMAP_BOOTLOADER_INIT is not set
-CONFIG_FB_OMAP_CONSISTENT_DMA_SIZE=2
+CONFIG_FB_OMAP_CONSISTENT_DMA_SIZE=4
 # CONFIG_BACKLIGHT_LCD_SUPPORT is not set
 
 #
 # Display device support
 #
-# CONFIG_DISPLAY_SUPPORT is not set
+CONFIG_DISPLAY_SUPPORT=y
+
+#
+# Display hardware drivers
+#
 
 #
 # Console display driver support
@@ -1248,7 +1251,10 @@ CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
 # CONFIG_FONTS is not set
 CONFIG_FONT_8x8=y
 CONFIG_FONT_8x16=y
-# CONFIG_LOGO is not set
+CONFIG_LOGO=y
+# CONFIG_LOGO_LINUX_MONO is not set
+CONFIG_LOGO_LINUX_VGA16=y
+CONFIG_LOGO_LINUX_CLUT224=y
 
 #
 # Sound
@@ -1358,7 +1364,7 @@ CONFIG_USB_SUSPEND=y
 # USB Host Controller Drivers
 #
 # CONFIG_USB_C67X00_HCD is not set
-CONFIG_USB_EHCI_HCD=m
+CONFIG_USB_EHCI_HCD=y
 CONFIG_OMAP_EHCI_PHY_MODE=y
 # CONFIG_OMAP_EHCI_TLL_MODE is not set
 CONFIG_USB_EHCI_ROOT_HUB_TT=y
index ac8a59e..545817b 100644 (file)
@@ -5,7 +5,7 @@ FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/linux-omap2-git/${MA
 SRCREV = "cb170dcdce58de20b045ae964a4ccfc29aad1647"
 
 PV = "2.6.25+2.6.26-rc1+git${SRCREV}"
-PR = "r10"
+PR = "r11"
 
 
 SRC_URI = "git://source.mvista.com/git/linux-omap-2.6.git;protocol=git \
@@ -15,7 +15,7 @@ SRC_URI_append_beagleboard = " file://no-harry-potter.diff;patch=1 \
                               file://usb-timout.patch;patch=1 \
                               file://l2-cache.patch;patch=1 \  
                               file://0001-This-patch-adds-RTC-support-to-the-omap3-based-beagl.patch;patch=1 \ 
-#                             file://beagle-dvi-first-try.diff;patch=1 \
+                              file://0001-omap3beagle-add-driver-to-turn-on-the-TFP410-framer.patch;patch=1 \
 "
 
 COMPATIBLE_MACHINE = "omap2430sdp|omap2420h4|beagleboard"