Return-path: Received: from mail-wy0-f174.google.com ([74.125.82.174]:41966 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751240Ab1JIPK0 (ORCPT ); Sun, 9 Oct 2011 11:10:26 -0400 Received: by wyg34 with SMTP id 34so5180373wyg.19 for ; Sun, 09 Oct 2011 08:10:24 -0700 (PDT) From: Javier Martinez Canillas To: Laurent Pinchart Cc: Sakari Ailus , Enrico , Gary Thomas , Adam Pledger , Deepthy Ravi , linux-media@vger.kernel.org, Javier Martinez Canillas Subject: [PATCH v2 1/3] omap3isp: ccdc: Add interlaced field mode to platform data Date: Sun, 9 Oct 2011 17:10:18 +0200 Message-Id: <1318173020-7302-1-git-send-email-martinez.javier@gmail.com> Sender: linux-media-owner@vger.kernel.org List-ID: The fldmode field from the CCDC_SYN_MODE register configure the ISP CCDC between progresive and interlaced mode. Adding this field to the platform data, allows boards to configure accordingly. Signed-off-by: Javier Martinez Canillas --- include/media/omap3isp.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/media/omap3isp.h b/include/media/omap3isp.h index 3b2d2b7..0f215de 100644 --- a/include/media/omap3isp.h +++ b/include/media/omap3isp.h @@ -61,6 +61,8 @@ enum { * 0 - Normal, 1 - One's complement * @bt656: ITU-R BT656 embedded synchronization * 0 - HS/VS sync, 1 - BT656 sync + * @fldmode: Field mode + * 0 - progressive, 1 - Interlaced */ struct isp_parallel_platform_data { unsigned int data_lane_shift:2; @@ -69,6 +71,7 @@ struct isp_parallel_platform_data { unsigned int vs_pol:1; unsigned int data_pol:1; unsigned int bt656:1; + unsigned int fldmode:1; }; enum { -- 1.7.4.1