From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=68.232.154.123 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796195771; b=C8iWSfnyjGdPZxOS68iqH4wE8CqiNXOZLsuqxBzqiTsCcDqvpUEmdnpud9piungjXMm9 Z6sIvpmpY/R6LNb67YjaYqRIPkpwsEc4oPGdrCggQlgNYeHKple8XqpedNZMlQla4jGKi SHAz0UOmcHljAwQJJOuJY3QPbPd70dRs5A3LCeJj6UjD+AlkDmVQ8qFNPfVWtFIcnF+Na +npmuL31x3S6NkrNJPNRI3nBhOQWRWARso3ex63z7G86zQnp0yGCKybdTAhJYHMCX2g7z ud7SCURAgelvOh1yK7Z7C1MlL5xDWNxzGbx4ksJ6WH2JHHJdDyqIFUmianuKfzwHuPA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796195771; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-Amp-Result:Received:Received:Received:From:Subject: Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding: X-B4-Tracking:X-Change-ID:To:CC:X-Mailer; bh=fSA4kTijJr96x7a82b2yETsirfrHcsd/5W4UemGbdwk=; b=AuB8+n0cYicZJ6XD/nnKUSI7kKLxXzebwiAhhtGA0w4MkQMcIAF7sfTy7QpZvPIwFpUC 3t9sF0ypyqxli/5WxAvEwYeAZUOi4HIbMEca49uxJ2WJUAg6/587ZanlbZHVj2Iy36GDY XW5s/kUqecW7+nIFeMSAY4oyrXV/eim29hduG+CCm18RxVOle/0XFwH2Guw5n0jCSzijA FPkRBn5K0+K+Lh3P6FeyE75cnTJJbQM775Jh1616lj3ql1nubH1N2LXbnk3irALAJhJr0 fRwm7yJMmXbg0I3C1QE/XW/+XPSXZSHqTRX/Pv0+fcURxQTCGx2KWmN6DHUlWW33fwQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass header.d=microchip.com header.i=@microchip.com header.a=rsa-sha256 header.s=mchp header.b=VLdoncoH; arc=none smtp.remote-ip=68.232.154.123 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3412B606A31A for ; Wed, 2 Dec 2026 07:16:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3412B606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.a=rsa-sha256 header.s=mchp header.b=VLdoncoH DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1796195771; x=1827731771; h=from:subject:date:message-id:mime-version: content-transfer-encoding:to:cc; bh=eATe6cOhNwTgGmulZ+y5iqTN00hsfVDZEiVCeFerb1o=; b=VLdoncoHhDcM0bly/0DJ2iLxBwP7T4I9u3cGYYGL9PlqNVuCLmxubYV2 OVpd7Cmj7mBa8EAQQoHELo4DnX57UW7oDkwiOw1E9aqswr/LZ4OsOJTcr VuqNAPYiNhG/VO1ueRhtIgeXbGL/tMVCAkc/S6NaajKl6DVSdRax2qdMj w/Wce8ply66+jGc5XWB+qMMbynHJucPZqXUhFm+FjltfSgn9zn5P1SNpZ o4DT8Qgn+LJgY0m4D4wJ0EHCD0IQlCiBi0/TKym2U1OoZdkJSH+4L7M5m zn4doQ2Fb2mD5Av+IvZPo00jj2Kq+p0Z9lAspweDg3Txx5CWoTStjgb3V g==; X-CSE-ConnectionGUID: ia7qnKL5Q9a1B4uBNS+/kA== X-CSE-MsgGUID: si1wEWUpS7+esI68aL6Azw== X-IronPort-AV: E=Sophos;i="6.27,246,1787036400"; d="scan'208";a="67550926" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 02 Dec 2026 00:16:10 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.58; Wed, 2 Dec 2026 00:16:09 -0700 Received: from [127.0.0.1] (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.58 via Frontend Transport; Wed, 2 Dec 2026 00:16:08 -0700 From: Balakrishnan Sambath Subject: [PATCH 00/15] media: microchip-isc: fix SAMA7G5 image pipeline and AWB Date: Wed, 2 Dec 2026 12:46:06 +0530 Message-ID: <20261202-isc-series-v1-v1-0-4e2f17c0271c@microchip.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIALbFD2sC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIzNDIKGbWZysC9GjW2aoa5hiZGScaJycYmlprgTUU1CUmpZZATYvOra2FgD I8JJoXwAAAA== X-Change-ID: 20261202-isc-series-v1-1d223a3cd997 To: CC: , Balakrishnan Sambath , Balamanikandan Gunasundar X-Mailer: b4 0.14.3 This series fixes the SAMA7G5 ISC pipeline: DPC black level scale, black level correction, Bayer bypass, gamma curves, CBHS hue and saturation, and the AWB histogram bin index, outlier trim, near-empty channel skip, 64-bit gain product and EMA smoothing. It adds the SAM9X7 compatible and its maximum resolution, and changes the SAMA5D2 and SAMA7G5 contrast range to unsigned 0..4095. Depends on: https://lore.kernel.org/all/20261202-isc-gamma-fix-v1-v1-1-3862e1f60842@microchip.com/ ("media: microchip-isc: fix default gamma row for SAMA7G5") --- Balakrishnan Sambath (15): dt-bindings: media: microchip,xisc: add SAM9X7 compatible media: microchip-isc: set SAM9X7 maximum resolution per SoC media: microchip-isc: fix DPC black level scale media: microchip-isc: enable black level correction on SAMA7G5 media: microchip-isc: bypass SAMA7G5 pipeline for Bayer output media: microchip-isc: add gamma 1.8 and 2.4 curves for SAMA7G5 media: microchip-isc: fix CBHS register names media: microchip-isc: add SAMA7G5 hue and saturation controls media: microchip-isc: fix histogram bin index for AWB media: microchip-isc: trim outliers in the AWB average media: microchip-isc: skip AWB on near-empty channels media: microchip-isc: do the AWB gain product in 64 bits media: microchip-isc: smooth AWB gains with an EMA filter media: microchip-isc: use an unsigned contrast range media: microchip-isc: add driver documentation .../devicetree/bindings/media/microchip,xisc.yaml | 6 +- .../userspace-api/media/drivers/index.rst | 1 + .../userspace-api/media/drivers/microchip-isc.rst | 70 +++++++ MAINTAINERS | 1 + .../media/platform/microchip/microchip-isc-base.c | 206 ++++++++++++++++----- .../media/platform/microchip/microchip-isc-regs.h | 19 +- drivers/media/platform/microchip/microchip-isc.h | 18 +- .../platform/microchip/microchip-sama5d2-isc.c | 4 +- .../platform/microchip/microchip-sama7g5-isc.c | 97 ++++++++-- 9 files changed, 356 insertions(+), 66 deletions(-) --- base-commit: 8751dcd0a5fbf885079325db7cfe277915125b5c change-id: 20261202-isc-series-v1-1d223a3cd997 Best regards, -- Balakrishnan Sambath