[PATCH v2 0/5] media: i2c: vd55g1: Add vd55g4 support and various fixes

From: Benjamin Mugnier

Date: Mon Jun 29 2026 - 06:59:16 EST


The vd55g4 is the monochrome variant of the vd56g4. This series adds the
necessary code in the driver to probe and stream from the sensor
in the correct format, and a new compatible in device tree bindings.

This series also fixes some issues I encountered while developing.

Signed-off-by: Benjamin Mugnier <benjamin.mugnier@xxxxxxxxxxx>
---
Changes in v2:
- Cc stable on "Fixes" patches
- Check mono code is correct in vd55g1_get_fmt_code()
- Remove VD55G1_MBUS_CODE_IDX_DEF
- Don't initialize vd55g1_color_version members
- Indent vd55g1_get_version() one tab left
- Declare vd55g1_get_version() iterator in for loop
- Reorder commits to put device tree patch before implementation patch
- Link to v1: https://patch.msgid.link/20260428-vd55g4_and_fixes-v1-0-4f745a83b87e@xxxxxxxxxxx

To: Benjamin Mugnier <benjamin.mugnier@xxxxxxxxxxx>
To: Sylvain Petinot <sylvain.petinot@xxxxxxxxxxx>
To: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>
To: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
To: Hans Verkuil <hverkuil+cisco@xxxxxxxxxx>
To: Rob Herring <robh@xxxxxxxxxx>
To: Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx>
To: Conor Dooley <conor+dt@xxxxxxxxxx>
Cc: linux-media@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: devicetree@xxxxxxxxxxxxxxx

---
Benjamin Mugnier (5):
media: i2c: vd55g1: Fix media bus code initialization
media: i2c: vd55g1: Remove spurious pad format update on init_state()
media: i2c: vd55g1: Fix manual digital gain on color variant
media: dt-bindings: vd55g1: Add vd55g4 compatible
media: i2c: vd55g1: Add support for vd55g4

.../devicetree/bindings/media/i2c/st,vd55g1.yaml | 3 +-
drivers/media/i2c/vd55g1.c | 160 ++++++++++++++-------
2 files changed, 111 insertions(+), 52 deletions(-)
---
base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
change-id: 20260428-vd55g4_and_fixes-97dc23b6f266

Best regards,
--
Benjamin Mugnier <benjamin.mugnier@xxxxxxxxxxx>