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>,
	Jacopo Mondi <jacopo@jmondi.org>,
	Todor Tomov <todor.too@gmail.com>,
	Dave Stevenson <dave.stevenson@raspberrypi.com>,
	linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/3] media: i2c: ov7251: use pm_runtime_put_autosuspend()
Date: Sun, 29 Nov 2026 12:08:46 +0900	[thread overview]
Message-ID: <20261129030846.4141522-1-antoine.pichot@gmail.com> (raw)
In-Reply-To: <20261128-ov7251-strobe-ncont-v2-2-9428bbb6347e@gmail.com>

Hi Robert,

Thank you for the v2. Patch 2 works well on my Surface Book 2, on top
of my v3 series with the Intel IPU3 camera interface. I compared a
module built from my v3 with one built from v3 plus your series:

- Power-off: the sensor now powers off 1.25 s after a stream stops
  (the 1 s delay plus the runtime PM core's 25% timer slack). Before,
  it powered off at the stop after a 1.2 s stream, and about 1 s after
  the stop of a 0.2 s one, as the delay counted from power-on. I
  streamed 35 or 5 frames at 30 fps with v4l2-ctl, then read the
  sensor's runtime_status in sysfs every 20 ms until it read
  "suspended", three times for each length.
- Restarts: a stream started within that 1.25 s gives the same strobe
  registers and frame brightness as one started after the power-off,
  at 30 and 60 fps. With the strobe on, I read 0x3005, 0x3b81 and the
  strobe span registers over I2C 1 s into each stream, and compared
  the mean brightness of lit and dark frames over 120 frames.
- Emitter: the strobe output stays enabled (0x3005 = 0x08) while the
  sensor waits in standby, but the emitter goes dark when the stream
  stops. I filmed it with a phone through three 3.1 s streams with the
  strobe on, and no light appeared after any of the stops.

Tested-by: Antoine Pichot <antoine.pichot@gmail.com> # Surface Book 2 (IPU3)

Kind regards,
Antoine

  reply	other threads:[~2026-11-29  3:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-28 20:41 [PATCH v2 0/3] media: i2c: ov7251: software reset settle, autosuspend, and non-continuous clock Robert Ijtsma via B4 Relay
2026-11-28 20:41 ` [PATCH v2 1/3] media: i2c: ov7251: wait for software reset before global init Robert Ijtsma via B4 Relay
2026-11-28 20:41 ` [PATCH v2 2/3] media: i2c: ov7251: use pm_runtime_put_autosuspend() Robert Ijtsma via B4 Relay
2026-11-29  3:08   ` Antoine Pichot [this message]
2026-11-28 20:41 ` [PATCH v2 3/3] media: i2c: ov7251: support non-continuous MIPI clock mode Robert Ijtsma via B4 Relay

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=20261129030846.4141522-1-antoine.pichot@gmail.com \
    --to=antoine.pichot@gmail.com \
    --cc=dave.stevenson@raspberrypi.com \
    --cc=jacopo@jmondi.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.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®