Re: [PATCH 0/7] media: i2c: st-vd55g1: Genericize driver and add VD55G0 support
From: Benjamin Mugnier
Date: Fri Sep 04 2026 - 08:17:09 EST
Hi Peter,
Le 02/09/2026 à 22:45, Peter Marshall a écrit :
> This patch series refactors the STMicroelectronics VD55G1 and VD65G4 image
> sensor driver (vd55g1) into a generic VD55G family driver (vd55g) and adds
> support for the VD55G0 monochrome sensor.
>
> The VD55G0 sensor is found in devices such as the Microsoft Surface Pro 9 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 safe.
>
> Tested on a Microsoft Surface Pro 9 (an Intel IPU6 platform with ACPI
> HID "SMO55F0") running libcamera.
I'm sorry I haven't read through your whole serie yet.
First thing first what is the point in refactoring both drivers into the
same one ? I guess it should be addressed in your commit messages. To be
fair it even looks to add complexity because even if the sensors share
some IPs you might have notice they are in fact very different. I could
even argue that the vd56g3 is closer to the vd55g1 than the vd55g0 is.
Plus having your commits merged will also require changes in libcamera.
Otherwise I'm interested in your patches 3 and 4. If I read it correctly
they allow the Microsoft Surface Pro 9 to use the embedded vd55g0 right ?
>
> Peter Marshall (7):
> media: i2c: vd55g: move patch array to a separate firmware header
> dt-bindings: media: i2c: st,vd55g: rename and add VD55G0 variant
> media: ipu-bridge: Add VD55G0 to the list of supported sensors
> platform/x86: int3472: Add VD55G0 supply GPIO mapping
> media: i2c: st-vd55g: Add generic driver and VD55G0 support
> media: i2c: st-vd55g: Remove legacy vd55g1 remnants
> MAINTAINERS: Update ST VD55G camera driver entry
>
> .../i2c/{st,vd55g1.yaml => st,vd55g.yaml} | 30 +-
> MAINTAINERS | 7 +-
> drivers/media/i2c/Kconfig | 11 +
> drivers/media/i2c/Makefile | 2 +-
> drivers/media/i2c/vd55g-fw.h | 305 +++
> drivers/media/i2c/vd55g.c | 2166 +++++++++++++++++
> drivers/media/i2c/vd55g1.c | 2061 ----------------
> drivers/media/pci/intel/ipu-bridge.c | 2 +
> drivers/platform/x86/intel/int3472/discrete.c | 18 +
> 9 files changed, 2531 insertions(+), 2071 deletions(-)
> rename Documentation/devicetree/bindings/media/i2c/{st,vd55g1.yaml => st,vd55g.yaml} (76%)
> create mode 100644 drivers/media/i2c/vd55g-fw.h
> create mode 100644 drivers/media/i2c/vd55g.c
> delete mode 100644 drivers/media/i2c/vd55g1.c
>
--
Regards,
Benjamin