mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] media: mira016 gain model updates
@ 2026-11-24 16:51 Jacopo Mondi
  2026-11-24 16:51 ` [PATCH 1/2] media: mira016: Update the gain model Jacopo Mondi
  2026-11-24 16:51 ` [PATCH 2/2] media: mira016: Update 8-bit gain init sequences Jacopo Mondi
  0 siblings, 2 replies; 4+ messages in thread
From: Jacopo Mondi @ 2026-11-24 16:51 UTC (permalink / raw)
  To: Philippe Baetens, Mauro Carvalho Chehab, Hans Verkuil, Sakari Ailus
  Cc: linux-media, linux-kernel, Jacopo Mondi

A few updates for the mira016 driver which just got merged in
media-committers/next at the beginning of the v7.5 cycle.

The bulk of the work is the reworking of the gain handling which was
previously modeled using lookup tables and is now calculated. Thanks
Philippe for the investigation and the effort. This makes the libcamera
integration easier as we can drop tables from the camera helpers there
as well.

I would really like this patch to be collected for 7.5 together with the
driver, so that we don't have one release with the previous index-based
analogue gain interface to maintain compatibility with.

Tested in 8 and 10 bits modes, by applying a manual gain and validating
the actual image brightness changes accordingly.

CI pipeline:
https://gitlab.freedesktop.org/linux-media/users/jmondi/-/pipelines/1802703

Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
---
Philippe Baetens (2):
      media: mira016: Update the gain model
      media: mira016: Update 8-bit gain init sequences

 drivers/media/i2c/mira016.c | 147 ++++++++++++++++++++++++--------------------
 1 file changed, 81 insertions(+), 66 deletions(-)
---
base-commit: b7ac871daee981f1963f632586ff9b9d898ce5dd
change-id: 20261123-mira016-fixes-c2619f82c418

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-12-06  5:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-24 16:51 [PATCH 0/2] media: mira016 gain model updates Jacopo Mondi
2026-11-24 16:51 ` [PATCH 1/2] media: mira016: Update the gain model Jacopo Mondi
2026-12-06  5:54   ` Laurent Pinchart
2026-11-24 16:51 ` [PATCH 2/2] media: mira016: Update 8-bit gain init sequences Jacopo Mondi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®