From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mailout3.w1.samsung.com ([210.118.77.13]:55454 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752640Ab1BHJaj (ORCPT ); Tue, 8 Feb 2011 04:30:39 -0500 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: TEXT/PLAIN Date: Tue, 08 Feb 2011 10:30:25 +0100 From: Tomasz Stanislawski Subject: [PATCH 3/5] v4l: add macro for 1080p59_54 preset In-reply-to: <1297157427-14560-1-git-send-email-t.stanislaws@samsung.com> To: linux-media@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: m.szyprowski@samsung.com, t.stanislaws@samsung.com, kyungmin.park@samsung.com Message-id: <1297157427-14560-4-git-send-email-t.stanislaws@samsung.com> References: <1297157427-14560-1-git-send-email-t.stanislaws@samsung.com> List-ID: Sender: The 1080p59_94 is supported in latest Samusng SoC. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/media/video/v4l2-common.c | 1 + include/linux/videodev2.h | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/v4l2-common.c b/drivers/media/video/v4l2-common.c index 810eef4..96742d1 100644 --- a/drivers/media/video/v4l2-common.c +++ b/drivers/media/video/v4l2-common.c @@ -646,6 +646,7 @@ int v4l_fill_dv_preset_info(u32 preset, struct v4l2_dv_enum_preset *info) { 1920, 1080, "1080p@30" }, /* V4L2_DV_1080P30 */ { 1920, 1080, "1080p@50" }, /* V4L2_DV_1080P50 */ { 1920, 1080, "1080p@60" }, /* V4L2_DV_1080P60 */ + { 1920, 1080, "1080p@59.94" }, /* V4L2_DV_1080P59_94 */ }; if (info == NULL || preset >= ARRAY_SIZE(dv_presets)) diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index 5122b26..5a8f0ba 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h @@ -862,6 +862,7 @@ struct v4l2_dv_enum_preset { #define V4L2_DV_1080P30 16 /* SMPTE 296M */ #define V4L2_DV_1080P50 17 /* BT.1120 */ #define V4L2_DV_1080P60 18 /* BT.1120 */ +#define V4L2_DV_1080P59_94 19 /* * D V B T T I M I N G S -- 1.7.3.5