From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=109.224.244.22 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796092035; b=wPBHpvOW3fsttMlcrAkqave5o9e5rajsOQF0c8bWQa8xKaJ+kqXnvaWptFEkPIc+ydLa Dg5z2Zb2+uz/uFtVqCBbMq+L6mlD4ew73HPOkdN6yMDiU+t2SqhChfd+tNwVurqDU4kdl dX/HaXP01PgbvQUEB0JEhtz/HxZULtHMkjDs82vIN8NGN55vUZAmWvQwCShRMuxVWKa86 rF8YFnPHeOnu4WQD7LfI5jCsV7yUjmuqAQbulIr8WJ3zSnbFnZOapknxxKSKPburJWlte 3npO+/m2SD3UUkRSMXPUUlwrgN0RVXIlxn897i9ZjJbGZq2vyQRKZYeaf0FoeM076yg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796092035; h=DMARC-Filter:Date:To:From:Cc:Subject:Message-ID:In-Reply-To: References:Feedback-ID:X-Pm-Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding; bh=LO4omc2AYYRdr9u3hu+/14jD+XkUWmMldE7LPz2VKdI=; b=vamL99v4dZiEOJ8j0w/CGXDW9dKUpRT2DDLplMw9ABM7vWYkcEfXcs201jwTLhx9QV58 VH8YPOXCXehELqqn04E0HTy2ISh5W4Fz4jtae58X8YEFD52FvGo+VGcZxs2ibiiRWk16B X71qE9Kvti8s3dOO49qeqv1gex046VzOynNN2r7GTq46UH3ltGFI+3uqnEvBrVRnHWG06 /DFWc/JkiPpY/m/w7wvx+KUjOJqsSZDLv6e/Re0SeP0Rfx/WTo31V1v+euCqk5RjvgKxh f0kxZh/FDKGOYxliPX33INmhWaAbC4QExRsGIE4RVTyXryD+KrJW6pytr+oibQHopEw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=loafecho.com; spf=pass smtp.mailfrom=loafecho.com; arc=none smtp.remote-ip=109.224.244.22 Received: from mail-24422.protonmail.ch (mail-24422.protonmail.ch [109.224.244.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3C9EB606A31A for ; Tue, 1 Dec 2026 02:27:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3C9EB606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=loafecho.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=loafecho.com Date: Tue, 01 Dec 2026 02:27:05 +0000 To: Antoine Pichot From: Tony Garcia 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 Message-ID: In-Reply-To: <20261113024059.1087031-1-antoine.pichot@gmail.com> References: <20261113024059.1087031-1-antoine.pichot@gmail.com> Feedback-ID: 118140192:user:proton X-Pm-Message-ID: d267a9403bf042ff94104c6b7a3c1f380800e085 X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=3D103,= val=3D1 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