From: Richard Leitner <richard.leitner@linux.dev>
To: Sakari Ailus <sakari.ailus@linux.intel.com>,
Dave Stevenson <dave.stevenson@raspberrypi.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
Richard Leitner <richard.leitner@linux.dev>
Subject: [PATCH 0/3] Add flash/strobe support for ov9282
Date: Mon, 03 Mar 2025 23:58:56 +0100 [thread overview]
Message-ID: <20250303-ov9282-flash-strobe-v1-0-0fd57a1564ba@linux.dev> (raw)
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>
next reply other threads:[~2025-03-03 22:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-03 22:58 Richard Leitner [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250303-ov9282-flash-strobe-v1-0-0fd57a1564ba@linux.dev \
--to=richard.leitner@linux.dev \
--cc=dave.stevenson@raspberrypi.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=sakari.ailus@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox