public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] media: uapi: Add V4L2_CID_VTOTAL control
@ 2023-06-09 13:15 Benjamin Bara
  2023-06-09 13:15 ` [PATCH 1/2] " Benjamin Bara
  2023-06-09 13:15 ` [PATCH 2/2] media: i2c: imx290: Add support for V4L2_CID_VTOTAL Benjamin Bara
  0 siblings, 2 replies; 8+ messages in thread
From: Benjamin Bara @ 2023-06-09 13:15 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Manivannan Sadhasivam
  Cc: laurent.pinchart, jacopo.mondi, linux-media, linux-kernel,
	Benjamin Bara

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,
-- 
Benjamin Bara <benjamin.bara@skidata.com>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-06-23 23:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-09 13:15 [PATCH 0/2] media: uapi: Add V4L2_CID_VTOTAL control Benjamin Bara
2023-06-09 13:15 ` [PATCH 1/2] " Benjamin Bara
2023-06-09 14:03   ` Dave Stevenson
2023-06-09 13:15 ` [PATCH 2/2] media: i2c: imx290: Add support for V4L2_CID_VTOTAL Benjamin Bara
2023-06-09 14:21   ` Dave Stevenson
2023-06-09 14:56     ` Benjamin Bara
2023-06-09 15:41       ` Dave Stevenson
2023-06-23 23:28         ` Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox