Skip to content

Navigation Menu

Sign in
Sign up

media: i2c: st-vd55g: Genericize driver and add VD55G0 support #169

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
petm5 wants to merge 10 commits into linux-surface:v6.18-surface-devel
base: v6.18-surface-devel
Choose a base branch
Loading
from petm5:v6.18-surface-devel-vd55g0
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10 commits
Select commit Hold shift + click to select a range
eaac701
media: dt-bindings: vd55g1: Add vd65g4 compatible
bemug-st Aug 19, 2025
d909f81
media: i2c: vd55g1: Add support for vd65g4 RGB variant
bemug-st Aug 19, 2025
c731f17
media: i2c: vd55g: move patch array to a separate firmware header
petm5 Aug 1, 2026
14ff18f
dt-bindings: media: i2c: st,vd55g: rename and add VD55G0 variant
petm5 Jul 30, 2026
e531c77
media: ipu-bridge: Add VD55G0 to the list of supported sensors
petm5 Jul 30, 2026
3241234
platform/x86: int3472: Add VD55G0 supply GPIO mapping
petm5 Jul 31, 2026
a59c163
media: i2c: st-vd55g: Add generic driver and VD55G0 support
petm5 Jul 30, 2026
9646481
media: i2c: st-vd55g: Remove legacy vd55g1 remnants
petm5 Jul 30, 2026
0a2285c
MAINTAINERS: Update ST VD55G camera driver entry
petm5 Jul 30, 2026
c34d8d0
media: ipu6: work around stream issues
petm5 Jul 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,21 @@
# Copyright (c) 2025 STMicroelectronics SA.
%YAML 1.2
---
$id: http://devicetree.org/schemas/media/i2c/st,vd55g1.yaml#
$id: http://devicetree.org/schemas/media/i2c/st,vd55g.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: STMicroelectronics VD55G1 Global Shutter Image Sensor
title: STMicroelectronics VD55G Family Global Shutter Image Sensors

maintainers:
- Benjamin Mugnier <benjamin.mugnier@foss.st.com>
- Sylvain Petinot <sylvain.petinot@foss.st.com>
- Peter Marshall <pm@petermarshall.ca>

description: |-
The STMicroelectronics VD55G1 is a global shutter image sensor with an active
array size of 804H x 704V. It is programmable through I2C interface. The I2C
address is fixed to 0x10.
The STMicroelectronics VD55G family (VD55G0, VD55G1, and VD65G4) consists of
global shutter image sensors. The VD55G0 has an array size of 644H x 604V.
The VD55G1 and VD65G4 have an array size of 804H x 704V. They are programmable
through I2C interface. The I2C address is fixed to 0x10.

Image data is sent through MIPI CSI-2, which is configured as only 1 data
lane. The sensor provides 4 GPIOS that can be used for external LED signal
Expand All @@ -23,9 +25,29 @@ description: |-
allOf:
- $ref: /schemas/media/video-interface-devices.yaml#

- if:
properties:
compatible:
contains:
const: st,vd55g0
then:
properties:
port:
properties:
endpoint:
properties:
link-frequencies:
items:
minimum: 375000000

properties:
compatible:
const: st,vd55g1
enum:
- st,vd55g0
- st,vd55g1
- st,vd65g4
description:
VD55G0 and VD55G1 are monochrome variants, while VD65G4 is the color variant.

reg:
maxItems: 1
Expand Down
7 changes: 4 additions & 3 deletions MAINTAINERS
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -24369,13 +24369,14 @@ S: Maintained
F: Documentation/hwmon/stpddc60.rst
F: drivers/hwmon/pmbus/stpddc60.c

ST VD55G1 DRIVER
ST VD55G DRIVER
M: Benjamin Mugnier <benjamin.mugnier@foss.st.com>
M: Sylvain Petinot <sylvain.petinot@foss.st.com>
M: Peter Marshall <pm@petermarshall.ca>
L: linux-media@vger.kernel.org
S: Maintained
F: Documentation/devicetree/bindings/media/i2c/st,vd55g1.yaml
F: drivers/media/i2c/vd55g1.c
F: Documentation/devicetree/bindings/media/i2c/st,vd55g.yaml
F: drivers/media/i2c/vd55g.c

ST VD56G3 IMAGE SENSOR DRIVER
M: Benjamin Mugnier <benjamin.mugnier@foss.st.com>
Expand Down
11 changes: 11 additions & 0 deletions drivers/media/i2c/Kconfig
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -745,6 +745,17 @@ config VIDEO_S5K6A3
This is a V4L2 sensor driver for Samsung S5K6A3 raw
camera sensor.

config VIDEO_VD55G
tristate "ST VD55G family sensor support"
select V4L2_CCI_I2C
depends on GPIOLIB
help
This is a Video4Linux2 sensor driver for the ST VD55G family
of camera sensors.

To compile this driver as a module, choose M here: the
module will be called vd55g.

config VIDEO_VD55G1
tristate "ST VD55G1 sensor support"
select V4L2_CCI_I2C
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/i2c/Makefile
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ obj-$(CONFIG_VIDEO_TW9910) += tw9910.o
obj-$(CONFIG_VIDEO_UDA1342) += uda1342.o
obj-$(CONFIG_VIDEO_UPD64031A) += upd64031a.o
obj-$(CONFIG_VIDEO_UPD64083) += upd64083.o
obj-$(CONFIG_VIDEO_VD55G1) += vd55g1.o
obj-$(CONFIG_VIDEO_VD55G) += vd55g.o
obj-$(CONFIG_VIDEO_VD56G3) += vd56g3.o
obj-$(CONFIG_VIDEO_VGXY61) += vgxy61.o
obj-$(CONFIG_VIDEO_VP27SMPX) += vp27smpx.o
Expand Down
305 changes: 305 additions & 0 deletions drivers/media/i2c/vd55g-fw.h
View file Open in desktop

Large diffs are not rendered by default.

Loading

AltStyle によって変換されたページ (->オリジナル) /