From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 9D6E8606A320 for ; Tue, 1 Dec 2026 15:06:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=A6MyTMC9; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.a=rsa-sha256 header.s=mail header.b=I1EEjJLa DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=PBLSIkN8T+j/hgms0KT/TA93kwO7Hmq3BCo8/+HkbM8=; b=A6MyTMC9AigHUD8NY1j7/GEu2Y mI7KRBdqNJfY/j/RwN3o6TtiOuSwXa9iroRt64H+NiMHSbk/DHiULfvNPB/2yY32ECmvPfvPih/2R 5dI3/+CA0FOV1w61BP7QJrMivtIl8OA20qcQ+ZfPamR9uYbpVuHOrGkHu0xO6Wi1wothzvlZKybsZ wVimypb2oFbNKAq6UO9AODlKQYAwCw5XsWcaApeY3qi1tIdN8tauCQa3+X07mQnLEUSgoegJpWOrL N/YkA3H0bjkE2ev/Ui3Yabjf1MRczeV3fgxgT3ECrQgagKuDp/vXe+KeH6xqYAbiIfbMlpKinfj6J CI3iALqA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYPR1-00000008Tv3-0vaA; Tue, 01 Dec 2026 15:06:25 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYPQx-00000008Tui-2gdr for linux-arm-kernel@lists.infradead.org; Tue, 01 Dec 2026 15:06:21 +0000 Received: from killaraus.ideasonboard.com (p773008-ipoe.ipoe.ocn.ne.jp [153.242.130.7]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id C39E59A4; Tue, 1 Dec 2026 16:03:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1796137416; bh=HUw7gWIYAtM7nSoKD/MLUrrQMMP+8J9+ptov+BrjpWk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=I1EEjJLatr8TEALRcGXZ0TpnQ3ng35+42Sqw9v9LeUZpjuU3SRvGoAdlIWM7w2awD Xm6EfpEHNmybPIxeb5tB2twC80SVh6cBWLJqj20hEt26a2Y1Fylql0mAF3bb73fhf4 BlEC1xT/MBGcj7v7/pmT5oFPAZCvCKPC3ZJd6q9Q= Date: Wed, 2 Dec 2026 00:06:10 +0900 From: Laurent Pinchart To: Guoniu Zhou Cc: Frank Li , Mauro Carvalho Chehab , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Loic Poulain , linux-media@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Conor Dooley Subject: Re: [PATCH v5 00/11] media: imx8-isi: Add i.MX952 ISI support Message-ID: <20261201150610.GA356542@killaraus.ideasonboard.com> References: <20261116-isi_imx952-v5-0-46de1d24efd4@oss.nxp.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20261116-isi_imx952-v5-0-46de1d24efd4@oss.nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261201_070619_849572_7E4E19DF X-CRM114-Status: GOOD ( 26.71 ) X-Spam-Score: -2.1 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-15.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Mon, Nov 16, 2026 at 11:28:18AM +0800, Guoniu Zhou wrote: > The series adds support for the i.MX952 Image Sensing Interface (ISI), > which is a minor silicon revision of the i.MX95 ISI. > > The i.MX952 ISI reuses the i.MX95 ISI core with the same 8-channel > pipeline and 4 pixel link inputs. The key hardware improvement is the > addition of RAW10/12/14 output LSB alignment, which allows the ISI to > output right-aligned RAW data directly, matching the V4L2 format > requirement without the RAW16 workaround needed on earlier platforms. > > The series is organized as follows: > > 1. Reorder mxc_imx95_data definition to follow mxc_imx93_data, > matching the order in the of_match array. > 2. Extend output format mask to 7 bits unconditionally since > bit 30 is unused on older platforms. > 3. Support mbus_code filtering in mxc_isi_format_enum(). > 4. Reuse mxc_isi_format_enum() in capture format enumeration. I have sent a pull request for v7.5 with patches 1 to 4. > 5. Apply RAW output format workaround at runtime, storing the > actual hardware format in the format table. > 6. Add RAW14 output format support (available from i.MX8ULP). > 7. Select MSB-aligned RAW input from pixel link on i.MX95. > 8. Exclude RAW10/12/14 output formats on i.MX95. > 9. Add the i.MX952 compatible string to the DT binding. > 10. Add the i.MX952 platform data and of_match entry. > 11. Enable RAW10/12/14 output LSB alignment on i.MX952. > > Review status > ============== > > Most review comments received on previous revisions have been addressed > and several patches have already collected Reviewed-by/Acked-by tags. > > The only remaining open topic in this series is the RAW alignment > handling discussed at: > > https://lore.kernel.org/all/ar028ZyZg56Mk60M@lizhi-Precision-Tower-5810/ > https://lore.kernel.org/all/ar00qevdwDHYAEy9@SMW015318/ > > The discussion affects the final patch: > > media: imx8-isi: Enable RAW10/12/14 output LSB alignment on i.MX952 > media: imx8-isi: Select MSB-aligned RAW input from pixel link on i.MX95 > > I would especially appreciate Laurent Pinchart's feedback on the > proposed approach, as this is the last unresolved topic before the > series is ready for merging. > > Signed-off-by: Guoniu Zhou > --- > Changes in v5: > - Rebase to latest media/next(7969a6f407cf) > - [3/11] Clarify that this preparatory patch introduces no functional change (Laurent) > - Collect Reviewed-by tags > - Link to v4: https://lore.kernel.org/r/20260929-isi_imx952-v4-0-e69f89c7c651@oss.nxp.com > > Changes in v4: > - Rebase to latest media/next(2dcdfb625c3b) > - Split the original patch 5/5 into multiple focused patches: > patches 3-8 are new, each addressing a specific aspect > - [3/11] New: Support mbus_code filtering in mxc_isi_format_enum() > - [4/11] New: Reuse mxc_isi_format_enum() in capture format enumeration > - [5/11] New: Apply RAW output format workaround at runtime > - [6/11] New: Add RAW14 output format support > - [7/11] New: Select MSB-aligned RAW input from pixel link on i.MX95 > - [8/11] New: Exclude RAW10/12/14 output formats on i.MX95 > - [11/11] Split RAW_IN_MSB_ALIGN into a separate preceding patch > - [11/11] Split RAW format table and RAW14 changes into separate preceding patches > - [11/11] Move isi_out_raw_shifted() to regs.h in the preceding workaround patch > - [11/11] Rewrite commit message > - Link to v3: https://lore.kernel.org/r/20260915-isi_imx952-v3-0-3d8ff1363dda@oss.nxp.com > > Changes in v3: > - [1/5] Add Reviewed-by tag from Laurent > - [2/5] Use unconditional 7-bit mask instead of per-platform approach (Laurent) > - [2/5] Drop Reviewed-by from Frank Li due to significant change and request to review again > - [3/5] Add Reviewed-by/Acked-by tag from Frank, Laurent and Dooley > - [4/5] Extend mask globally instead of per-platform (Laurent) > - [4/5] Add Reviewed-by tag from Frank > - [5/5] Use CHNL_IMG_CTRL_FORMAT_MASK instead of the removed per-platform format_mask (Laurent) > - [5/5] Derive raw_out_lsb from the model field instead of dedicated platform data (Laurent) > - [5/5] Clarify the CHNL_IMG_CTRL_FORMAT_RAW14 comment: the format is documented > on i.MX{8ULP,91,93,95,952} but only used on i.MX952 > - [5/5] Rewrite commit message to explain why the RAW16 workaround fails on i.MX95+ (Laurent) > - [5/5] Add Reviewed-by tag from Frank > - Drop "Remove unused model field" patch; model field is now used to derive > raw_out_lsb capability (Laurent) > - Link to v2: https://lore.kernel.org/r/20260831-isi_imx952-v2-0-fafdb4b446d4@oss.nxp.com > > Changes in v2: > - Use fallback compatible fsl,imx95-isi for imx952 (Frank) > - Remove unused model field from platform data (Frank) > - Add Reviewed-by tag from Frank Li for patch 1/6 and 2/6 > - Link to v1: https://lore.kernel.org/r/20260826-isi_imx952-v1-0-cbfaaa3f0000@oss.nxp.com > > --- > Guoniu Zhou (11): > media: imx8-isi: Reorder mxc_imx95_data to follow mxc_imx93_data > media: imx8-isi: Extend output format mask to 7 bits > media: imx8-isi: Support mbus_code filtering in format enumeration > media: imx8-isi: Reuse mxc_isi_format_enum() in capture format enumeration > media: imx8-isi: Apply RAW output format workaround at runtime > media: imx8-isi: Add RAW14 output format support > media: imx8-isi: Select MSB-aligned RAW input from pixel link on i.MX95 > media: imx8-isi: Exclude RAW10/12/14 output formats on i.MX95 > media: dt-bindings: nxp,imx8-isi: Add i.MX952 ISI compatible string > media: imx8-isi: Add i.MX952 ISI support > media: imx8-isi: Enable RAW10/12/14 output LSB alignment on i.MX952 > > .../devicetree/bindings/media/nxp,imx8-isi.yaml | 18 ++-- > .../media/platform/nxp/imx8-isi/imx8-isi-core.c | 37 ++++--- > .../media/platform/nxp/imx8-isi/imx8-isi-core.h | 7 +- > drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c | 56 ++++++++++- > drivers/media/platform/nxp/imx8-isi/imx8-isi-m2m.c | 2 +- > .../media/platform/nxp/imx8-isi/imx8-isi-regs.h | 22 ++++- > .../media/platform/nxp/imx8-isi/imx8-isi-video.c | 110 ++++++++++----------- > 7 files changed, 171 insertions(+), 81 deletions(-) > --- > base-commit: 7969a6f407cf55b5254c824c87875452655ef11e > change-id: 20260817-isi_imx952-66ca65f9b638 -- Regards, Laurent Pinchart