diff mbox

[3/6,v4] Support for TVP7002 in VPFE

Message ID 1252018337-17373-1-git-send-email-santiago.nunez@ridgerun.com (mailing list archive)
State Superseded
Headers show

Commit Message

santiago.nunez@ridgerun.com Sept. 3, 2009, 10:52 p.m. UTC
From: Santiago Nunez-Corrales <santiago.nunez@ridgerun.com>

This patch adds support for TVP7002 in the DM365 VPFE inteface.
Added video modes.

Signed-off-by: Santiago Nunez-Corrales <santiago.nunez@ridgerun.com>
---
 drivers/media/video/davinci/vpfe_capture.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/drivers/media/video/davinci/vpfe_capture.c b/drivers/media/video/davinci/vpfe_capture.c
index 2a4a05a..4688c35 100644
--- a/drivers/media/video/davinci/vpfe_capture.c
+++ b/drivers/media/video/davinci/vpfe_capture.c
@@ -71,6 +71,7 @@ 
 #include <linux/version.h>
 #include <media/v4l2-common.h>
 #include <linux/io.h>
+#include <media/davinci/videohd.h>
 #include <media/davinci/vpfe_capture.h>
 #include "ccdc_hw_device.h"
 
@@ -142,6 +143,14 @@  static struct ccdc_config *ccdc_cfg;
 const struct vpfe_standard vpfe_standards[] = {
 	{V4L2_STD_525_60, 720, 480, {11, 10}, 1},
 	{V4L2_STD_625_50, 720, 576, {54, 59}, 1},
+	{V4L2_STD_525P_60, 720, 480, {11, 10}, 0},
+	{V4L2_STD_625P_50, 720, 576, {54, 59}, 0},
+	{V4L2_STD_720P_50, 1280, 720, {1, 1}, 0},
+	{V4L2_STD_720P_60, 1280, 720, {1, 1}, 0},
+	{V4L2_STD_1080I_50, 1920, 1080, {1, 1}, 1},
+	{V4L2_STD_1080I_60, 1920, 1080, {1, 1}, 1},
+	{V4L2_STD_1080P_50, 1920, 1080, {1, 1}, 0},
+	{V4L2_STD_1080P_60, 1920, 1080, {1, 1}, 0},
 };
 
 /* Used when raw Bayer image from ccdc is directly captured to SDRAM */