[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240417133453.17406-1-sylvain.petinot@foss.st.com>
Date: Wed, 17 Apr 2024 15:34:51 +0200
From: Sylvain Petinot <sylvain.petinot@...s.st.com>
To: <benjamin.mugnier@...s.st.com>, <sylvain.petinot@...s.st.com>,
<mchehab@...nel.org>, <robh@...nel.org>,
<krzysztof.kozlowski+dt@...aro.org>, <conor+dt@...nel.org>
CC: <linux-media@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH 0/2] media: Add driver for ST VD56G3 camera sensor
Hello,
This serie adds support for STMicroelectronics VD56G3 camera sensor.
This is a 1.5M pixel global shutter camera available in both Mono
(VD56G3) and colour (VD66GY) variants.
The following features are supported:
- Auto exposure with expo bias or
- Manual exposure with analog / digital gain
- H/V flip
- vblank/hblank/link freq
- Test pattern
- Supported resolutions in both raw8/raw10 :
- 1124x1364
- 1120x1360
- 1024x1280
- 1024x768
- 768x1024
- 720x1280
- 640x480
- 480x640
- 320x240
This driver supports coldstart parameters for internal AE feature.
To make it work, the driver save gain/expo values in ctrl's cur.val
during poweroff phase.
This implementation transgress V4L2 rules... Any advice to make it
proper would be greatly appreciated.
Driver tested on RB5 and RPI (with and without libcamera).
Sylvain Petinot (2):
media: dt-bindings: Add ST VD56G3 camera sensor binding
media: i2c: Add driver for ST VD56G3 camera sensor
.../bindings/media/i2c/st,st-vd56g3.yaml | 143 ++
MAINTAINERS | 9 +
drivers/media/i2c/Kconfig | 11 +
drivers/media/i2c/Makefile | 1 +
drivers/media/i2c/st-vd56g3.c | 1619 +++++++++++++++++
5 files changed, 1783 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/i2c/st,st-vd56g3.yaml
create mode 100644 drivers/media/i2c/st-vd56g3.c
--
2.17.1
Powered by blists - more mailing lists