Skip to content

Playing with IMX662 v2#7315

Draft
6by9 wants to merge 6 commits intoraspberrypi:rpi-6.18.yfrom
6by9:rpi-6.18.y-imx662-mainline-clean
Draft

Playing with IMX662 v2#7315
6by9 wants to merge 6 commits intoraspberrypi:rpi-6.18.yfrom
6by9:rpi-6.18.y-imx662-mainline-clean

Conversation

@6by9
Copy link
Copy Markdown
Contributor

@6by9 6by9 commented Apr 14, 2026

Alexander had posted a driver to linux-media, so I've been working with him to add in the functionality we want.

Supercedes #7239

shcgit and others added 2 commits April 14, 2026 15:18
Add device tree binding documentation for the Sony IMX662 CMOS image
sensor. The sensor features a native pixel array of 1936x1100
(effective 1920x1080) and supports MIPI CSI-2 output with 2 or 4 data
lanes, RAW10/RAW12 formats, and both colour and monochrome variants.
The link-frequencies property accepts up to eight values corresponding
to the allowed MIPI data rates.

Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
@6by9 6by9 mentioned this pull request Apr 14, 2026
@6by9 6by9 force-pushed the rpi-6.18.y-imx662-mainline-clean branch from 54cf945 to a663c7b Compare April 14, 2026 17:20
6by9 and others added 4 commits April 14, 2026 18:22
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
This patch adds a V4L2 subdevice driver for the Sony IMX662 CMOS image
sensor. The sensor has a native resolution of 1936x1100 (effective
1920x1080) and can achieve up to 90 frames per second depending on
the configuration. The driver supports:
- MIPI CSI-2 with 2 or 4 data lanes.
- RAW10 and RAW12 formats (both colour and monochrome).
- Controls: exposure, analogue gain, horizontal/vertical blanking,
  horizontal/vertical flip, brightness.
- Runtime PM.
- Cropping via the selection API.
- Multiple link frequencies selectable via device tree.

Tested on ARM64 Rockchip RK3568 platform with a 24 MHz external clock
and various link frequencies.

Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
@6by9 6by9 force-pushed the rpi-6.18.y-imx662-mainline-clean branch from a663c7b to 7957a80 Compare April 14, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants