From patchwork Tue Apr 18 07:14:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13215114 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0BF5DC77B71 for ; Tue, 18 Apr 2023 07:15:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=xo642dzdEjzGkw2Wf56f8gNd+1yUIiIIHYnFtz/szps=; b=SvEriYpwlL3MMU O5vROuUdC1nbbhU0zl8m7q/F5/mwpCWd6vOK0wQknDJMoj/7ri+A2BOMmTMZCkwsZTiDJNojeeZhi veqd4+KILiejd4VQJEkNEhsz1CDvF2n6PbOPuqf2aP8y11lw6Cg4A7bTEPMGEs9P0tZb2v+DImjjw cSxSUMNzMg4JgYisRc0aPkfLE1Tv8RkjPmAqe/YVPcXAMUjB+gKNowGOQQcwxZx8AGkHzCeQTUyfz RyH4Gg3VL3PQQYeBYcR0vo4ZTkY52c+25muI5yNrY6rRVUhZsQKVXPkTjnYcW77pDOhWKGSRh30/Q 8TZOhIic04+uUEnsApvg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pofYF-0015K8-1k; Tue, 18 Apr 2023 07:14:55 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pofYB-0015Hs-2u for linux-arm-kernel@lists.infradead.org; Tue, 18 Apr 2023 07:14:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1681802091; x=1713338091; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=aplC/R8aIo9CPn0ymih9XPRBTFWzmKEt0bJtd3WF3E4=; b=hmEFOj81yeKYpQbKIJQLtJVIit8NlXofMsniz3LsrJVOBpO4LUlIFbJw cCa8pniyyvtC4IZ/1OyQQhfb0SFMiQrJ5nRTP/AbLrM36cN7dwCyFNdJY 1YtN2li4LdBUULe2OBUB8Rdg/Zq5Xw9rtFIPOXXG6WN4oKSngoTSyayT8 XqDCjl38Oq9gMiROH4vSlSr69ytLsNHGT0ywv7xBul9aLUg1ZIXZc42Ej FGZ6ghteMKwtlItE3DojCD++3l78zsWIMWE8yAXKI/6lk9OkEFRDVRFBM PCKEBdzH8VG++vPa8d4jUxymsjP1jhTzuLWVeO9s3RNkJfm/jQiunMmam g==; X-IronPort-AV: E=Sophos;i="5.99,206,1677538800"; d="scan'208";a="30385552" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 18 Apr 2023 09:14:46 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Tue, 18 Apr 2023 09:14:46 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Tue, 18 Apr 2023 09:14:46 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1681802086; x=1713338086; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=aplC/R8aIo9CPn0ymih9XPRBTFWzmKEt0bJtd3WF3E4=; b=hppTPFpTJvNqEhF0gK3o2Wzt8nM3Pb/ZMdffMHvsW2T123rmuWP1wYUO W6y8zkXCkK3/bs+uKgycotVtiViTprGPC23HWGseS6NkUYKlvakSVSLXS JbaZ+F8x3DAqPoJNBi35iV1811eObBNA+d3aVmkkcwlhqoux634yVAGC+ SFsc3ueuXmEADVz5r5J3O2sGm3i+2idEvTOfk7w46abxw8GurNxphpOf2 bR3ANgXsxE5+TBX+B0a2OVlo5RrQ5AD1UeX1TJ0kgPbYIEChTNwryFkhN yijeKde0K78eyjBeSLWqVTYfy2kp2Zwm2NbImfw5BIUrF+UFz8vk3Y6Ny A==; X-IronPort-AV: E=Sophos;i="5.99,206,1677538800"; d="scan'208";a="30385549" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Apr 2023 09:14:46 +0200 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 64540280056; Tue, 18 Apr 2023 09:14:46 +0200 (CEST) From: Alexander Stein To: Rui Miguel Silva , Laurent Pinchart , Mauro Carvalho Chehab , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 0/3] Fix imx7-media-csi format settings Date: Tue, 18 Apr 2023 09:14:36 +0200 Message-Id: <20230418071439.197735-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230418_001452_335907_4111800A X-CRM114-Status: GOOD ( 11.87 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi all, this v2 splits the previous patch ([1]) into dedicated patches. Patch 1 removes the calls for converting the pix_format to mbus_framefmt and back again while applying the hardware limits to width and height. The bytesperline and sizeimage fields are set correctly as well. Together with patch 2 v4l2-compliance errors are gone. Best regards, Alexander [1] https://patchwork.linuxtv.org/project/linux-media/patch/20230406135637.257580-1-alexander.stein@ew.tq-group.com/ Alexander Stein (3): media: imx: imx7-media-csi: Get rid of superfluous call to imx7_csi_mbus_fmt_to_pix_fmt media: imx: imx7-media-csi: Remove interlave fields media: imx: imx7-media-csi: Lift width constraints for 8bpp formats drivers/media/platform/nxp/imx7-media-csi.c | 22 ++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-)