[media] vivid: add CVT,GTF standards to vivid dv timings caps
authorPrashant Laddha <prladdha@cisco.com>
Fri, 20 Mar 2015 06:41:45 +0000 (03:41 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 8 Apr 2015 09:31:44 +0000 (06:31 -0300)
commit29103668e9be0aa28e3c893b398cb69978b920ad
treec6d80d9b8e3ea85ae438959b228f7c294afc60d8
parentd3633329e88fb33eecbc9448730e9f3125763313
[media] vivid: add CVT,GTF standards to vivid dv timings caps

Currently vivid supports V4L2_DV_BT_STD_DMT and V4L2_DV_BT_STD_CEA861
discrete video standards. Extending the capability set to allow for
setting CVT and GTF standards. This change, along with adding the
support for calculating CVT, GTF timings in v4l2-ctl would extend
the number of resolutions supported by vivid to almost any custom
resolution.

Also extending the limits on min and max pixel clock to accommodate
pixel clock range provided by cvt/gtf for resolutions ranging from
640x360p50 to 4kx2Kp60.

Signed-off-by: Prashant Laddha <prladdha@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vivid/vivid-vid-common.c