mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Robert Ijtsma via B4 Relay <devnull+robertijtsma.gmail.com@kernel.org>
To: Sakari Ailus <sakari.ailus@linux.intel.com>,
	 Mauro Carvalho Chehab <mchehab@kernel.org>,
	 Jacopo Mondi <jacopo@jmondi.org>,
	Todor Tomov <todor.too@gmail.com>
Cc: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>,
	 linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
	 Robert Ijtsma <robertijtsma@gmail.com>
Subject: [PATCH 0/4] media: i2c: ov7251: runtime PM, non-continuous MIPI clock, and strobe OE
Date: Fri, 27 Nov 2026 21:30:12 +0100	[thread overview]
Message-ID: <20261127-ov7251-strobe-ncont-v1-0-cefa8c6c020b@gmail.com> (raw)

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>



             reply	other threads:[~2026-11-27 20:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 20:30 Robert Ijtsma via B4 Relay [this message]
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

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=20261127-ov7251-strobe-ncont-v1-0-cefa8c6c020b@gmail.com \
    --to=devnull+robertijtsma.gmail.com@kernel.org \
    --cc=jacopo@jmondi.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab+samsung@kernel.org \
    --cc=mchehab@kernel.org \
    --cc=robertijtsma@gmail.com \
    --cc=sakari.ailus@linux.intel.com \
    --cc=todor.too@gmail.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

all inboxes | Powered by JetHome®