Changeset 4948
- Timestamp:
- 03/04/09 13:21:28 (4 years ago)
- Location:
- developers/werner/gta03/cam/patches
- Files:
-
- 5 added
- 3 deleted
- 9 edited
-
add-64xx-cam-clock.patch (modified) (3 diffs)
-
add-64xx-hclk2.patch (modified) (3 diffs)
-
add-s3c-cam-config.patch (modified) (1 diff)
-
add-s3c-cam-platform.patch (modified) (1 diff)
-
add-s3c-camif-original.patch (added)
-
add-s3c-camif-regs.patch (deleted)
-
add-s3c-camif.patch (deleted)
-
add-s5k4-original.patch (added)
-
add-s5k4.patch (deleted)
-
add-samsung-cams-i2c.patch (modified) (1 diff)
-
fix-s3c-camif.patch (added)
-
fix-s3c64xx_setrate_clksrc.patch (modified) (1 diff)
-
fix-s5k4.patch (added)
-
hacks.patch (added)
-
mach-om3d7k-add-cam.patch (modified) (2 diffs)
-
series (modified) (1 diff)
-
update-om3d7k-defconfig.patch (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
developers/werner/gta03/cam/patches/add-64xx-cam-clock.patch
r4945 r4948 1 Add CAMIF clock to S3C6410. 2 3 Signed-off-by: Werner Almesberger <werner@openmoko.org> 4 5 --- 6 1 7 Index: cam/arch/arm/plat-s3c64xx/s3c6400-clock.c 2 8 =================================================================== 3 --- cam.orig/arch/arm/plat-s3c64xx/s3c6400-clock.c 2009-03-0 3 19:07:03.000000000 +08004 +++ cam/arch/arm/plat-s3c64xx/s3c6400-clock.c 2009-03-0 3 19:07:11.000000000 +08005 @@ -5 20,6 +520,33 @@9 --- cam.orig/arch/arm/plat-s3c64xx/s3c6400-clock.c 2009-03-04 19:24:55.000000000 +0800 10 +++ cam/arch/arm/plat-s3c64xx/s3c6400-clock.c 2009-03-04 19:24:58.000000000 +0800 11 @@ -595,6 +595,33 @@ 6 12 .reg_divider = S3C_CLK_DIV2, 7 13 }; … … 37 43 38 44 static struct clksrc_clk *init_parents[] = { 39 @@ - 536,6 +563,7 @@45 @@ -611,6 +638,7 @@ 40 46 &clk_audio0, 41 47 &clk_audio1, … … 45 51 46 52 static void __init_or_cpufreq s3c6400_set_clksrc(struct clksrc_clk *clk) 47 @@ -636,6 +664,7 @@ 48 &clk_audio0.clk, 53 @@ -712,6 +740,7 @@ 49 54 &clk_audio1.clk, 50 55 &clk_irda.clk, 56 &clk_arm, 51 57 + &clk_camif.clk, 52 58 }; -
developers/werner/gta03/cam/patches/add-64xx-hclk2.patch
r4945 r4948 1 Add HCLKx2 to S3C64xx. 2 3 Signed-off-by: Werner Almesberger <werner@openmoko.org> 4 5 --- 6 1 7 Index: cam/arch/arm/plat-s3c/include/plat/clock.h 2 8 =================================================================== 3 --- cam.orig/arch/arm/plat-s3c/include/plat/clock.h 2009-03-0 3 19:06:53.000000000 +08004 +++ cam/arch/arm/plat-s3c/include/plat/clock.h 2009-03-0 3 19:07:03.000000000 +08009 --- cam.orig/arch/arm/plat-s3c/include/plat/clock.h 2009-03-04 19:24:46.000000000 +0800 10 +++ cam/arch/arm/plat-s3c/include/plat/clock.h 2009-03-04 19:24:55.000000000 +0800 5 11 @@ -50,6 +50,7 @@ 6 12 extern struct clk clk_ext; … … 13 19 Index: cam/arch/arm/plat-s3c64xx/clock.c 14 20 =================================================================== 15 --- cam.orig/arch/arm/plat-s3c64xx/clock.c 2009-03-0 3 19:06:53.000000000 +080016 +++ cam/arch/arm/plat-s3c64xx/clock.c 2009-03-0 3 19:07:03.000000000 +080021 --- cam.orig/arch/arm/plat-s3c64xx/clock.c 2009-03-04 19:24:46.000000000 +0800 22 +++ cam/arch/arm/plat-s3c64xx/clock.c 2009-03-04 19:24:55.000000000 +0800 17 23 @@ -27,6 +27,12 @@ 18 24 #include <plat/devs.h> … … 38 44 Index: cam/arch/arm/plat-s3c64xx/s3c6400-clock.c 39 45 =================================================================== 40 --- cam.orig/arch/arm/plat-s3c64xx/s3c6400-clock.c 2009-03-0 3 19:07:01.000000000 +080041 +++ cam/arch/arm/plat-s3c64xx/s3c6400-clock.c 2009-03-0 3 19:07:03.000000000 +080042 @@ -6 08,6 +608,7 @@46 --- cam.orig/arch/arm/plat-s3c64xx/s3c6400-clock.c 2009-03-04 19:24:49.000000000 +0800 47 +++ cam/arch/arm/plat-s3c64xx/s3c6400-clock.c 2009-03-04 19:24:55.000000000 +0800 48 @@ -683,6 +683,7 @@ 43 49 clk_fout_epll.rate = epll; 44 50 clk_fout_apll.rate = apll; -
developers/werner/gta03/cam/patches/add-s3c-cam-config.patch
r4942 r4948 1 Add Samsung S3C video driver to kernel configuration and build process. 2 3 Original code is from Samsung's BSP. 4 5 Signed-off-by: Werner Almesberger <werner@openmoko.org> 6 7 --- 8 1 9 Index: cam/drivers/media/video/Kconfig 2 10 =================================================================== -
developers/werner/gta03/cam/patches/add-s3c-cam-platform.patch
r4945 r4948 1 Add Samsung S3C camera interface driver. 2 3 Original code is from Samsung's BSP and was written for 2.6.21. 4 5 Only tested on S3C6410. 6 7 Signed-off-by: Werner Almesberger <werner@openmoko.org> 8 9 --- 10 1 11 Index: cam/arch/arm/plat-s3c/dev-camif.c 2 12 =================================================================== -
developers/werner/gta03/cam/patches/add-samsung-cams-i2c.patch
r4938 r4948 1 Add I2C IDs for Samsung S5K series cameras. 2 3 This code is directly from Samsung's BSP. 4 5 Signed-off-by: Werner Almesberger <werner@openmoko.org> 6 7 --- 8 1 9 Index: cam/include/linux/i2c-id.h 2 10 =================================================================== -
developers/werner/gta03/cam/patches/fix-s3c64xx_setrate_clksrc.patch
r4942 r4948 11 11 Index: cam/arch/arm/plat-s3c64xx/s3c6400-clock.c 12 12 =================================================================== 13 --- cam.orig/arch/arm/plat-s3c64xx/s3c6400-clock.c 2009-0 2-27 18:55:24.000000000 +080014 +++ cam/arch/arm/plat-s3c64xx/s3c6400-clock.c 2009-0 2-27 18:56:07.000000000 +080015 @@ - 239,10 +239,12 @@13 --- cam.orig/arch/arm/plat-s3c64xx/s3c6400-clock.c 2009-03-04 19:24:46.000000000 +0800 14 +++ cam/arch/arm/plat-s3c64xx/s3c6400-clock.c 2009-03-04 19:24:49.000000000 +0800 15 @@ -314,10 +314,12 @@ 16 16 17 17 rate = clk_round_rate(clk, rate); -
developers/werner/gta03/cam/patches/mach-om3d7k-add-cam.patch
r4945 r4948 1 Add camera interface driver to 3D7K machine. 2 3 Signed-off-by: Werner Almesberger <werner@openmoko.org> 4 5 --- 6 1 7 Index: cam/arch/arm/mach-s3c6410/mach-om-3d7k.c 2 8 =================================================================== 3 --- cam.orig/arch/arm/mach-s3c6410/mach-om-3d7k.c 2009-03-0 3 16:51:22.000000000 +08004 +++ cam/arch/arm/mach-s3c6410/mach-om-3d7k.c 2009-03-0 3 19:13:13.000000000 +08009 --- cam.orig/arch/arm/mach-s3c6410/mach-om-3d7k.c 2009-03-04 19:36:12.000000000 +0800 10 +++ cam/arch/arm/mach-s3c6410/mach-om-3d7k.c 2009-03-04 20:12:50.000000000 +0800 5 11 @@ -84,6 +84,8 @@ 6 12 #include <plat/regs-usb-hs-otg.h> 7 13 8 14 extern struct platform_device s3c_device_usbgadget; 9 +extern struct platform_device s3c_device_camif; /* @@@ ch gange plat/devs.h */15 +extern struct platform_device s3c_device_camif; /* @@@ change plat/devs.h */ 10 16 + 11 17 12 18 /* ------------------------------------------------------------------------------- 13 19 * OM_3D7K FIQ related 14 @@ -879,6 +881,9 @@ 15 .platform_data = &om_3d7k_lp5521_pdata, 16 }, 17 { 18 + I2C_BOARD_INFO("s5k4xa", 0x2d), 19 + }, 20 + { 21 I2C_BOARD_INFO("wm8753", 0x1a), 22 }, 23 }; 24 @@ -896,6 +901,7 @@ 20 @@ -962,6 +964,7 @@ 25 21 &om_3d7k_device_spi_lcm, 26 22 &s3c_device_usbgadget, … … 30 26 31 27 32 @@ -953,6 +959,10 @@33 pcf50633_reg_write(pcf, PCF50633_REG_LEDENA, 0x01);34 pcf50633_reg_write(pcf, PCF50633_REG_LEDOUT, 0x3f);35 36 + /* @@@ do this properly later - WA */37 + pcf50633_reg_write(om_3d7k_pcf, 0x30, 0x21);38 + pcf50633_reg_write(om_3d7k_pcf, 0x39, 0x13);39 + pcf50633_reg_write(om_3d7k_pcf, 0x3a, 0x21);40 }41 42 static void om_3d7k_l1k002_pwronoff(int level)43 28 Index: cam/arch/arm/mach-s3c6410/Kconfig 44 29 =================================================================== 45 --- cam.orig/arch/arm/mach-s3c6410/Kconfig 2009-03-0 3 16:51:22.000000000 +080046 +++ cam/arch/arm/mach-s3c6410/Kconfig 2009-03-0 3 19:12:24.000000000 +080030 --- cam.orig/arch/arm/mach-s3c6410/Kconfig 2009-03-04 19:36:12.000000000 +0800 31 +++ cam/arch/arm/mach-s3c6410/Kconfig 2009-03-04 20:12:50.000000000 +0800 47 32 @@ -70,6 +70,7 @@ 48 33 select S3C6410_SETUP_SDHCI -
developers/werner/gta03/cam/patches/series
r4945 r4948 2 2 add-64xx-hclk2.patch 3 3 add-64xx-cam-clock.patch 4 add-s3c-camif-regs.patch 5 add-s3c-camif.patch 4 #add-s3c-camif-regs.patch 5 add-s3c-camif-original.patch 6 fix-s3c-camif.patch 6 7 add-s3c-cam-platform.patch 7 8 add-samsung-cams-i2c.patch 8 add-s5k4.patch 9 add-s5k4-original.patch 10 fix-s5k4.patch 9 11 add-s3c-cam-config.patch 10 12 mach-om3d7k-add-cam.patch 11 13 # defconfig 12 14 update-om3d7k-defconfig.patch 15 hacks.patch -
developers/werner/gta03/cam/patches/update-om3d7k-defconfig.patch
r4945 r4948 1 Enable V4L and camera driver in 3D7K default configuration. 2 3 Signed-off-by: Werner Almesberger <werner@openmoko.org> 4 5 --- 6 1 7 Index: cam/arch/arm/configs/om_3d7k_defconfig 2 8 ===================================================================
Note: See TracChangeset
for help on using the changeset viewer.
