mbox series

[0/2] media: uapi: Add V4L2_CID_VTOTAL control

Message ID 20230609-v4l2-vtotal-v1-0-4b7dee7e073e@skidata.com (mailing list archive)
Headers show
Series media: uapi: Add V4L2_CID_VTOTAL control | expand

Message

Benjamin Bara June 9, 2023, 1:15 p.m. UTC
Hi!

This series adds a new control for the vertical total time.
As camera sensors usually have registers regarding the total time and
not the blanking time, this would simplify driver implementations and
could therefore be seen as a replacement or upgrade for V4L2_CID_VBLANK.
Additionally, its value is independent from format changes and therefore
simplifies calculations in user space.

2/2 implements it for the imx290, basically extending the current
V4L2_CID_VBLANK implementation.

---
Benjamin Bara (2):
      media: uapi: Add V4L2_CID_VTOTAL control
      media: i2c: imx290: Add support for V4L2_CID_VTOTAL

 .../media/v4l/ext-ctrls-image-source.rst           |  6 +++
 drivers/media/i2c/imx290.c                         | 47 ++++++++++++++++------
 drivers/media/v4l2-core/v4l2-ctrls-defs.c          |  1 +
 include/uapi/linux/v4l2-controls.h                 |  1 +
 4 files changed, 43 insertions(+), 12 deletions(-)
---
base-commit: 9561de3a55bed6bdd44a12820ba81ec416e705a7
change-id: 20230609-v4l2-vtotal-eb15d37cafea

Best regards,