Re: [PATCH v3 0/9] media: i2c: ov7251: fixes and infrared strobe for Surface Book 2

From: Anthony Garcia

Date: Fri Nov 27 2026 - 13:10:45 EST


Hi Antoine,

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@xxxxxxxxxxxx>