[v3,0/5] libcamera: Add Mira016 support
mbox series

Message ID 20261124-b4-mira016-v3-0-b71d2cf61889@ideasonboard.com
Headers show
Series
  • libcamera: Add Mira016 support
Related show

Message

Jacopo Mondi Nov. 24, 2026, 4:58 p.m. UTC
Add support to the RPi IPA and to libipa for the AMS-OSRAM Mira016
sensor.

Mira016 is a 0.5MPx global shutter mono sensor.

The driver is queued for Linux v7.5 with a few additional patches on
top which change the analogue gain handling to get rid of static tables.
https://lore.kernel.org/linux-media/20261124-mira016-fixes-v1-0-20a7be606268@ideasonboard.com/T/#t

The tuning for the RPi platforms have been performed by the vendor and
is upported from their downstream libcamera tree at:
https://github.com/ams-OSRAM/libcamera.git

Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
---
Changes in v3:
- Re-base on the analogue gain rework in the driver

Changes in v2:
- Use std::array as suggested by Barnabas for gain LUTs
- Adjst gain() function to adjust the gain index to the 0-indexed gain
  table
- Remove spurious static attribute
- s/frame/lines in frameIntegrationDiff comment

---
Jacopo Mondi (4):
      ipa: rpi: vc4: Add Mira016 tuning file
      ipa: rpi: pisp: Add Mira016 tuning file
      libcamera: sensor: Add Mira016 sensor properties
      libipa: camera_sensor_helper: Add Mira016

Philippe Baetens (1):
      ipa: rpi: cam_helper: Add Mira016 cam helper

 src/ipa/libipa/camera_sensor_helper.cpp           |  43 ++
 src/ipa/rpi/cam_helper/cam_helper_mira016.cpp     |  78 ++++
 src/ipa/rpi/cam_helper/meson.build                |   1 +
 src/ipa/rpi/pisp/data/meson.build                 |   1 +
 src/ipa/rpi/pisp/data/mira016_mono.json           | 480 ++++++++++++++++++++++
 src/ipa/rpi/vc4/data/meson.build                  |   1 +
 src/ipa/rpi/vc4/data/mira016_mono.json            | 102 +++++
 src/libcamera/sensor/camera_sensor_properties.cpp |  12 +
 8 files changed, 718 insertions(+)
---
base-commit: f9112fc0c74320832547a1b436204b3d0a4f90fa
change-id: 20261111-b4-mira016-cb349c9f9c56

Best regards,
--  
Jacopo Mondi <jacopo.mondi@ideasonboard.com>