Currently, detect_cvt/gtf() functions in v4l2-dv-timings do not calculate timings for interlaced format. Besides the set-dv-bt-timings control in vivid, drivers for adv7604 and adv7842 may also need cvt/gtf timings for interlaced format. This patch series is a proposal for adding interlaced support in cvt/gtf timing calculation. Previously, I had submitted a patch for the same. https://patchwork.linuxtv.org/patch/29130/ Hans had reviewed and asked to rework and resubmit the patches as RFC. Patch 1/4 extends the detect_cvt/gtf() API to pass on an interlaced flag (this flag, if true, indicates interlaced format type). This patch adds the timings calculation for interlaced format. Since detect_cvt/gtf() API is changed, all caller functions also modified in the same patch. To begin with, interlaced flag is passed as false. Subsequent patches 2/4 to 4/4, contain changes in caller functions to pass the appropriate values for interlaced flag. Please review this patch series and share your comments, suggestions. Regards, Prashant Prashant Laddha (4): v4l2-dv-timings: Add interlace support in detect cvt/gtf vivid: Use interlaced info for cvt/gtf timing detection adv7604: Use interlaced info for cvt/gtf timing detection adv7842: Use interlaced info for cvt/gtf timing detection drivers/media/i2c/adv7604.c | 4 +-- drivers/media/i2c/adv7842.c | 4 +-- drivers/media/platform/vivid/vivid-vid-cap.c | 5 ++-- drivers/media/v4l2-core/v4l2-dv-timings.c | 39 +++++++++++++++++++++++----- include/media/v4l2-dv-timings.h | 6 +++-- 5 files changed, 44 insertions(+), 14 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html