From: Richard Leitner <richard.leitner@linux.dev>
To: Mauro Carvalho Chehab <mchehab@kernel.org>,
Sakari Ailus <sakari.ailus@linux.intel.com>,
Dave Stevenson <dave.stevenson@raspberrypi.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Hans de Goede <hansg@kernel.org>,
linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
Richard Leitner <richard.leitner@linux.dev>
Subject: [PATCH 0/2] media: v4l2-cci/ov9282: support single-read I2C transactions
Date: Tue, 21 Jul 2026 15:25:27 +0200 [thread overview]
Message-ID: <20260721-cci-single-v1-0-8485171e1393@linux.dev> (raw)
This series adds support for configuring transport-specific CCI regmap
behavior for I2C sensors, which is then used in the OV9282 driver to
force single-register read transactions.
The motivation for this change is that some OV9282 camera modules require
single-read I2C transactions to operate correctly. In particular, OV9282
modules from Vision Components return invalid data on multi-byte reads,
while switching the regmap to single-read transactions fixes the problem.
This series does not change the default behavior of existing CCI users.
Only ov9282 opts into single-read transactions.
Signed-off-by: Richard Leitner <richard.leitner@linux.dev>
---
Richard Leitner (2):
media: v4l2-cci: Add support for custom regmap configuration
media: ov9282: enable single-read I2C transactions
drivers/media/i2c/ov9282.c | 7 ++++++-
drivers/media/v4l2-core/v4l2-cci.c | 23 +++++++++++++++++++----
include/media/v4l2-cci.h | 37 ++++++++++++++++++++++++++++++++++++-
3 files changed, 61 insertions(+), 6 deletions(-)
---
base-commit: 1590cf0329716306e948a8fc29f1d3ee87d3989f
change-id: 20260717-cci-single-29bbb89775c4
Best regards,
--
Richard Leitner <richard.leitner@linux.dev>
next reply other threads:[~2026-07-21 13:25 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-21 13:25 Richard Leitner [this message]
2026-07-21 13:25 ` [PATCH 1/2] media: v4l2-cci: Add support for custom regmap configuration Richard Leitner
2026-07-21 13:25 ` [PATCH 2/2] media: ov9282: enable single-read I2C transactions Richard Leitner
2026-07-21 13:38 ` Alexander Stein
2026-07-21 15:12 ` Laurent Pinchart
2026-07-21 15:15 ` Richard Leitner
2026-07-21 15:32 ` Laurent Pinchart
2026-07-21 15:57 ` Richard Leitner
2026-07-21 13:39 ` Dave Stevenson
2026-07-21 15:16 ` Laurent Pinchart
2026-07-21 15:44 ` Richard Leitner
2026-07-21 15:58 ` Laurent Pinchart
2026-07-21 16:01 ` 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=20260721-cci-single-v1-0-8485171e1393@linux.dev \
--to=richard.leitner@linux.dev \
--cc=dave.stevenson@raspberrypi.com \
--cc=hansg@kernel.org \
--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