Skip to content

Ams osram/rpi main/mira220 016 upstream - #371

Open
jmondi wants to merge 3 commits into
raspberrypi:mainfrom
jmondi:ams-osram/rpi-main/mira220-016-upstream
Open

jmondi wants to merge 3 commits into
raspberrypi:mainfrom
jmondi:ams-osram/rpi-main/mira220-016-upstream

Conversation

@jmondi

@jmondi jmondi commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Pull request that complements
raspberrypi/linux#7802

Adds camera helper and tuning file for Mira016.
Mira220 is already supported in libcamera-0.8

Jacopo Mondi added 3 commits November 24, 2026 15:24
AMS-OSRAM Mira016 is a global shutter 0.5Mpixel mono sensor.

Add a cam_helper to the RaspberryPi IPA to support it.

The analogue gain code is the gain in thousandths (1000 is 1x), and the
driver computes the fine gain registers from it, rounding to gain = 57 *
2^n / (ADC_GAIN + 21).

gainCode() returns the gain times 1000, and gain() returns the gain
the driver programs for a code, so the IPA knows the real gain.

Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: philippe baetens <philippebaetens@gmail.com>
Add tuning file for the Mira016 RGB version to the RaspberryPi VC4 IPA.

This patch upports the Mira016 support available at
https://github.com/ams-OSRAM/libcamera.git at revision d7d5e17
("update json files so they are truly mono").

Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Add tuning file for the Mira016 RGB version to the RaspberryPi PiSP IPA.

This patch upports the Mira016 support available at
https://github.com/ams-OSRAM/libcamera.git at revision d7d5e17
("update json files so they are truly mono")

Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
@naushir

naushir commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator

LGTM. Ready to merge this one?

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