mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v4 00/12] media: microchip-isc: fixes and enhancements
@ 2026-05-18 11:29 Balakrishnan Sambath
  2026-05-18 11:29 ` [PATCH v4 01/12] media: microchip-isc: fix SBGGR10 Bayer pattern Balakrishnan Sambath
                   ` (11 more replies)
  0 siblings, 12 replies; 15+ messages in thread
From: Balakrishnan Sambath @ 2026-05-18 11:29 UTC (permalink / raw)
  To: Eugen Hristev, Mauro Carvalho Chehab, Hans Verkuil
  Cc: linux-media, linux-kernel, Laurent Pinchart, Kieran Bingham,
	Balakrishnan Sambath, Sakari Ailus, stable,
	Balamanikandan Gunasundar

Bug fixes and feature additions for the Microchip ISC/XISC driver.

Fixes:
 - SBGGR10 Bayer pattern was mapped incorrectly (red/blue swap)
 - WB register fields corrupted by sign extension
 - Race between histogram IRQ and stream stop
 - PM runtime reference leak in AWB work handler

Features:
 - Driver documentation
 - Gamma 1.8/2.4 preset curves
 - Hue/saturation controls for SAMA7G5
 - Grey World AWB with EMA smoothing

Split from v1 per review. Histogram statistics support is being sent
as a separate follow-up series.

Tested on SAMA7G5-EK with IMX219 (RAW10 Bayer capture, AWB, controls
verified across 8 formats and 5 resolutions up to 3264x2464).

Based on v6.19 (e9ec05addd1a).

v1: https://lore.kernel.org/linux-media/20251009155251.102472-1-balamanikandan.gunasundar@microchip.com/
v2: https://lore.kernel.org/linux-media/20260512154339.210444-1-balakrishnan.s@microchip.com/
v3: https://lore.kernel.org/linux-media/20260513071742.97263-1-balakrishnan.s@microchip.com/

v4:
 - Drop gamma LUT controls and CC matrix V4L2 controls patches (move
   to parameter buffer follow-up per Sakari's review)
 - Drop AWB enable pipeline reset patch (cleanup for the dropped
   controls, will return with the follow-up series)
 - Update documentation patch to remove references to dropped controls
 - Rebase on v6.19

v3:
 - Fix bisect failures (regmap declaration, gamma LUT macro ordering)
 - Fix Fixes: tag (use mainline commit, not staging)
 - Add Co-developed-by trailers for Balamanikandan Gunasundar

v2:
 - Split series (histogram stats moved to a separate follow-up series)
 - Reorder: bug fixes first, then features
 - Commit message cleanups
 - Rebase on v6.19-rc8

Signed-off-by: Balakrishnan Sambath <balakrishnan.s@microchip.com>
---
Balakrishnan Sambath (12):
      media: microchip-isc: fix SBGGR10 Bayer pattern
      media: microchip-isc: mask WB offset and gain register fields
      media: microchip-isc: fix race condition on stream stop
      media: microchip-isc: fix PM runtime leak in AWB work handler
      media: microchip-isc: add driver documentation
      media: microchip-isc: set SAM9X7 maximum resolution to 2560x1920
      media: microchip-isc: configure DPC and pipeline for SAMA7G5
      media: microchip-isc: add gamma 1.8 and 2.4 correction curves
      media: microchip-isc: add SAMA7G5 hue and saturation controls
      media: microchip-isc: use weighted averages for Grey World AWB
      media: microchip-isc: smooth AWB gains with EMA filter
      media: microchip-isc: scale DPC black level to sensor bit depth

 .../userspace-api/media/drivers/index.rst          |   1 +
 .../userspace-api/media/drivers/microchip-isc.rst  |  66 +++++
 MAINTAINERS                                        |   1 +
 .../media/platform/microchip/microchip-isc-base.c  | 320 ++++++++++++++++-----
 .../media/platform/microchip/microchip-isc-regs.h  |  11 +-
 drivers/media/platform/microchip/microchip-isc.h   |   8 +-
 .../platform/microchip/microchip-sama5d2-isc.c     |   2 +-
 .../platform/microchip/microchip-sama7g5-isc.c     | 100 +++++--
 8 files changed, 413 insertions(+), 96 deletions(-)
---
base-commit: 05f7e89ab9731565d8a62e3b5d1ec206485eeb0b
change-id: 20260518-balki-isc-series1-v4-1eeaa50a9f84

Best regards,
-- 
Balakrishnan Sambath <balakrishnan.s@microchip.com>


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

end of thread, other threads:[~2026-05-22  6:14 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-18 11:29 [PATCH v4 00/12] media: microchip-isc: fixes and enhancements Balakrishnan Sambath
2026-05-18 11:29 ` [PATCH v4 01/12] media: microchip-isc: fix SBGGR10 Bayer pattern Balakrishnan Sambath
2026-05-22  6:14   ` Eugen Hristev
2026-05-18 11:29 ` [PATCH v4 02/12] media: microchip-isc: mask WB offset and gain register fields Balakrishnan Sambath
2026-05-18 11:29 ` [PATCH v4 03/12] media: microchip-isc: fix race condition on stream stop Balakrishnan Sambath
2026-05-18 11:29 ` [PATCH v4 04/12] media: microchip-isc: fix PM runtime leak in AWB work handler Balakrishnan Sambath
2026-05-22  6:13   ` Eugen Hristev
2026-05-18 11:29 ` [PATCH v4 05/12] media: microchip-isc: add driver documentation Balakrishnan Sambath
2026-05-18 11:29 ` [PATCH v4 06/12] media: microchip-isc: set SAM9X7 maximum resolution to 2560x1920 Balakrishnan Sambath
2026-05-18 11:29 ` [PATCH v4 07/12] media: microchip-isc: configure DPC and pipeline for SAMA7G5 Balakrishnan Sambath
2026-05-18 11:29 ` [PATCH v4 08/12] media: microchip-isc: add gamma 1.8 and 2.4 correction curves Balakrishnan Sambath
2026-05-18 11:29 ` [PATCH v4 09/12] media: microchip-isc: add SAMA7G5 hue and saturation controls Balakrishnan Sambath
2026-05-18 11:29 ` [PATCH v4 10/12] media: microchip-isc: use weighted averages for Grey World AWB Balakrishnan Sambath
2026-05-18 11:29 ` [PATCH v4 11/12] media: microchip-isc: smooth AWB gains with EMA filter Balakrishnan Sambath
2026-05-18 11:29 ` [PATCH v4 12/12] media: microchip-isc: scale DPC black level to sensor bit depth Balakrishnan Sambath

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®