From patchwork Thu Sep 3 22:52:17 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: santiago.nunez@ridgerun.com X-Patchwork-Id: 45449 Received: from comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n83Mrof6020692 for ; Thu, 3 Sep 2009 22:53:50 GMT Received: from dlep33.itg.ti.com ([157.170.170.112]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id n83MqIup022508; Thu, 3 Sep 2009 17:52:23 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by dlep33.itg.ti.com (8.13.7/8.13.7) with ESMTP id n83MqHa8014107; Thu, 3 Sep 2009 17:52:17 -0500 (CDT) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 91B6980627; Thu, 3 Sep 2009 17:52:17 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp52.itg.ti.com (dflp52.itg.ti.com [128.247.22.96]) by linux.omap.com (Postfix) with ESMTP id 8C22180626 for ; Thu, 3 Sep 2009 17:52:15 -0500 (CDT) Received: from white.ext.ti.com (localhost [127.0.0.1]) by dflp52.itg.ti.com (8.13.7/8.13.7) with ESMTP id n83MqFbI018879 for ; Thu, 3 Sep 2009 17:52:15 -0500 (CDT) Received: from mail101-va3-R.bigfish.com (mail-va3.bigfish.com [216.32.180.112]) by white.ext.ti.com (8.13.7/8.13.7) with ESMTP id n83Mq94Z001048 for ; Thu, 3 Sep 2009 17:52:14 -0500 Received: from mail101-va3 (localhost.localdomain [127.0.0.1]) by mail101-va3-R.bigfish.com (Postfix) with ESMTP id 9DF4416803E7 for ; Thu, 3 Sep 2009 22:52:09 +0000 (UTC) X-SpamScore: 7 X-BigFish: vps7(zza4b1ozz1202hzzz2fh63h) X-Spam-TCS-SCL: 2:0 X-FB-SS: 5, X-MS-Exchange-Organization-Antispam-Report: OrigIP: 74.208.67.6; Service: EHS Received: by mail101-va3 (MessageSwitch) id 1252018321353315_16866; Thu, 3 Sep 2009 22:52:01 +0000 (UCT) Received: from mail.navvo.net (mail.navvo.net [74.208.67.6]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail101-va3.bigfish.com (Postfix) with ESMTP id 483DF18D00A2; Thu, 3 Sep 2009 22:51:43 +0000 (UTC) Received: from [200.122.155.113] (helo=localhost.localdomain) by mail.navvo.net with esmtpa (Exim 4.63) (envelope-from ) id 1MjL9X-00032e-Uw; Thu, 03 Sep 2009 17:51:41 -0500 From: santiago.nunez@ridgerun.com To: davinci-linux-open-source@linux.davincidsp.com Date: Thu, 3 Sep 2009 16:52:17 -0600 Message-Id: <1252018337-17373-1-git-send-email-santiago.nunez@ridgerun.com> X-Mailer: git-send-email 1.6.0.4 X-SA-Exim-Connect-IP: 200.122.155.113 X-SA-Exim-Mail-From: santiago.nunez@ridgerun.com X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on mail.navvo.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, NO_REAL_NAME autolearn=ham version=3.1.7-deb X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000) X-SA-Exim-Scanned: Yes (on mail.navvo.net) Cc: clark.becker@ridgerun.com, Santiago Nunez-Corrales , todd.fischer@ridgerun.com Subject: [PATCH 3/6 v4] Support for TVP7002 in VPFE X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.4 Precedence: list List-Id: davinci-linux-open-source.linux.davincidsp.com List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: davinci-linux-open-source-bounces@linux.davincidsp.com Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com From: Santiago Nunez-Corrales This patch adds support for TVP7002 in the DM365 VPFE inteface. Added video modes. Signed-off-by: Santiago Nunez-Corrales --- drivers/media/video/davinci/vpfe_capture.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) 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 #include #include +#include #include #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 */