From: Tony Garcia <tony@loafecho.com>
To: Antoine Pichot <antoine.pichot@gmail.com>
Cc: linux-media@vger.kernel.org, sakari.ailus@linux.intel.com,
mchehab@kernel.org, hansg@kernel.org,
andriy.shevchenko@linux.intel.com, dan.scally@ideasonboard.com,
djrscally@gmail.com, dmanresa@gmail.com,
dave.stevenson@raspberrypi.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 0/9] media: i2c: ov7251: fixes and infrared strobe for Surface Book 2
Date: Tue, 01 Dec 2026 02:27:05 +0000 [thread overview]
Message-ID: <listreply-e807c0bae167d0ba7e4b@loafecho.com> (raw)
In-Reply-To: <20261113024059.1087031-1-antoine.pichot@gmail.com>
Hi Antoine,
Resending my Tested-by from 27 Nov in the v3 thread, since the first
one went out as a new thread. Sorry for the noise. Nothing below has
changed.
Tested on a Surface Pro 7 (Ice Lake). Its OV7251 IR camera sits behind
an IPU4P, which I run with ruslanbay's IPU4P-on-IPU6 RFC series on
linux-surface 7.3.0-rc7. I built kernel/backport/ov7251.c from your
surface-ir-camera repo (commit 83b3ca1, so mainline 7.2 plus the
linux-surface gain control rename and patches 1-8) as an out-of-tree
module against that kernel. Patch 9 wasn't tested, I used the installed
ipu-bridge. Capture was 10 runs of 10 frames each at 640x480 30 fps
through libcamera's cam, with the frames saved and their mean pixel
value measured.
As posted it doesn't probe on my kernel:
ov7251 i2c-INT347E:00: supply vdda not found, using dummy regulator
ov7251 i2c-INT347E:00: ov7251_write_reg: write reg error -121: reg=103, val=1
ov7251 i2c-INT347E:00: error during global init
That's the INT3472 supply name mismatch D. Manresa fixed in 59cab094b8b5
("platform/x86: int3472: map the ov7251 power enable GPIO to "vdda""),
which is in v7.4-rc1 but not in my 7.3 tree (linux-surface/kernel PR 199
is an open backport of it to 7.3). Same thing Firas hit on the Pro 7+.
My kernel carries a local workaround instead, an ov7251-side fallback
that asks for "avdd" when "vdda" doesn't exist, so I added that same
fallback to your file for the test. It picks up the same INT3472
regulator that 59cab094b8b5 renames to "vdda", and with it the sensor
probed and streamed. I didn't test 59cab094b8b5 itself or a 7.4 kernel.
I don't see anything in your series that needs to change for this, on a
7.3 base it just needs the INT3472 mapping or an equivalent fallback.
With the fallback applied:
- Probe passed, so the firmware's link frequency is one the driver's
table has. I didn't read back which one was used.
- 10 of 10 stream runs delivered all 10 frames, no kernel errors.
- strobe_output_enable works. Lit frames read 29.0 to 29.1 and the
frames in between 8.1 to 8.2, alternating exactly, and 8.1 with the
control off.
Not tested yet: Howdy end to end on these patches.
The tests were scripted and run on my Surface Pro 7 by an AI coding
assistant (Claude) at my direction, and it drafted this summary.
For patches 1-8 on the Surface Pro 7 (IPU4P), with the local ov7251
"avdd" fallback described above rather than 59cab094b8b5 itself. What I
exercised was probe, 30 fps streaming and the strobe control, not the
pixel rate, 60/90 fps or the rotation controls:
Tested-by: Tony Garcia <tony@loafecho.com>
prev parent reply other threads:[~2026-12-01 2:27 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-13 2:40 [PATCH v3 0/9] media: i2c: ov7251: fixes and infrared strobe for Surface Book 2 Antoine Pichot
2026-11-13 2:40 ` [PATCH v3 1/9] media: i2c: ov7251: Use in-range PLL1 dividers for the 319.2 MHz link Antoine Pichot
2026-11-13 2:40 ` [PATCH v3 2/9] media: i2c: ov7251: Fix link frequency index Antoine Pichot
2026-11-13 2:40 ` [PATCH v3 3/9] media: i2c: ov7251: Report the pixel array rate for both link frequencies Antoine Pichot
2026-11-13 2:40 ` [PATCH v3 4/9] media: i2c: ov7251: Reset vblank when the frame interval changes Antoine Pichot
2026-11-13 2:40 ` [PATCH v3 5/9] media: i2c: ov7251: Use sub-device active state Antoine Pichot
2026-11-13 2:40 ` [PATCH v3 6/9] media: i2c: ov7251: Add orientation and rotation controls Antoine Pichot
2026-11-13 2:40 ` [PATCH v3 7/9] media: i2c: ov7251: Move the common registers into the global init table Antoine Pichot
2026-11-13 2:40 ` [PATCH v3 8/9] media: i2c: ov7251: Add strobe output enable control Antoine Pichot
2026-11-13 2:40 ` [PATCH v3 9/9] media: ipu-bridge: Add a rotation quirk for the Surface Book 2 and Pro 7+ Antoine Pichot
2026-11-15 17:53 ` [PATCH v3 0/9] media: i2c: ov7251: fixes and infrared strobe for Surface Book 2 Firas Sharary
2026-11-15 22:18 ` Antoine Pichot
2026-11-27 18:10 ` Anthony Garcia
2026-11-27 20:03 ` Antoine Pichot
2026-11-30 8:28 ` Sakari Ailus
2026-12-01 2:27 ` Tony Garcia [this message]
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=listreply-e807c0bae167d0ba7e4b@loafecho.com \
--to=tony@loafecho.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=antoine.pichot@gmail.com \
--cc=dan.scally@ideasonboard.com \
--cc=dave.stevenson@raspberrypi.com \
--cc=djrscally@gmail.com \
--cc=dmanresa@gmail.com \
--cc=hansg@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=sakari.ailus@linux.intel.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