summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-omap-psp-2.6.32/cam/0052-mt9t112-Add-more-info-to-public-header.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-07-21 12:12:55 +0200
committerKoen Kooi <koen@openembedded.org>2010-07-21 12:14:27 +0200
commita26f3713cbc0d76a87ed2fbb57e62515f0636f76 (patch)
tree13ee69d6dee170dfaaf17b3f34781f990eadcd4a /recipes/linux/linux-omap-psp-2.6.32/cam/0052-mt9t112-Add-more-info-to-public-header.patch
parent3b404a60bf9f6c3f6c63e12537cbedf69a12fecb (diff)
linux-omap-psp 2.6.32: add patches to make the VGA and 3MP cameras work on the beagelboard xM
Diffstat (limited to 'recipes/linux/linux-omap-psp-2.6.32/cam/0052-mt9t112-Add-more-info-to-public-header.patch')
-rw-r--r--recipes/linux/linux-omap-psp-2.6.32/cam/0052-mt9t112-Add-more-info-to-public-header.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes/linux/linux-omap-psp-2.6.32/cam/0052-mt9t112-Add-more-info-to-public-header.patch b/recipes/linux/linux-omap-psp-2.6.32/cam/0052-mt9t112-Add-more-info-to-public-header.patch
new file mode 100644
index 0000000000..6956ce64ee
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/cam/0052-mt9t112-Add-more-info-to-public-header.patch
@@ -0,0 +1,29 @@
+From 0c96e072dd20fbf998ec2bfe9d9002994ec595fa Mon Sep 17 00:00:00 2001
+From: Sergio Aguirre <saaguirre@ti.com>
+Date: Thu, 1 Jul 2010 07:33:49 -0500
+Subject: [PATCH 52/71] mt9t112: Add more info to public header
+
+Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
+---
+ include/media/mt9t112.h | 5 +++++
+ 1 files changed, 5 insertions(+), 0 deletions(-)
+
+diff --git a/include/media/mt9t112.h b/include/media/mt9t112.h
+index 62caaf5..49fa042 100644
+--- a/include/media/mt9t112.h
++++ b/include/media/mt9t112.h
+@@ -13,6 +13,11 @@
+
+ #include <media/v4l2-int-device.h>
+
++#define MT9T112_I2C_ADDR (0x78 >> 1)
++
++#define MT9T112_CLK_MAX (54000000) /* 54MHz */
++#define MT9T112_CLK_MIN (6000000) /* 6Mhz */
++
+ #define MT9T112_FLAG_PCLK_RISING_EDGE (1 << 0)
+ #define MT9T112_FLAG_DATAWIDTH_8 (1 << 1) /* default width is 10 */
+
+--
+1.6.6.1
+