From: Hans Verkuil <>

The v4l2_bt_timings struct is missing information about the picture aspect
ratio and the CEA-861 and HDMI VIC (Video Identification Code).

This patch series adds support for this.

Changes since v1:

- Split the first patch into a cleanup patch and a patch adding the
  actual new flags.
- Document the new flags.
- Add the v4l2_dv_timings_cea861_aspect_ratio function (this patch is
  not yet intended for upstreaming since no driver calls it).



Hans Verkuil (8):
  videodev2.h: checkpatch cleanup
  videodev2.h: add VICs and picture aspect ratio
  vidioc-g-dv-timings.rst: document the new dv_timings flags
  v4l2-dv-timings: add VICs and picture aspect ratio
  v4l2-dv-timings: add helpers to find vic and pixelaspect ratio
  cobalt: add cropcap support
  adv7604: add vic detect
  v4l2-dv-timings: add v4l2_dv_timings_cea861_aspect_ratio

 .../media/uapi/v4l/vidioc-g-dv-timings.rst         | 23 +++++
 Documentation/media/videodev2.h.rst.exceptions     |  3 +
 drivers/media/i2c/adv7604.c                        | 18 +++-
 drivers/media/pci/cobalt/cobalt-v4l2.c             | 21 +++++
 drivers/media/v4l2-core/Kconfig                    |  1 +
 drivers/media/v4l2-core/v4l2-dv-timings.c          | 76 ++++++++++++++++-
 include/media/v4l2-dv-timings.h                    | 26 ++++++
 include/uapi/linux/v4l2-dv-timings.h               | 97 ++++++++++++++--------
 include/uapi/linux/videodev2.h                     | 75 ++++++++++++-----
 9 files changed, 281 insertions(+), 59 deletions(-)


To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to
More majordomo info at

Reply via email to