diff options
Diffstat (limited to 'extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0038-omap3beagle-camera-Fix-parallel-i-f-settings.patch')
-rw-r--r-- | extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0038-omap3beagle-camera-Fix-parallel-i-f-settings.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0038-omap3beagle-camera-Fix-parallel-i-f-settings.patch b/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0038-omap3beagle-camera-Fix-parallel-i-f-settings.patch new file mode 100644 index 00000000..a9589719 --- /dev/null +++ b/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0038-omap3beagle-camera-Fix-parallel-i-f-settings.patch | |||
@@ -0,0 +1,43 @@ | |||
1 | From cd05a2c5c623cc497f0d56b35b29d28a9206a3bd Mon Sep 17 00:00:00 2001 | ||
2 | From: Sergio Aguirre <saaguirre@ti.com> | ||
3 | Date: Mon, 12 Jul 2010 14:11:44 -0500 | ||
4 | Subject: [PATCH 38/75] omap3beagle: camera: Fix parallel i/f settings | ||
5 | |||
6 | This makes the sensor input be shifted from 13:4 -> 9:0, as | ||
7 | in YUV streaming, the 8 least significant pins are used. | ||
8 | |||
9 | Also, activate the 8 to 16 bit conversion bridge in ISP, in | ||
10 | big endian mode. | ||
11 | |||
12 | This makes the ISP interpret the data correctly now. ;) | ||
13 | |||
14 | Signed-off-by: Sergio Aguirre <saaguirre@ti.com> | ||
15 | --- | ||
16 | arch/arm/mach-omap2/board-omap3beagle-camera.c | 4 ++-- | ||
17 | 1 files changed, 2 insertions(+), 2 deletions(-) | ||
18 | |||
19 | diff --git a/arch/arm/mach-omap2/board-omap3beagle-camera.c b/arch/arm/mach-omap2/board-omap3beagle-camera.c | ||
20 | index 6c06265..0a591a1 100644 | ||
21 | --- a/arch/arm/mach-omap2/board-omap3beagle-camera.c | ||
22 | +++ b/arch/arm/mach-omap2/board-omap3beagle-camera.c | ||
23 | @@ -64,7 +64,7 @@ static struct regulator *beagle_mt9v113_1_8v2; | ||
24 | |||
25 | static struct isp_interface_config mt9v113_if_config = { | ||
26 | .ccdc_par_ser = ISP_PARLL, | ||
27 | - .dataline_shift = 0x0, | ||
28 | + .dataline_shift = 0x2, | ||
29 | .hsvs_syncdetect = ISPCTRL_SYNC_DETECT_VSRISE, | ||
30 | .strobe = 0x0, | ||
31 | .prestrobe = 0x0, | ||
32 | @@ -72,7 +72,7 @@ static struct isp_interface_config mt9v113_if_config = { | ||
33 | .cam_mclk = ISP_MT9V113_MCLK, | ||
34 | .wenlog = ISPCCDC_CFG_WENLOG_AND, | ||
35 | .wait_hs_vs = 2, | ||
36 | - .u.par.par_bridge = 0x1, | ||
37 | + .u.par.par_bridge = 0x3, | ||
38 | .u.par.par_clk_pol = 0x0, | ||
39 | }; | ||
40 | |||
41 | -- | ||
42 | 1.6.6.1 | ||
43 | |||