[oe-commits] org.oe.dev linux-omap2 git: add working DVI patch (sent upstream for review), update defconfig
koen commit
oe at amethyst.openembedded.net
Fri May 9 19:22:18 UTC 2008
linux-omap2 git: add working DVI patch (sent upstream for review), update defconfig
Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 8816a1930a80e66c19c4754fa2383feb1c08d7bc
ViewMTN: http://monotone.openembedded.org/revision/info/8816a1930a80e66c19c4754fa2383feb1c08d7bc
Files:
1
packages/linux/linux-omap2-git/beagleboard/beagle-dvi-first-try.diff
packages/linux/linux-omap2-git/beagleboard/0001-omap3beagle-add-driver-to-turn-on-the-TFP410-framer.patch
packages/linux/linux-omap2-git/beagleboard/defconfig
packages/linux/linux-omap2_git.bb
Diffs:
#
# mt diff -rf239711f465b1eb2bb9845b620d82bf26db28869 -r8816a1930a80e66c19c4754fa2383feb1c08d7bc
#
#
#
# rename "packages/linux/linux-omap2-git/beagleboard/beagle-dvi-first-try.diff"
# to "packages/linux/linux-omap2-git/beagleboard/0001-omap3beagle-add-driver-to-turn-on-the-TFP410-framer.patch"
#
# patch "packages/linux/linux-omap2-git/beagleboard/0001-omap3beagle-add-driver-to-turn-on-the-TFP410-framer.patch"
# from [5ce1b897fc176209672cc01f8ff7ed7597d66ef4]
# to [239fb4dba2cf48740e27bfc3d068d260c4d0d31a]
#
# patch "packages/linux/linux-omap2-git/beagleboard/defconfig"
# from [8d22f436ea4eaff784aaefdcc7cc32d946815c26]
# to [6858cc66b2653f490febf14da821d7bb22f86de1]
#
# patch "packages/linux/linux-omap2_git.bb"
# from [318d9950053ee9a54e1c0a7235e17c2f6f809dd8]
# to [58661f8ec6c8fec7587a1d83f06bb59d1b7a73b7]
#
============================================================
--- packages/linux/linux-omap2-git/beagleboard/beagle-dvi-first-try.diff 5ce1b897fc176209672cc01f8ff7ed7597d66ef4
+++ packages/linux/linux-omap2-git/beagleboard/0001-omap3beagle-add-driver-to-turn-on-the-TFP410-framer.patch 239fb4dba2cf48740e27bfc3d068d260c4d0d31a
@@ -40,10 +40,10 @@ new file mode 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 */
============================================================
--- packages/linux/linux-omap2-git/beagleboard/defconfig 8d22f436ea4eaff784aaefdcc7cc32d946815c26
+++ packages/linux/linux-omap2-git/beagleboard/defconfig 6858cc66b2653f490febf14da821d7bb22f86de1
@@ -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,15 +1228,19 @@ CONFIG_FB_OMAP=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
#
# CONFIG_VGA_CONSOLE is not set
@@ -1248,7 +1251,10 @@ CONFIG_FONT_8x16=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
============================================================
--- packages/linux/linux-omap2_git.bb 318d9950053ee9a54e1c0a7235e17c2f6f809dd8
+++ packages/linux/linux-omap2_git.bb 58661f8ec6c8fec7587a1d83f06bb59d1b7a73b7
@@ -5,7 +5,7 @@ PV = "2.6.25+2.6.26-rc1+git${SRCREV}"
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
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"
More information about the Openembedded-commits
mailing list