mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sergey Lebedev <lsa.uz@pm.me>
To: Fernando Rimoli <fernandorimoli11@gmail.com>
Cc: Sakari Ailus <sakari.ailus@linux.intel.com>,
	Benjamin Mugnier <benjamin.mugnier@foss.st.com>,
	Sylvain Petinot <sylvain.petinot@foss.st.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Dan Scally <dan.scally@ideasonboard.com>,
	Hans de Goede <hansg@kernel.org>,
	Peter Marshall <pm@petermarshall.ca>,
	George Neacsu <geocausa@gmail.com>, Hao Yao <hao.yao@intel.com>,
	linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/4] media: Add the ST VD55G0 global shutter sensor
Date: Sun, 25 Oct 2026 17:38:35 +0000	[thread overview]
Message-ID: <20261025173825.60385-1-lsa.uz@pm.me> (raw)
In-Reply-To: <20261025155158.44392-1-fernandorimoli11@gmail.com>

Hi Fernando,

Thank you for the run, and for the detail.

On 25/10/2026 15:51, Fernando Rimoli wrote:
>  - renamed "dovdd" to "dvdd" in the ACPI supply names, because the
>    6.19-based int3472 here registers this sensor's two GPIO supplies as
>    avdd and dvdd, so dovdd got the dummy regulator.

The Surface Pro 9's ICL2 has the same two power GPIOs as the Surface
Pro 11, types 0x0b and 0x10. Mainline v6.19 has no name for 0x10, so
the dvdd comes from your tree; media next calls it dovdd, and the
driver as posted should find it there. If the int3472 names change, the
driver's ACPI names follow whatever lands.

> Since the driver needs a multiple of the clock it believes it has, a
> separate entry for this IPU (8086:465d) through the per-IPU match in
> ipu-bridge would let it run in specification without changing yours.

I would rather fix the clock. With 19.2 MHz reported as 24, the sensor
runs at four fifths of every rate the driver computes, so an
in-specification link frequency would still leave the controls off by
four fifths, as your 57.20 against 71.49 at 600 MHz shows. On Hao's
thread I have pointed at the Surface Pro 9's _DSM, which looks like it
takes 0 for 24 MHz. If it does, 396 MHz is in specification there too.

> 2. Nothing bounds the exposure while the strobe is on, and the
> illuminator has an overcurrent limit that a long exposure trips.

The same here: on the Surface Pro 11 the illuminator holds up to 68% of
an 1860-line frame, fades at 70-72% and goes out at 72-75%. It fades
rather than cutting off, which points at the board's LED driver rather
than the sensor, so the fraction belongs to the board, like st,leds. The
sensor has the means: MAX_EXPOSURE_LINES (UM2829, 13.8.1) bounds its own
auto exposure as well as manual exposure. I would do that as a
follow-up, with the bound supplied from the same place as st,leds,
rather than grow this series. Benjamin, say if you would rather have it
in the driver now.

> 3. On IPU6 the stream needs a CPU latency bound, or frames come out
> corrupted.

Thank you. I will mention it in the v2 cover letter, so that IPU6
testers do not take it for the sensor.

> I will add a Tested-by for the Surface Pro 9 on v2, if it has an entry
> for it.

It will; see my answer on 4/4.

Sergey


      reply	other threads:[~2026-10-25 17:38 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-19 16:27 Sergey Lebedev
2026-10-19 16:27 ` [PATCH 1/4] dt-bindings: media: i2c: Add ST VD55G0 camera sensor Sergey Lebedev
2026-10-20  8:27   ` Krzysztof Kozlowski
2026-10-20  9:08     ` Sergey Lebedev
2026-10-19 16:27 ` [PATCH 2/4] media: i2c: Add ST VD55G0 global shutter sensor driver Sergey Lebedev
2026-10-19 18:24   ` George Neacsu
2026-10-19 19:34     ` Sergey Lebedev
2026-10-20  6:44       ` George Neacsu
2026-10-20  8:52         ` Sergey Lebedev
2026-10-20 12:25           ` Benjamin Mugnier
2026-10-20 14:26             ` Sergey Lebedev
2026-10-20 18:10               ` George Neacsu
2026-10-20 18:14                 ` Sergey Lebedev
2026-10-21  9:02                   ` Benjamin Mugnier
2026-10-21  9:04                     ` Benjamin Mugnier
2026-10-21  9:06                     ` Sergey Lebedev
2026-10-19 16:28 ` [PATCH 3/4] media: ipu-bridge: Add ST VD55G0 Sergey Lebedev
2026-10-19 16:28 ` [PATCH 4/4] media: ipu-bridge: Add the Surface Pro 11 infrared illuminator Sergey Lebedev
2026-10-25 15:47   ` Fernando Rimoli
2026-10-25 17:23     ` Sergey Lebedev
2026-10-25 15:51 ` [PATCH 0/4] media: Add the ST VD55G0 global shutter sensor Fernando Rimoli
2026-10-25 17:38   ` Sergey Lebedev [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=20261025173825.60385-1-lsa.uz@pm.me \
    --to=lsa.uz@pm.me \
    --cc=benjamin.mugnier@foss.st.com \
    --cc=dan.scally@ideasonboard.com \
    --cc=fernandorimoli11@gmail.com \
    --cc=geocausa@gmail.com \
    --cc=hansg@kernel.org \
    --cc=hao.yao@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=pm@petermarshall.ca \
    --cc=sakari.ailus@linux.intel.com \
    --cc=sylvain.petinot@foss.st.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®