[Balloon-svn] r1887 - balloon/branches/menuconfig2/package/k…

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: subversion@balloonboard.org
日付:  
To: balloon-svn
題目: [Balloon-svn] r1887 - balloon/branches/menuconfig2/package/kernel/patches/2.6.39.4
Author: nick
Date: 2012-06-01 13:20:29 +0100 (Fri, 01 Jun 2012)
New Revision: 1887

Modified:
balloon/branches/menuconfig2/package/kernel/patches/2.6.39.4/balloon3-displays.patch
Log:
adjust tt display timings to correct vertial alignment

Modified: balloon/branches/menuconfig2/package/kernel/patches/2.6.39.4/balloon3-displays.patch
===================================================================
--- balloon/branches/menuconfig2/package/kernel/patches/2.6.39.4/balloon3-displays.patch    2012-05-31 12:23:05 UTC (rev 1886)
+++ balloon/branches/menuconfig2/package/kernel/patches/2.6.39.4/balloon3-displays.patch    2012-06-01 12:20:29 UTC (rev 1887)
@@ -9,8 +9,8 @@


 Index: linux-2.6.39.4/arch/arm/mach-pxa/Kconfig
 ===================================================================
---- linux-2.6.39.4.orig/arch/arm/mach-pxa/Kconfig    2012-05-31 11:36:19.000000000 +0100
-+++ linux-2.6.39.4/arch/arm/mach-pxa/Kconfig    2012-05-31 11:36:28.000000000 +0100
+--- linux-2.6.39.4.orig/arch/arm/mach-pxa/Kconfig    2012-06-01 10:11:58.000000000 +0100
++++ linux-2.6.39.4/arch/arm/mach-pxa/Kconfig    2012-06-01 10:12:07.000000000 +0100
 @@ -57,6 +57,7 @@
  comment "Third Party Dev Platforms (sorted by vendor name)"


@@ -21,8 +21,8 @@
      select PXA25x
 Index: linux-2.6.39.4/drivers/video/pxafb.c
 ===================================================================
---- linux-2.6.39.4.orig/drivers/video/pxafb.c    2012-05-31 11:36:12.000000000 +0100
-+++ linux-2.6.39.4/drivers/video/pxafb.c    2012-05-31 11:36:28.000000000 +0100
+--- linux-2.6.39.4.orig/drivers/video/pxafb.c    2012-06-01 10:11:49.000000000 +0100
++++ linux-2.6.39.4/drivers/video/pxafb.c    2012-06-01 10:12:07.000000000 +0100
 @@ -60,6 +60,7 @@
  #include <asm/irq.h>
  #include <asm/div64.h>
@@ -82,8 +82,8 @@
  #define pxafb_check_options(...)    do {} while (0)
 Index: linux-2.6.39.4/arch/arm/mach-pxa/include/mach/pxafb.h
 ===================================================================
---- linux-2.6.39.4.orig/arch/arm/mach-pxa/include/mach/pxafb.h    2012-05-31 11:36:12.000000000 +0100
-+++ linux-2.6.39.4/arch/arm/mach-pxa/include/mach/pxafb.h    2012-05-31 11:36:28.000000000 +0100
+--- linux-2.6.39.4.orig/arch/arm/mach-pxa/include/mach/pxafb.h    2012-06-01 10:11:49.000000000 +0100
++++ linux-2.6.39.4/arch/arm/mach-pxa/include/mach/pxafb.h    2012-06-01 10:12:07.000000000 +0100
 @@ -61,6 +61,7 @@
  #define LCD_PCLK_EDGE_RISE    (0 << 19)
  #define LCD_PCLK_EDGE_FALL    (1 << 19)
@@ -104,8 +104,8 @@
      void (*pxafb_backlight_power)(int);
 Index: linux-2.6.39.4/arch/arm/mach-pxa/include/mach/regs-lcd.h
 ===================================================================
---- linux-2.6.39.4.orig/arch/arm/mach-pxa/include/mach/regs-lcd.h    2012-05-31 11:36:12.000000000 +0100
-+++ linux-2.6.39.4/arch/arm/mach-pxa/include/mach/regs-lcd.h    2012-05-31 11:36:29.000000000 +0100
+--- linux-2.6.39.4.orig/arch/arm/mach-pxa/include/mach/regs-lcd.h    2012-06-01 10:11:49.000000000 +0100
++++ linux-2.6.39.4/arch/arm/mach-pxa/include/mach/regs-lcd.h    2012-06-01 10:12:07.000000000 +0100
 @@ -46,6 +46,41 @@
  #define LCCR4_PAL_FOR_2    (2 << 15)
  #define LCCR4_PAL_FOR_3    (3 << 15)
@@ -150,8 +150,8 @@
  #define FDADR1        (0x210)    /* DMA Channel 1 Frame Descriptor Address Register */
 Index: linux-2.6.39.4/arch/arm/mach-pxa/balloon3.c
 ===================================================================
---- linux-2.6.39.4.orig/arch/arm/mach-pxa/balloon3.c    2012-05-31 11:36:26.000000000 +0100
-+++ linux-2.6.39.4/arch/arm/mach-pxa/balloon3.c    2012-05-31 11:38:24.000000000 +0100
+--- linux-2.6.39.4.orig/arch/arm/mach-pxa/balloon3.c    2012-06-01 10:12:06.000000000 +0100
++++ linux-2.6.39.4/arch/arm/mach-pxa/balloon3.c    2012-06-01 10:14:25.000000000 +0100
 @@ -222,8 +222,24 @@
      GPIO99_GPIO | MFP_LPM_DRIVE_LOW,
  };
@@ -179,7 +179,7 @@
          .pixclock        = 38000,
          .xres            = 480,
          .yres            = 640,
-@@ -234,14 +250,66 @@
+@@ -234,14 +250,73 @@
          .vsync_len        = 2,
          .upper_margin        = 4,
          .lower_margin        = 5,
@@ -223,15 +223,22 @@
 +
 +#ifdef CONFIG_BALLOON3_TT
 +static struct pxafb_mode_info balloon3_lcd_tt = {
-+    .pixclock        = 100000,
++//    .pixclock        = 100000,
++    .pixclock        = 125000,
 +    .xres            = 320,
 +    .yres            = 240,
 +    .bpp            = 16,
-+    .hsync_len        = 31,
-+    .left_margin        = 38,
-+    .right_margin        = 26,
++//    .hsync_len        = 31,
++//    .left_margin        = 38,
++//    .right_margin        = 26,
++//    .vsync_len        = 5,
++//    .upper_margin        = 4,
++//    .lower_margin        = 7,
++    .hsync_len        = 2,
++    .left_margin        = 8,
++    .right_margin        = 8,
 +    .vsync_len        = 5,
-+    .upper_margin        = 4,
++    .upper_margin        = 14,
 +    .lower_margin        = 7,
 +    .sync            = 0
 +};
@@ -250,7 +257,7 @@
  };


  static void balloon3_backlight_power(int on)
-@@ -249,12 +317,74 @@
+@@ -249,12 +324,74 @@
      gpio_set_value(BALLOON3_GPIO_RUN_BACKLIGHT, on);
  }