All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v8 00/14] media: i2c: Add Omnivision OV02C10 sensor driver
@ 2025-03-13 18:43 Hans de Goede
  2025-03-13 18:43 ` [PATCH v8 01/14] " Hans de Goede
                   ` (14 more replies)
  0 siblings, 15 replies; 20+ messages in thread
From: Hans de Goede @ 2025-03-13 18:43 UTC (permalink / raw)
  To: Sakari Ailus, Heimir Thor Sverrisson
  Cc: Hans de Goede, Stanislaw Gruszka, Ingvar Hagelund,
	Joachim Reichel, Bryan O'Donoghue, Hao Yao,
	Mauro Carvalho Chehab, linux-media

Hi All,

Here is v8 of the patch to upstream the OV02C10 sensor driver originally
writen by Intel which Heimir has been working on upstreaming.

At Heimir's request I've taken over the upstreaming process. This new
version addresses all the review remarks from Sakari, Bryan and Stanislaw,
thank you all for the reviews.

While working on fixing the review remarks I've also found and fixed /
improved a bunch of other things myself.

All in all there are quite a few changes, therefor I've chosen to send this
as a patch series. I understand this cannot be merged in this form, I'll
squash everything back together for v9. There are 2 reasons for sending
this v8 as a series:

1. I don't have hardware to test. I hope that others can test this soon,
   if things don't work the idea is that people can apply my cleanups
   1 by 1 and then we will know which change has broken things.

2. There are other sensor drivers from Intel at:
   https://github.com/intel/ipu6-drivers/tree/master/drivers/media/i2c/
   which likely need similar changes. Doing this as an incremental series
   is also intended to document all the cleanups which likely need to be
   applied to other Intel drivers too.

Note to reviewers there are some suboptimal things in this series wrt
adding things and then later removing them again, like e.g. the use of
guard(mutex)(&ov02c10->mutex). I did not bother to fix this since this
will all get squashed together in v9 anyways.

If it is easier for reviewing I can also (at request) post a v9 immediately
with everything squashed together. Even then I still believe this
admittedly weird v8 is useful for the reasons given above.

Regards,

Hans


Hans de Goede (13):
  media: ov02c10: merge shared register settings into a shared
    reg_sequence array
  media: ov02c10: Fix hts for 2 lane mode
  media: ov02c10: Fix vts_min for 2 lane mode
  media: ov02c10: link-freq-index and pixel-rate fixes
  media: ov02c10: ov02c10_check_hwcfg() improvements
  media: ov02c10: CCI usage fixes
  media: ov02c10: Make modes lane-count independent
  media: ov02c10: Drop handshake pin support
  media: ov02c10: ov02c10_get_pm_resources() fixes
  media: ov02c10: Switch to {enable,disable}_streams
  media: ov02c10: Drop system suspend and resume handlers
  media: ov02c10: Switch to using the sub-device state lock
  media: ov02c10: Use v4l2_subdev_get_fmt() as
    v4l2_subdev_pad_ops.get_fmt()

Heimir Thor Sverrisson (1):
  media: i2c: Add Omnivision OV02C10 sensor driver

 drivers/media/i2c/Kconfig   |   10 +
 drivers/media/i2c/Makefile  |    1 +
 drivers/media/i2c/ov02c10.c | 1012 +++++++++++++++++++++++++++++++++++
 3 files changed, 1023 insertions(+)
 create mode 100644 drivers/media/i2c/ov02c10.c

-- 
2.48.1


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

end of thread, other threads:[~2025-03-14 10:17 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-13 18:43 [PATCH v8 00/14] media: i2c: Add Omnivision OV02C10 sensor driver Hans de Goede
2025-03-13 18:43 ` [PATCH v8 01/14] " Hans de Goede
2025-03-13 18:43 ` [PATCH v8 02/14] media: ov02c10: merge shared register settings into a shared reg_sequence array Hans de Goede
2025-03-13 18:43 ` [PATCH v8 03/14] media: ov02c10: Fix hts for 2 lane mode Hans de Goede
2025-03-13 18:43 ` [PATCH v8 04/14] media: ov02c10: Fix vts_min " Hans de Goede
2025-03-13 18:43 ` [PATCH v8 05/14] media: ov02c10: link-freq-index and pixel-rate fixes Hans de Goede
2025-03-13 18:43 ` [PATCH v8 06/14] media: ov02c10: ov02c10_check_hwcfg() improvements Hans de Goede
2025-03-13 18:43 ` [PATCH v8 07/14] media: ov02c10: CCI usage fixes Hans de Goede
2025-03-13 18:43 ` [PATCH v8 08/14] media: ov02c10: Make modes lane-count independent Hans de Goede
2025-03-13 18:43 ` [PATCH v8 09/14] media: ov02c10: Drop handshake pin support Hans de Goede
2025-03-13 18:43 ` [PATCH v8 10/14] media: ov02c10: ov02c10_get_pm_resources() fixes Hans de Goede
2025-03-13 18:43 ` [PATCH v8 11/14] media: ov02c10: Switch to {enable,disable}_streams Hans de Goede
2025-03-13 18:43 ` [PATCH v8 12/14] media: ov02c10: Drop system suspend and resume handlers Hans de Goede
2025-03-13 18:43 ` [PATCH v8 13/14] media: ov02c10: Switch to using the sub-device state lock Hans de Goede
2025-03-13 18:43 ` [PATCH v8 14/14] media: ov02c10: Use v4l2_subdev_get_fmt() as v4l2_subdev_pad_ops.get_fmt() Hans de Goede
2025-03-14  8:52 ` [PATCH v8 00/14] media: i2c: Add Omnivision OV02C10 sensor driver Ingvar Hagelund
2025-03-14  8:57   ` Hans de Goede
2025-03-14  9:43   ` Hans de Goede
2025-03-14 10:01     ` Ingvar Hagelund
2025-03-14 10:17       ` Hans de Goede

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.