All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] media: v4l2-cci/ov9282: support single-read I2C transactions
@ 2026-07-21 13:25 Richard Leitner
  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
  0 siblings, 2 replies; 14+ messages in thread
From: Richard Leitner @ 2026-07-21 13:25 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Sakari Ailus, Dave Stevenson
  Cc: Laurent Pinchart, Hans de Goede, linux-media, linux-kernel,
	Richard Leitner

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>



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

end of thread, other threads:[~2026-07-22  8:00 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-21 13:25 [PATCH 0/2] media: v4l2-cci/ov9282: support single-read I2C transactions Richard Leitner
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-22  8:00         ` Alexander Stein
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.