public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Add flash/strobe support for ov9282
@ 2025-03-03 22:58 Richard Leitner
  2025-03-03 22:58 ` [PATCH 1/3] media: i2c: ov9282: add output enable register definitions Richard Leitner
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Richard Leitner @ 2025-03-03 22:58 UTC (permalink / raw)
  To: Sakari Ailus, Dave Stevenson, Mauro Carvalho Chehab
  Cc: Laurent Pinchart, linux-media, linux-kernel, Richard Leitner

This series adds basic flash/strobe support for ov9282 sensors using
their "hardware strobe output".

Apart from en-/disabling the flash/strobe output, setting a timeout
(duration of activated strobe per frame) is implemented. The calculation
of this timeout is only interpolated from various measurements, as no
documentation was found.

Further flash/strobe-related controls as well as a migration to v4l2-cci
helpers will likely be implemented in future series.

All register addresses/values are based on the OV9281 datasheet v1.53
(january 2019). This series was tested using an ov9281 VisionComponents
camera module.

Signed-off-by: Richard Leitner <richard.leitner@linux.dev>
---
Richard Leitner (3):
      media: i2c: ov9282: add output enable register definitions
      media: i2c: ov9282: add led_mode v4l2 control
      media: i2c: ov9282: add strobe_timeout v4l2 control

 drivers/media/i2c/ov9282.c | 89 ++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 86 insertions(+), 3 deletions(-)
---
base-commit: f41427b3bdee7d9845b13a80c0d03882212f4b20
change-id: 20250303-ov9282-flash-strobe-ac6bd00c9de6
prerequisite-change-id: 20250225-b4-ov9282-gain-ef1cdaba5bfd:v1
prerequisite-patch-id: 86f2582378ff7095ab65ce4bb25a143eb639e840
prerequisite-patch-id: b06eb6ec697aaf0b3155b4b2370f171d0d304ae2
prerequisite-patch-id: b123047d71bfb9b93f743bbdd6893d5a98495801

Best regards,
-- 
Richard Leitner <richard.leitner@linux.dev>



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

end of thread, other threads:[~2025-03-05  6:49 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-03 22:58 [PATCH 0/3] Add flash/strobe support for ov9282 Richard Leitner
2025-03-03 22:58 ` [PATCH 1/3] media: i2c: ov9282: add output enable register definitions Richard Leitner
2025-03-04 12:15   ` Dave Stevenson
2025-03-03 22:58 ` [PATCH 2/3] media: i2c: ov9282: add led_mode v4l2 control Richard Leitner
2025-03-04 17:27   ` Dave Stevenson
2025-03-05  6:27     ` Richard Leitner
2025-03-03 22:58 ` [PATCH 3/3] media: i2c: ov9282: add strobe_timeout " Richard Leitner
2025-03-04 10:28   ` Dave Stevenson
2025-03-04 17:30     ` Dave Stevenson
2025-03-05  6:36       ` Richard Leitner
2025-03-05  6:29     ` Richard Leitner
2025-03-04 17:46 ` [PATCH 0/3] Add flash/strobe support for ov9282 Dave Stevenson
2025-03-05  6:49   ` Richard Leitner

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