[v4,0/4] libcamera: sensor: Add support for Sony IMX585, IMX675, IMX676, IMX832
mbox series

Message ID 20261118-mainline-imx676-v4-0-48ae007f11b4@ideasonboard.com
Headers show
Series
  • libcamera: sensor: Add support for Sony IMX585, IMX675, IMX676, IMX832
Related show

Message

Jai Luthra Nov. 18, 2026, 8:08 a.m. UTC
This series adds support for Sony IMX585, IMX675, IMX676 and IMX832. All
of these are Starvis 2 sensors, with a very similar feature set to other
supported sensors from the same family (IMX678, IMX662).

PATCH 1 simplifies the libipa sensor helper factory mechanism to easily
        match multiple sensor models to a single helper
PATCH 2-3 add basic camera sensor properties, and libipa helpers,
          combining them wherever possible
PATCH 4 adds support for IMX585 and IMX676 in the existing Raspberry Pi
        sensor helper for Starvis 2 sensors.

This series does not yet add sensor tuning files for any platform, but
the camera helpers should at least unblock development using local JSON
files.

This sensor can be supported in mainline linux using the common Starvis
2 driver:
https://lore.kernel.org/all/20261029-media-starvis2-v7-0-b33a1332fdfc@raspberrypi.com/

Signed-off-by: Jai Luthra <jai.luthra@ideasonboard.com>
---
Changes in v4:
- Swap order of [PATCH 2/4] and [PATCH 3/4]
- Implement a separate libipa cam helper with exposureMargin_ = 8 for
  IMX585 and IMX676, now that exposureMargin_ is defined in mainline
- Add Naush and Kieran's R-by tags
- Link to v3: https://patchwork.libcamera.org/project/libcamera/list/?series=6332&state=%2A&archive=both

Changes in v3:
- [PATCH 1/4]: Fix indentation, doxygen warnings, reword commit message
  and add a comment to clarify that we are combining different models
  for convenience only. Carry Kieran's R-by tag.
- [PATCH 2/4]: Don't use the sensor family name for the shared helper,
  instead reuse the existing Imx678 helper. Reword commit message.
- Introduce [PATCH 3/4] to support IMX675 and IMX832 as well
- Link to v2: https://patchwork.libcamera.org/project/libcamera/list/?series=6282&state=%2A&archive=both

Changes in v2:
- Simplify reusing camera sensor helpers for multiple sensor models
- Update the minimum for frameIntegrationDiff to 8, matching the
  datasheet
- Add IMX585 support too while we're at it
- Link to v1: https://patchwork.libcamera.org/project/libcamera/list/?series=6246&state=%2A&archive=both

---
Jai Luthra (4):
      ipa: libipa: camera_sensor_helper: Match multiple sensors per helper
      libcamera: camera_sensor: Add properties and helpers for Sony IMX675 and IMX832
      libcamera: camera_sensor: Add properties and helpers for Sony IMX585 and IMX676
      ipa: rpi: cam-helper: Support IMX585 and IMX676

 src/ipa/libipa/camera_sensor_helper.cpp           | 123 +++++++++++-----------
 src/ipa/libipa/camera_sensor_helper.h             |  12 +--
 src/ipa/rpi/cam_helper/cam_helper_starvis2.cpp    |  14 ++-
 src/libcamera/sensor/camera_sensor_properties.cpp |  40 +++++++
 4 files changed, 121 insertions(+), 68 deletions(-)
---
base-commit: 08c79822a408ea7dbe43320a8d795d2747ea6d33
change-id: 20261014-mainline-imx676-b7e778cf6c0f

Best regards,