Skip to content

media: i2c: Add support for Sony IMX662 sensor

Alexander Shiyan linux-devicetree linux-media 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: media: i2c: Add Sony IMX662 sensorDocumentation/devicetree/bindings/media/i2c/sony,imx662.yaml+112 -02 replies
2/2media: i2c: Add driver for Sony IMX662 sensordrivers/media/i2c/Kconfig drivers/media/i2c/Makefile drivers/media/i2c/imx662.c+1188 -014 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] media: i2c: Add support for Sony IMX662 sensor

This series introduces a V4L2 subdevice driver for the Sony IMX662 CMOS image sensor. The IMX662 is a 1/2.8-inch sensor with a native pixel array of 1936x1100 (effective 1920x1080) and up to 90 frames per second (depending on the operating mode). It supports MIPI CSI-2 output with 2 or 4 data lanes, RAW10/RAW12 formats, and both colour and monochrome variants.

The driver implements all standard controls (exposure, analogue gain, horizontal/vertical blanking, flip, brightness) and runtime PM. It also provides a selection API for cropping and supports multiple link frequencies via device tree.

The driver is designed to be extensible: a V4L2_CID_HDR_SENSOR_MODE control for Clear HDR modes is included, but these modes are not yet operational. Future patches will complete the HDR support (Clear HDR and Clear HDR + DOL2).

The driver has been tested on a ARM64 Rockchip RK3568 platform with a 24 MHz external clock and various link frequencies; image capture works correctly and all controls behave as expected.

Alexander Shiyan (2):
dt-bindings: media: i2c: Add Sony IMX662 sensor
media: i2c: Add driver for Sony IMX662 sensor

 .../bindings/media/i2c/sony,imx662.yaml       |  112 ++
 drivers/media/i2c/Kconfig                     |   11 +
 drivers/media/i2c/Makefile                    |    1 +
 drivers/media/i2c/imx662.c                    | 1176 +++++++++++++++++
 4 files changed, 1300 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/i2c/sony,imx662.yaml
 create mode 100644 drivers/media/i2c/imx662.c
Signature · 1 line
2.52.0