summaryrefslogtreecommitdiffstats
path: root/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0020-omap3beagle-camera-set-mclk-for-mt9t111.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0020-omap3beagle-camera-set-mclk-for-mt9t111.patch')
-rw-r--r--extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0020-omap3beagle-camera-set-mclk-for-mt9t111.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0020-omap3beagle-camera-set-mclk-for-mt9t111.patch b/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0020-omap3beagle-camera-set-mclk-for-mt9t111.patch
new file mode 100644
index 00000000..97423f94
--- /dev/null
+++ b/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0020-omap3beagle-camera-set-mclk-for-mt9t111.patch
@@ -0,0 +1,36 @@
1From b744cbb89e3dd00a3f12d349ec0be604dffb5776 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Thu, 24 Jun 2010 16:34:13 -0500
4Subject: [PATCH 20/75] omap3beagle: camera: set mclk for mt9t111
5
6Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
7---
8 arch/arm/mach-omap2/board-omap3beagle-camera.c | 5 +++++
9 1 files changed, 5 insertions(+), 0 deletions(-)
10
11diff --git a/arch/arm/mach-omap2/board-omap3beagle-camera.c b/arch/arm/mach-omap2/board-omap3beagle-camera.c
12index 75c8345..529a6be 100644
13--- a/arch/arm/mach-omap2/board-omap3beagle-camera.c
14+++ b/arch/arm/mach-omap2/board-omap3beagle-camera.c
15@@ -49,6 +49,8 @@
16
17 #define CAM_USE_XCLKA 0
18
19+#define ISP_MT9T111_MCLK 216000000
20+
21 static struct regulator *beagle_mt9t111_reg1;
22 static struct regulator *beagle_mt9t111_reg2;
23
24@@ -60,6 +62,9 @@ static struct isp_interface_config mt9t111_if_config = {
25 .strobe = 0x0,
26 .prestrobe = 0x0,
27 .shutter = 0x0,
28+ .cam_mclk = ISP_MT9T111_MCLK,
29+ .wenlog = ISPCCDC_CFG_WENLOG_AND,
30+ .wait_hs_vs = 2,
31 .u.par.par_bridge = 0x1,
32 .u.par.par_clk_pol = 0x0,
33 };
34--
351.6.6.1
36