Changeset 4949


Ignore:
Timestamp:
03/04/09 15:48:46 (4 years ago)
Author:
werner
Message:

Final revision for submission.

Location:
developers/werner/gta03/cam/patches
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • developers/werner/gta03/cam/patches/add-64xx-cam-clock.patch

    r4948 r4949  
    11Add CAMIF clock to S3C6410. 
     2 
     3Add camera interface clock to S3C6410. 
    24 
    35Signed-off-by: Werner Almesberger <werner@openmoko.org> 
  • developers/werner/gta03/cam/patches/add-64xx-hclk2.patch

    r4948 r4949  
    11Add HCLKx2 to S3C64xx. 
     2 
     3Add doubled HCLK to S3C64xx. 
    24 
    35Signed-off-by: Werner Almesberger <werner@openmoko.org> 
  • developers/werner/gta03/cam/patches/add-s3c-cam-config.patch

    r4948 r4949  
    1 Add Samsung S3C video driver to kernel configuration and build process. 
     1Samsung S3C camera subsystem config and Makefile 
    22 
     3Add Samsung S3C camera subsystem to kernel configuration and build process. 
    34Original code is from Samsung's BSP. 
    45 
  • developers/werner/gta03/cam/patches/add-s3c-cam-platform.patch

    r4948 r4949  
     1Add Samsung S3C CAMIF driver 
     2 
    13Add Samsung S3C camera interface driver. 
    2  
    34Original code is from Samsung's BSP and was written for 2.6.21. 
    45 
     
    1314--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    1415+++ cam/arch/arm/plat-s3c/dev-camif.c   2009-03-03 19:06:20.000000000 +0800 
    15 @@ -0,0 +1,59 @@ 
    16 +/* linux/arch/arm/plat-s3c/dev-hsmmc.c 
     16@@ -0,0 +1,65 @@ 
     17+/* linux/arch/arm/plat-s3c/dev-camif.c 
     18+ * 
     19+ * Copyright 2009 Openmoko, Inc. 
     20+ * Werner Almesberger <werner@openmoko.org> 
     21+ * 
     22+ * based on dev-hsmmc.c which is 
    1723+ * 
    1824+ * Copyright (c) 2008 Simtec Electronics 
  • developers/werner/gta03/cam/patches/add-s3c-camif-original.patch

    r4948 r4949  
    1 Add Samsung S3C camera driver for V4L. 
     1Add Samsung S3C camera driver for V4L 
    22 
    3 This is the original code from Samsung's 2.6.21 BSP. 
    4  
    5 The changes that are needed to make this work are in the next patch. 
     3This is the original Samsung S3C camera driver code from the 2.6.21 BSP. 
     4The changes that are needed to make this work in 2.6.29 are in the next 
     5patch. 
    66 
    77Signed-off-by: Werner Almesberger <werner@openmoko.org> 
  • developers/werner/gta03/cam/patches/add-s5k4-original.patch

    r4948 r4949  
    1 Add Samsung S5K4BA camera driver. 
     1Add Samsung S5K4BA camera driver 
    22 
    3 This is the original code from Samsung's 2.6.21 BSP. 
    4  
    5 The changes that are needed to make this work are in the next patch. 
     3This is the original Samsung S5K4BA camera driver code from the 2.6.21 
     4BSP.  The changes that are needed to make this work in 2.6.29 are in 
     5the next patch. 
    66 
    77Signed-off-by: Werner Almesberger <werner@openmoko.org> 
  • developers/werner/gta03/cam/patches/add-samsung-cams-i2c.patch

    r4948 r4949  
    1 Add I2C IDs for Samsung S5K series cameras. 
     1Add I2C IDs for Samsung S5K series cameras 
    22 
    3 This code is directly from Samsung's BSP. 
     3These are te I2C IDs for all the Samsung S5K series cameras. This code 
     4is directly from Samsung's BSP. 
    45 
    56Signed-off-by: Werner Almesberger <werner@openmoko.org> 
  • developers/werner/gta03/cam/patches/fix-s3c-camif.patch

    r4948 r4949  
    1 This updates the Samsung S3C camera interface driver from 2.6.21 to 
    2 2.6.29 and fixes some trivial issues. 
     1Update Samsung S3C camera interface driver 
    32 
    4 There are still a few ugly spots, marked with "@@@ - WA". 
     3Update the camera interface driver from 2.6.21 to 2.6.29 and fix some 
     4trivial issues. There are still a few ugly spots, marked with "@@@". 
    55 
    66Only tested on S3C6410. 
  • developers/werner/gta03/cam/patches/fix-s3c64xx_setrate_clksrc.patch

    r4948 r4949  
     1Fix s3c64xx_setrate_clksrc 
     2 
     3Note: this patch is already on the way upstream but is currently missing 
     4in the Openmoko kernel. 
     5 
    16Some of the rate selection logic in s3c64xx_setrate_clksrc uses what 
    27appears to be parent clock selection logic. This patch corrects it. 
  • developers/werner/gta03/cam/patches/fix-s5k4.patch

    r4948 r4949  
    1 Fix Samsung S5K4BA camera driver. Mainly trailing whitespace issues. 
     1Fix Samsung S5K4BA camera driver. 
     2 
     3This patch makes the Samsung S5K4BA driver work in 2.6.29 and also solves 
     4a few minor issues, such as trailing whitespace. 
    25 
    36Signed-off-by: Werner Almesberger <werner@openmoko.org> 
  • developers/werner/gta03/cam/patches/hacks.patch

    r4948 r4949  
     1Dirty hacks to make it all work 
     2 
    13A few dirty hacks to make the camera driver work: 
    24 
     
    1517Index: cam/drivers/media/video/s3c_camera_driver.c 
    1618=================================================================== 
    17 --- cam.orig/drivers/media/video/s3c_camera_driver.c    2009-03-04 18:05:16.000000000 +0800 
    18 +++ cam/drivers/media/video/s3c_camera_driver.c 2009-03-04 18:05:53.000000000 +0800 
     19--- cam.orig/drivers/media/video/s3c_camera_driver.c    2009-03-04 20:52:03.000000000 +0800 
     20+++ cam/drivers/media/video/s3c_camera_driver.c 2009-03-04 20:54:08.000000000 +0800 
    1921@@ -74,6 +74,7 @@ 
    2022  
     
    2729Index: cam/arch/arm/mach-s3c6410/mach-om-3d7k.c 
    2830=================================================================== 
    29 --- cam.orig/arch/arm/mach-s3c6410/mach-om-3d7k.c       2009-03-04 18:05:47.000000000 +0800 
    30 +++ cam/arch/arm/mach-s3c6410/mach-om-3d7k.c    2009-03-04 18:06:18.000000000 +0800 
    31 @@ -422,6 +422,10 @@ 
    32                                    unsigned int power) 
    33  { 
     31--- cam.orig/arch/arm/mach-s3c6410/mach-om-3d7k.c       2009-03-04 20:52:03.000000000 +0800 
     32+++ cam/arch/arm/mach-s3c6410/mach-om-3d7k.c    2009-03-04 20:56:40.000000000 +0800 
     33@@ -1025,6 +1025,10 @@ 
     34        pcf50633_reg_write(pcf, PCF50633_REG_LEDDIM, 0x01); 
     35        pcf50633_reg_write(pcf, PCF50633_REG_LEDENA, 0x01); 
    3436  
    3537+       /* @@@ do this properly later - WA */ 
     
    3941 } 
    4042  
    41  static struct plat_lcd_data om_3d7k_lcd_power_data = { 
     43 static void om_3d7k_l1k002_pwronoff(int level) 
  • developers/werner/gta03/cam/patches/mach-om3d7k-add-cam.patch

    r4948 r4949  
    1 Add camera interface driver to 3D7K machine. 
     1Add camera interface driver to 3D7K 
     2 
     3This patch adds the camera interface driver and the corresponding 
     4configuration option to the 3D7K machine. 
    25 
    36Signed-off-by: Werner Almesberger <werner@openmoko.org> 
  • developers/werner/gta03/cam/patches/series

    r4948 r4949  
     1# submit with 
     2# 
     3# quilt mail --mbox foo --prefix PATCH \ 
     4# --sender 'Werner Almesberger <werner@openmoko.org>' \ 
     5# --subject 'Samsung camera driver for 3D7K' \ 
     6# --to openmoko-kernel@lists.openmoko.org 
     7# 
     8 
    19fix-s3c64xx_setrate_clksrc.patch 
    210add-64xx-hclk2.patch 
    311add-64xx-cam-clock.patch 
    4 #add-s3c-camif-regs.patch 
    512add-s3c-camif-original.patch 
    613fix-s3c-camif.patch 
     
    1118add-s3c-cam-config.patch 
    1219mach-om3d7k-add-cam.patch 
    13 # defconfig 
    1420update-om3d7k-defconfig.patch 
    1521hacks.patch 
  • developers/werner/gta03/cam/patches/update-om3d7k-defconfig.patch

    r4948 r4949  
     1Enable camera in 3D7K defconfig 
     2 
    13Enable V4L and camera driver in 3D7K default configuration. 
    24 
Note: See TracChangeset for help on using the changeset viewer.