From mboxrd@z Thu Jan 1 00:00:00 1970 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 39962CD342C for ; Wed, 6 May 2026 14:30:47 +0000 (UTC) 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-Owner; bh=mwUpCPwXLJJCh7xaBzqek3m4/qQsEpHpQheIoSiol0I=; b=iYQXqe5+KvuHRtL12OJJCeO7iX wSwbzVM3IpmViYPJ2HH94JUsexPloBQj06yiwgkWCm+eS/NUDf2dXifA3OSdIdiid84jYC52HikNF 6aQCo9ZaAEDMM8g4YgEsbSFufJ/6OcqXaZ0kWGuPfm4OzL9BX3wejWr98LQw0M3qEbxICmMmVQtoe psn3gV48kxTBfvP7mQC/YsEL0g7lbwJcwq8EfKunNTK/Og14GAhrFgEl3jf2DQoAC4kXmwRSnH265 mPNAa2MLLWPVzTBfvxmHVT4s+SZjif9Xul2GFCwYhyOV7HL2ytDgm23xXOIqzFITE8Zu2OUQU3H2R 9V7L6OfA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wKdGq-0000000166V-3Q10; Wed, 06 May 2026 14:30:40 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wKdGq-00000001660-00wG for linux-arm-kernel@lists.infradead.org; Wed, 06 May 2026 14:30:40 +0000 Received: from killaraus.ideasonboard.com (2001-14ba-703d-e500--2a1.rev.dnainternet.fi [IPv6:2001:14ba:703d:e500::2a1]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id BFFB563D; Wed, 6 May 2026 16:30:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1778077834; bh=XSvJ+OmVlLTqJ7h113TNTtPCVhXQ8dW2y/GYuT/4Yc0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WrehR2TjrLABvwpBHdQYZ7tO33iW32DNapFqFOa+/lw7mhXsNCishbETpUzkCOuLf 26z6X1VrNPFIW6G56jxVf5rtRPGNrqL6x4qQag1QjIbhq6EhJKH/oGU7AIHC6m9FQ6 h4DYzE8LkU5rlC+llbnw6sykd8Y9qsY4NX/lzZsA= Date: Wed, 6 May 2026 17:30:36 +0300 From: Laurent Pinchart To: Krzysztof Kozlowski Cc: Robby Cai , Frank.Li@nxp.com, martink@posteo.de, rmfrfs@gmail.com, kernel@puri.sm, mchehab@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, martin.kepplinger@puri.sm, imx@lists.linux.dev, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] media: dt-bindings: nxp,imx8mq-mipi-csi2: Fix example endpoint label typo Message-ID: <20260506143036.GS1598374@killaraus.ideasonboard.com> References: <20260506090124.2960477-1-robby.cai@nxp.com> <5ad1e2df-85f3-4f9a-ab9d-b6ae34eebed3@kernel.org> <20260506142155.GR1598374@killaraus.ideasonboard.com> <73111cb1-2019-4faf-abc6-c7deea603eb1@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <73111cb1-2019-4faf-abc6-c7deea603eb1@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260506_073040_180135_2752BD25 X-CRM114-Status: GOOD ( 24.22 ) 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 On Wed, May 06, 2026 at 04:24:35PM +0200, Krzysztof Kozlowski wrote: > On 06/05/2026 16:21, Laurent Pinchart wrote: > > On Wed, May 06, 2026 at 03:33:57PM +0200, Krzysztof Kozlowski wrote: > >> On 06/05/2026 11:01, Robby Cai wrote: > >>> The example in imx8mq-mipi-csi2.yaml uses imx8mm_mipi_csi_{in,out} endpoint > >>> labels, which is confusing for an i.MX8MQ binding. Rename the labels to > >>> imx8mq_mipi_csi_{in,out} for consistency. > >>> > >>> Fixes: 37255747ecbd ("media: dt-bindings: media: document the nxp,imx8mq-mipi-csi2 receiver phy and controller") > >> > >> Nothing to fix here. Otherwise explain the bug. > >> > >>> Signed-off-by: Robby Cai > >>> --- > >>> .../devicetree/bindings/media/nxp,imx8mq-mipi-csi2.yaml | 4 ++-- > >>> 1 file changed, 2 insertions(+), 2 deletions(-) > >>> > >>> diff --git a/Documentation/devicetree/bindings/media/nxp,imx8mq-mipi-csi2.yaml b/Documentation/devicetree/bindings/media/nxp,imx8mq-mipi-csi2.yaml > >>> index 4fcfc4fd3565..71f79651dd96 100644 > >>> --- a/Documentation/devicetree/bindings/media/nxp,imx8mq-mipi-csi2.yaml > >>> +++ b/Documentation/devicetree/bindings/media/nxp,imx8mq-mipi-csi2.yaml > >>> @@ -220,7 +220,7 @@ examples: > >>> port@0 { > >>> reg = <0>; > >>> > >>> - imx8mm_mipi_csi_in: endpoint { > >>> + imx8mq_mipi_csi_in: endpoint { > >> > >> Drop the labels instead - they are not used. > > > > I think the label has value, it improves readability of the example by > > making the purpose of the endpoints more explicit. I won't fight for it > > though, I know it's hard to change your mind. > > Then should not have imx8mq in the first place. The only information > coming here is that it is input endpoint. IMO it is close to obvious > from the opposite of "remote-endpoint = <&imx477_out>;" (if remote is > OUT, then this must be IN). But keeping the redundant data or actually > correcting wrong redundant data into correct redundant data, is still > undesirable. Such patterns then keep spreading to new code. Dropping the imx8mm_ prefix instead of renaming it is a good idea, thanks for proposing it. As for the Fixes: tag, I don't see a need to backport this, so I'd leave it out too. -- Regards, Laurent Pinchart