mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Antoine Pichot <antoine.pichot@gmail.com>
To: Robert Ijtsma <robertijtsma@gmail.com>
Cc: Sakari Ailus <sakari.ailus@linux.intel.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Mauro Carvalho Chehab <mchehab+samsung@kernel.org>,
	Jacopo Mondi <jacopo@jmondi.org>,
	Todor Tomov <todor.too@gmail.com>,
	linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/4] media: i2c: ov7251: runtime PM, non-continuous MIPI clock, and strobe OE
Date: Sat, 28 Nov 2026 06:16:53 +0900	[thread overview]
Message-ID: <20261127211653.1675314-1-antoine.pichot@gmail.com> (raw)
In-Reply-To: <20261127-ov7251-strobe-ncont-v1-0-cefa8c6c020b@gmail.com>

Hi Robert,

Your patch 4 adds the same control as patch 8 of my ov7251 series, whose
v3 went to this list on 13 Nov:
https://lore.kernel.org/linux-media/20261113024059.1087031-1-antoine.pichot@gmail.com/

Mine drives the same STROBE pin, for the infrared emitter of the
Surface Book 2 and Surface Pro 7 and 7+, and its
V4L2_CID_FLASH_STROBE_OE is off by default too. The main differences:

- The pulse follows the exposure, from 52 to 776 lines as the Windows
  driver clamps it, and never more than 45% of the frame. A fixed
  512-line pulse lights about 60% of each frame at 60 fps and 90% at
  90 fps.
- It lights alternate frames (pattern 0xaa), as Windows Hello does, so
  the dark frames give the ambient light reference.

Could you please try my series on the Surface Pro X? It has only been
tested on Intel camera interfaces (IPU3, IPU4 and IPU6), so a Tested-by
from your Qualcomm SC8180X would show that it does not depend on the
platform. If the Pro X needs every frame lit, I can add a control for
it. Patch 8 depends on patches 5 to 7.

Your patches 2 to 4 conflict with mine, mostly because my patch 5
converts ov7251_s_stream() and the driver's lock to the sub-device
active state, so one of the two series will need a rebase. Your patch
1 applies on top of mine, but my patch 7 moves the common registers
into the global init table, right after the software reset, so your
wait would then come after those writes instead of before them.

Kind regards,
Antoine

  parent reply	other threads:[~2026-11-27 21:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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
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 ` Antoine Pichot [this message]
2026-11-27 21:55   ` [PATCH 0/4] media: i2c: ov7251: runtime PM, non-continuous MIPI clock, and strobe OE 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=20261127211653.1675314-1-antoine.pichot@gmail.com \
    --to=antoine.pichot@gmail.com \
    --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®