mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] media: i2c: ov7251: runtime PM, non-continuous MIPI clock, and strobe OE
@ 2026-11-27 20:30 Robert Ijtsma via B4 Relay
  2026-11-27 20:30 ` [PATCH 1/4] media: i2c: ov7251: wait for software reset settle in power-on Robert Ijtsma via B4 Relay
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Robert Ijtsma via B4 Relay @ 2026-11-27 20:30 UTC (permalink / raw)
  To: Sakari Ailus, Mauro Carvalho Chehab, Jacopo Mondi, Todor Tomov
  Cc: Mauro Carvalho Chehab, linux-media, linux-kernel, Robert Ijtsma

This series adds four cleanups and hardware enablement features to the
OmniVision OV7251 sensor driver needed for reliable operation on
Qualcomm SC8180X / Microsoft Surface Pro X:

1. Wait 5-10 ms after global initialization (software reset 0x0103)
   in ov7251_set_power_on().
2. Use pm_runtime_mark_last_busy() and pm_runtime_put_autosuspend()
   in ov7251_s_ctrl() and ov7251_s_stream() to match the autosuspend
   configuration in probe.
3. Support V4L2_MBUS_CSI2_NONCONTINUOUS_CLOCK by setting
   CLOCK_LANE_GATE (BIT(5)) in OV7251_MIPI_CTRL00 (0x4800).
4. Expose V4L2_CID_FLASH_STROBE_OE to control the sensor's hardware
   STROBE output pin for synchronized IR illumination.

Signed-off-by: Robert Ijtsma <robertijtsma@gmail.com>
---
Robert Ijtsma (4):
      media: i2c: ov7251: wait for software reset settle in power-on
      media: i2c: ov7251: use pm_runtime_put_autosuspend()
      media: i2c: ov7251: support non-continuous MIPI clock mode
      media: i2c: ov7251: add V4L2_CID_FLASH_STROBE_OE control

 drivers/media/i2c/ov7251.c | 79 +++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 74 insertions(+), 5 deletions(-)
---
base-commit: 10c156a0a06c0a255cbd13cabad649fd8d604b47
change-id: 20261127-ov7251-strobe-ncont-188241b553be

Best regards,
-- 
Robert Ijtsma <robertijtsma@gmail.com>



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

end of thread, other threads:[~2026-11-27 22:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27 20:30 [PATCH 0/4] media: i2c: ov7251: runtime PM, non-continuous MIPI clock, and strobe OE Robert Ijtsma via B4 Relay
2026-11-27 20:30 ` [PATCH 1/4] media: i2c: ov7251: wait for software reset settle in power-on Robert Ijtsma via B4 Relay
2026-11-27 20:30 ` [PATCH 2/4] media: i2c: ov7251: use pm_runtime_put_autosuspend() Robert Ijtsma via B4 Relay
2026-11-27 20:30 ` [PATCH 3/4] media: i2c: ov7251: support non-continuous MIPI clock mode Robert Ijtsma via B4 Relay
2026-11-27 20:30 ` [PATCH 4/4] media: i2c: ov7251: add V4L2_CID_FLASH_STROBE_OE control Robert Ijtsma via B4 Relay
2026-11-27 21:16 ` [PATCH 0/4] media: i2c: ov7251: runtime PM, non-continuous MIPI clock, and strobe OE Antoine Pichot
2026-11-27 21:55   ` Robert IJtsma
2026-11-27 22:45     ` Antoine Pichot

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

all inboxes | Powered by JetHome®