mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Benjamin Mugnier <benjamin.mugnier@foss.st.com>
To: Peter Marshall <pm@petermarshall.ca>,
	Sakari Ailus <sakari.ailus@linux.intel.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Sylvain Petinot <sylvain.petinot@foss.st.com>
Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	linux-media@vger.kernel.org, platform-driver-x86@vger.kernel.org,
	"Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	"Dan Scally" <dan.scally@ideasonboard.com>,
	"Hans de Goede" <hansg@kernel.org>,
	"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Subject: Re: [PATCH v2 00/11] media: i2c: st-vd55g1: Genericize driver and add VD55G0 support
Date: Mon, 21 Sep 2026 11:20:50 +0200	[thread overview]
Message-ID: <0bb08d07-bd06-4adb-851b-6b45d296b328@foss.st.com> (raw)
In-Reply-To: <20260918221705.323510-1-pm@petermarshall.ca>

Hi Peter,

Thank you for your work.

Le 19/09/2026 à 00:16, Peter Marshall a écrit :
> This patch series refactors the STMicroelectronics VD55G1 and VD65G4 image
> sensor driver (vd55g1) to abstract sensor differences and adds support for
> the VD55G0 monochrome sensor.

I read through your patches more closely, and I still think this is not
the best approach. So for the driver refactoring this will be a NAK for
me. I'll gladly take the ACPI parts though.

Sergey is currently working on bringing the vd55g0 downstream driver in
upstream, which I find a better approach. Not sure if you're working
together, if not I recommend getting in touch as it may suit your needs ?

> 
> The VD55G0 is used as the IR face ID sensor in devices such as the
> Microsoft Surface Pro 9, where it is found under ACPI HID `SMO55F0`. It
> features a native resolution of 644 x 604 pixels and differs from later
> variants in the family in several ways:
> 
> * It uses a different native resolution and register addresses mapping,
>   requiring specification of generational feature differences.
> * It lacks support for spatial and temporal HDR.
> * It requires an exposure duty cycle limit to keep the illuminator current
>   within safe levels.
> 
> Tested on a Microsoft Surface Pro 9 (an Intel IPU6 platform with ACPI
> HID "SMO55F0") running kernel 7.2.0 (changes cherry-picked) and libcamera
> 0.7.0. Builds successfully on linux-media next.
> 
> Key changes from the previous series:
> * The vd55g1 module is grown to support the extra hardware instead of
>   replacing it with a completely new driver.
> * The driver now includes a builtin patch array. External firmware loading
>   is no longer required.
> * Lower-level error messages are demoted to the debug level to keep kernel
>   logs clean and actionable.
> * Hardware registers are now fully abstracted, so operational logic never
>   needs to touch a raw CCI address.
> * Changes are broken into logical steps to improve clarity and make
>   bisection possible.
> * Rebased against linux-media next.
> 
> Peter Marshall (11):
>   dt-bindings: media: i2c: st,vd55g1: Move allOf: after required:
>   media: dt-bindings: i2c: vd55g1: Add vd55g0 compatible
>   media: ipu-bridge: Add VD55G0 to the list of supported sensors
>   platform/x86: int3472: Add VD55G0 supply GPIO mapping
>   media: i2c: st-vd55g1: Default to illuminator on GPIO 1
>   media: i2c: st,vd55g1: Handle virtual firmware graph endpoints
>   media: i2c: st-vd55g1: Clean up module error reporting
>   media: i2c: st-vd55g1: Unify frame timing calculations
>   media: i2c: st-vd55g1: Abstract sensor models, revisions, and features
>   media: i2c: st-vd55g1: Use indirect hardware register addressing
>   media: i2c: st-vd55g1: Support VD55G0 global-shutter image sensor
> 
>  .../bindings/media/i2c/st,vd55g1.yaml         |   34 +-
>  MAINTAINERS                                   |    1 +
>  drivers/media/i2c/vd55g1.c                    | 1667 +++++++++++++----
>  drivers/media/pci/intel/ipu-bridge.c          |    2 +
>  drivers/platform/x86/intel/int3472/discrete.c |   18 +
>  5 files changed, 1394 insertions(+), 328 deletions(-)
> 

-- 
Regards,
Benjamin


  parent reply	other threads:[~2026-09-21  9:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-18 22:16 Peter Marshall
2026-09-18 22:16 ` [PATCH 01/11] dt-bindings: media: i2c: st,vd55g1: Move allOf: after required: Peter Marshall
2026-09-19  7:04   ` Krzysztof Kozlowski
2026-09-18 22:16 ` [PATCH 02/11] media: dt-bindings: i2c: vd55g1: Add vd55g0 compatible Peter Marshall
2026-09-19  7:06   ` Krzysztof Kozlowski
2026-09-18 22:16 ` [PATCH 03/11] media: ipu-bridge: Add VD55G0 to the list of supported sensors Peter Marshall
2026-09-18 22:16 ` [PATCH 04/11] platform/x86: int3472: Add VD55G0 supply GPIO mapping Peter Marshall
2026-09-18 22:16 ` [PATCH 05/11] media: i2c: st-vd55g1: Default to illuminator on GPIO 1 Peter Marshall
2026-09-18 22:17 ` [PATCH 06/11] media: i2c: st,vd55g1: Handle virtual firmware graph endpoints Peter Marshall
2026-09-18 22:17 ` [PATCH 07/11] media: i2c: st-vd55g1: Clean up module error reporting Peter Marshall
2026-09-18 22:17 ` [PATCH 08/11] media: i2c: st-vd55g1: Unify frame timing calculations Peter Marshall
2026-09-18 22:17 ` [PATCH 09/11] media: i2c: st-vd55g1: Abstract sensor models, revisions, and features Peter Marshall
2026-09-21  9:20 ` Benjamin Mugnier [this message]
2026-09-21 13:32 [PATCH v2 00/11] media: i2c: st-vd55g1: Genericize driver and add VD55G0 support Sergey Lebedev

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=0bb08d07-bd06-4adb-851b-6b45d296b328@foss.st.com \
    --to=benjamin.mugnier@foss.st.com \
    --cc=conor+dt@kernel.org \
    --cc=dan.scally@ideasonboard.com \
    --cc=devicetree@vger.kernel.org \
    --cc=hansg@kernel.org \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=pm@petermarshall.ca \
    --cc=robh@kernel.org \
    --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®