Message ID | 20221118093931.1284465-3-paul.elder@ideasonboard.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp90422wrr; Fri, 18 Nov 2022 01:43:52 -0800 (PST) X-Google-Smtp-Source: AA0mqf6F7WJFSPIBE3Vuq7Bc/+CGrJn5EA0F+j8QHF+YD7Cd61lfrb6+SuQre1R0QF21o5bK/DkN X-Received: by 2002:a63:110d:0:b0:46e:bcc1:28df with SMTP id g13-20020a63110d000000b0046ebcc128dfmr5856604pgl.187.1668764631872; Fri, 18 Nov 2022 01:43:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668764631; cv=none; d=google.com; s=arc-20160816; b=JAwrlMLtA2eah0A76kcui1JmOHNA+K71TEol0fSDYxkRRv7oeU/855Ti804P3okJi1 NB0Oagw+YXIlj3yxozmRn2tX3DT3P6uMtjBQ/oxHI/6zy9EW+tdFcKxMiPb4XIapmpPE 3AMBGJqbiRAO0nsJhCewtReEMgCE/YC/Sed+i5mJcZnzIjwMQMbRVFhvbHOg7KrcWAqh iuVUr2BgtA4eAqxZBk1C4mY1LcQkYgnB3GEv5L5KG/Sl+fto/5dI4+lh/AOAWSd9rExY ngbOl60KNLbN6nRgsPKqq7n0gi+YIKdbSh+L9T7pW0f8oqVy5H4y93WG4LgqLbz0vgRT 4idg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=xOk+YYx52yUBREZs9172of9QzCe5jC8WxcYsgO3vL0M=; b=AqoZSgeyzGBrvIGq5TKwE6xhS9EfDJQA88RUOJEH7yR/h/EFo1f3kriq0IqwImzVhp 8wvY7xwAtfruMvb0Et8SeAFp4k+GTI4P8XSrJWCFvbpZEsR3bY4NTkXja6e9E6JaoSan zFQljLoi85uMyj4oTkgSjPeMP431AMreQoAl/rb6XChgkdftVzJm+Ss5HMlz5Bf9UW28 CA0f2iUoJdlR2opi96j159Qzopr5gAeI3ZxJEgGfjwVtruibMj5IzIXy4HysX06UDZts epNUbzoPldNwowlbRcdBimMMaSoot2THy8M7MG/kpZnWtdogOkIKofmhqW83j2rvMjxK mIPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=OFH1LLo5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t4-20020a634444000000b0046ef67cb979si3672573pgk.82.2022.11.18.01.43.38; Fri, 18 Nov 2022 01:43:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=OFH1LLo5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242014AbiKRJkG (ORCPT <rfc822;kkmonlee@gmail.com> + 99 others); Fri, 18 Nov 2022 04:40:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241776AbiKRJjv (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 18 Nov 2022 04:39:51 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB1A32250D; Fri, 18 Nov 2022 01:39:50 -0800 (PST) Received: from pyrite.tail37cf.ts.net (h175-177-042-159.catv02.itscom.jp [175.177.42.159]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 61A83AF4; Fri, 18 Nov 2022 10:39:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1668764389; bh=hmyLpab8VmHMSS3/2OG4UYDiDFK/Q8oMtYRnn8VQ7fg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OFH1LLo5i4J0HJ5cCTgvvqJeLnrXlevbdDgc3REixGzWWxLVBivl7Z/P5j869ghiO Wvnm97wdehUTHk1oH7sOfSUtszYHMWSh6ZXByrD6LKdgh8U/WXTYAhk3fCNTWu1RUJ PxRCZjAamHACoqCr3R0kABiAeEvaivPfphp+T5xk= From: Paul Elder <paul.elder@ideasonboard.com> To: linux-media@vger.kernel.org Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Dafna Hirschfeld <dafna@fastmail.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Heiko Stuebner <heiko@sntech.de>, Helen Koike <helen.koike@collabora.com>, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 02/14] dt-bindings: media: rkisp1: Add i.MX8MP ISP example Date: Fri, 18 Nov 2022 18:39:19 +0900 Message-Id: <20221118093931.1284465-3-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221118093931.1284465-1-paul.elder@ideasonboard.com> References: <20221118093931.1284465-1-paul.elder@ideasonboard.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749826542581779732?= X-GMAIL-MSGID: =?utf-8?q?1749826542581779732?= |
Series |
media: rkisp1: Add support for i.MX8MP
|
|
Commit Message
Paul Elder
Nov. 18, 2022, 9:39 a.m. UTC
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Add an example to the rockchip-isp1 DT binding that showcases usage of the parallel input of the ISP, connected to the CSI-2 receiver internal to the i.MX8MP. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> --- .../bindings/media/rockchip-isp1.yaml | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+)
Comments
On 18/11/2022 10:39, Paul Elder wrote: > From: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > Add an example to the rockchip-isp1 DT binding that showcases usage of > the parallel input of the ISP, connected to the CSI-2 receiver internal > to the i.MX8MP. > > Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Missing SoB. > --- > .../bindings/media/rockchip-isp1.yaml | 72 +++++++++++++++++++ > 1 file changed, 72 insertions(+) > I don't know what do you demonstrate there... usage of endpoints? That's the only difference. Such usage is the same everywhere, nothing specific to this example. You already have two examples, so I don't think this brings anything more. Best regards, Krzysztof
On Fri, 18 Nov 2022 18:39:19 +0900, Paul Elder wrote: > From: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > Add an example to the rockchip-isp1 DT binding that showcases usage of > the parallel input of the ISP, connected to the CSI-2 receiver internal > to the i.MX8MP. > > Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > --- > .../bindings/media/rockchip-isp1.yaml | 72 +++++++++++++++++++ > 1 file changed, 72 insertions(+) > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: dtschema/dtc warnings/errors: Documentation/devicetree/bindings/media/rockchip-isp1.example.dts:199:18: fatal error: dt-bindings/media/video-interfaces.h: No such file or directory 199 | #include <dt-bindings/media/video-interfaces.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [scripts/Makefile.lib:406: Documentation/devicetree/bindings/media/rockchip-isp1.example.dtb] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:1492: dt_binding_check] Error 2 doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20221118093931.1284465-3-paul.elder@ideasonboard.com This check can fail if there are any dependencies. The base for a patch series is generally the most recent rc1. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command.
On Fri, Nov 18, 2022 at 07:31:19AM -0600, Rob Herring wrote: > > On Fri, 18 Nov 2022 18:39:19 +0900, Paul Elder wrote: > > From: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > > > Add an example to the rockchip-isp1 DT binding that showcases usage of > > the parallel input of the ISP, connected to the CSI-2 receiver internal > > to the i.MX8MP. > > > > Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > --- > > .../bindings/media/rockchip-isp1.yaml | 72 +++++++++++++++++++ > > 1 file changed, 72 insertions(+) > > > > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' > on your patch (DT_CHECKER_FLAGS is new in v5.13): > > yamllint warnings/errors: > > dtschema/dtc warnings/errors: > Documentation/devicetree/bindings/media/rockchip-isp1.example.dts:199:18: fatal error: dt-bindings/media/video-interfaces.h: No such file or directory > 199 | #include <dt-bindings/media/video-interfaces.h> > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > compilation terminated. > make[1]: *** [scripts/Makefile.lib:406: Documentation/devicetree/bindings/media/rockchip-isp1.example.dtb] Error 1 > make[1]: *** Waiting for unfinished jobs.... > make: *** [Makefile:1492: dt_binding_check] Error 2 > > doc reference errors (make refcheckdocs): > > See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20221118093931.1284465-3-paul.elder@ideasonboard.com > > This check can fail if there are any dependencies. The base for a patch > series is generally the most recent rc1. In the cover letter I mention: "This series depends on v3 of "dt-bindings: media: Add macros for video interface bus types" [1]." [1] https://lore.kernel.org/linux-media/20220615221410.27459-2-laurent.pinchart@ideasonboard.com/ Paul > > If you already ran 'make dt_binding_check' and didn't see the above > error(s), then make sure 'yamllint' is installed and dt-schema is up to > date: > > pip3 install dtschema --upgrade > > Please check and re-submit after running the above command. >
On Fri, Nov 18, 2022 at 02:06:14PM +0100, Krzysztof Kozlowski wrote: > On 18/11/2022 10:39, Paul Elder wrote: > > From: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > > > Add an example to the rockchip-isp1 DT binding that showcases usage of > > the parallel input of the ISP, connected to the CSI-2 receiver internal > > to the i.MX8MP. > > > > Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > Missing SoB. I don't quite understand. I see an SoB right there. > > > --- > > .../bindings/media/rockchip-isp1.yaml | 72 +++++++++++++++++++ > > 1 file changed, 72 insertions(+) > > > > I don't know what do you demonstrate there... usage of endpoints? That's > the only difference. Such usage is the same everywhere, nothing specific I guess...? Doesn't the same argument apply against the px30 example too then? > to this example. You already have two examples, so I don't think this > brings anything more. We do have usage of this in imx8mp.dtsi and overlays for the ISP, but those patches haven't been sent/merged yet, so in the meantime I think there is value in providing an example here for the imx8mp. Thanks, Paul
Hi Krzysztof, On Fri, Nov 18, 2022 at 02:06:14PM +0100, Krzysztof Kozlowski wrote: > On 18/11/2022 10:39, Paul Elder wrote: > > From: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > > > Add an example to the rockchip-isp1 DT binding that showcases usage of > > the parallel input of the ISP, connected to the CSI-2 receiver internal > > to the i.MX8MP. > > > > Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > Missing SoB. > > > --- > > .../bindings/media/rockchip-isp1.yaml | 72 +++++++++++++++++++ > > 1 file changed, 72 insertions(+) > > > > I don't know what do you demonstrate there... usage of endpoints? That's > the only difference. Such usage is the same everywhere, nothing specific > to this example. You already have two examples, so I don't think this > brings anything more. The i.MX8MP is the only SoC integrating this ISP (and supported in mainlineĆ that has an external CSI-2 receiver, as opposed to using the CSI-2 receiver from the ISP. This patch this showcases the DT integration for that use case. If you think it's not worth it, I'm fine dropping it.
On 19/11/2022 17:59, Laurent Pinchart wrote: > Hi Krzysztof, > > On Fri, Nov 18, 2022 at 02:06:14PM +0100, Krzysztof Kozlowski wrote: >> On 18/11/2022 10:39, Paul Elder wrote: >>> From: Laurent Pinchart <laurent.pinchart@ideasonboard.com> >>> >>> Add an example to the rockchip-isp1 DT binding that showcases usage of >>> the parallel input of the ISP, connected to the CSI-2 receiver internal >>> to the i.MX8MP. >>> >>> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> >> >> Missing SoB. >> >>> --- >>> .../bindings/media/rockchip-isp1.yaml | 72 +++++++++++++++++++ >>> 1 file changed, 72 insertions(+) >>> >> >> I don't know what do you demonstrate there... usage of endpoints? That's >> the only difference. Such usage is the same everywhere, nothing specific >> to this example. You already have two examples, so I don't think this >> brings anything more. > > The i.MX8MP is the only SoC integrating this ISP (and supported in > mainlineĆ that has an external CSI-2 receiver, as opposed to using the > CSI-2 receiver from the ISP. This patch this showcases the DT > integration for that use case. If you think it's not worth it, I'm fine > dropping it. The purpose of examples are not to demonstrate the SoC, but only this given binding. > Best regards, Krzysztof
On 19/11/2022 07:55, Paul Elder wrote: > On Fri, Nov 18, 2022 at 02:06:14PM +0100, Krzysztof Kozlowski wrote: >> On 18/11/2022 10:39, Paul Elder wrote: >>> From: Laurent Pinchart <laurent.pinchart@ideasonboard.com> >>> >>> Add an example to the rockchip-isp1 DT binding that showcases usage of >>> the parallel input of the ISP, connected to the CSI-2 receiver internal >>> to the i.MX8MP. >>> >>> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> >> >> Missing SoB. > > I don't quite understand. I see an SoB right there. Laurent did not sent it. Did you run checkpatch before sending? > >> >>> --- >>> .../bindings/media/rockchip-isp1.yaml | 72 +++++++++++++++++++ >>> 1 file changed, 72 insertions(+) >>> >> >> I don't know what do you demonstrate there... usage of endpoints? That's >> the only difference. Such usage is the same everywhere, nothing specific > > I guess...? Doesn't the same argument apply against the px30 example too > then? > >> to this example. You already have two examples, so I don't think this >> brings anything more. > > We do have usage of this in imx8mp.dtsi and overlays for the ISP, but > those patches haven't been sent/merged yet, so in the meantime I think > there is value in providing an example here for the imx8mp. The examples are not for demonstrating imx8mp or any other soc, but this one given binding. Changing compatibles and few properties is not a different example - from "exampleness" point of view it is very similar. Best regards, Krzysztof
On Sun, Nov 20, 2022 at 11:36:31AM +0100, Krzysztof Kozlowski wrote: > On 19/11/2022 07:55, Paul Elder wrote: > > On Fri, Nov 18, 2022 at 02:06:14PM +0100, Krzysztof Kozlowski wrote: > >> On 18/11/2022 10:39, Paul Elder wrote: > >>> From: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > >>> > >>> Add an example to the rockchip-isp1 DT binding that showcases usage of > >>> the parallel input of the ISP, connected to the CSI-2 receiver internal > >>> to the i.MX8MP. > >>> > >>> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > >> > >> Missing SoB. > > > > I don't quite understand. I see an SoB right there. > > Laurent did not sent it. Did you run checkpatch before sending? That's why he's on the "From:" in the beginning. checkpatch says it's fine. > > > > >> > >>> --- > >>> .../bindings/media/rockchip-isp1.yaml | 72 +++++++++++++++++++ > >>> 1 file changed, 72 insertions(+) > >>> > >> > >> I don't know what do you demonstrate there... usage of endpoints? That's > >> the only difference. Such usage is the same everywhere, nothing specific > > > > I guess...? Doesn't the same argument apply against the px30 example too > > then? > > > >> to this example. You already have two examples, so I don't think this > >> brings anything more. > > > > We do have usage of this in imx8mp.dtsi and overlays for the ISP, but > > those patches haven't been sent/merged yet, so in the meantime I think > > there is value in providing an example here for the imx8mp. > > The examples are not for demonstrating imx8mp or any other soc, but this > one given binding. Changing compatibles and few properties is not a > different example - from "exampleness" point of view it is very similar. Ah okay, I see. Paul
On 21/11/2022 06:09, Paul Elder wrote: > On Sun, Nov 20, 2022 at 11:36:31AM +0100, Krzysztof Kozlowski wrote: >> On 19/11/2022 07:55, Paul Elder wrote: >>> On Fri, Nov 18, 2022 at 02:06:14PM +0100, Krzysztof Kozlowski wrote: >>>> On 18/11/2022 10:39, Paul Elder wrote: >>>>> From: Laurent Pinchart <laurent.pinchart@ideasonboard.com> >>>>> >>>>> Add an example to the rockchip-isp1 DT binding that showcases usage of >>>>> the parallel input of the ISP, connected to the CSI-2 receiver internal >>>>> to the i.MX8MP. >>>>> >>>>> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> >>>> >>>> Missing SoB. >>> >>> I don't quite understand. I see an SoB right there. >> >> Laurent did not sent it. Did you run checkpatch before sending? > > That's why he's on the "From:" in the beginning. checkpatch says it's > fine. Ah, indeed, checkpatch misses that feature (it's part of Greg's verify_signedoff.sh). Anyway, your SoB is missing, as Laurent did not send the patch. Best regards, Krzysztof
On Mon, Nov 21, 2022 at 09:04:29AM +0100, Krzysztof Kozlowski wrote: > On 21/11/2022 06:09, Paul Elder wrote: > > On Sun, Nov 20, 2022 at 11:36:31AM +0100, Krzysztof Kozlowski wrote: > >> On 19/11/2022 07:55, Paul Elder wrote: > >>> On Fri, Nov 18, 2022 at 02:06:14PM +0100, Krzysztof Kozlowski wrote: > >>>> On 18/11/2022 10:39, Paul Elder wrote: > >>>>> From: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > >>>>> > >>>>> Add an example to the rockchip-isp1 DT binding that showcases usage of > >>>>> the parallel input of the ISP, connected to the CSI-2 receiver internal > >>>>> to the i.MX8MP. > >>>>> > >>>>> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > >>>> > >>>> Missing SoB. > >>> > >>> I don't quite understand. I see an SoB right there. > >> > >> Laurent did not sent it. Did you run checkpatch before sending? > > > > That's why he's on the "From:" in the beginning. checkpatch says it's > > fine. > > Ah, indeed, checkpatch misses that feature (it's part of Greg's > verify_signedoff.sh). Anyway, your SoB is missing, as Laurent did not > send the patch. I thought adding an SoB was only required either when making changes or when pushing commits through git, not when forwarding patches on mailing lists ?
On 21/11/2022 11:38, Laurent Pinchart wrote: > On Mon, Nov 21, 2022 at 09:04:29AM +0100, Krzysztof Kozlowski wrote: >> On 21/11/2022 06:09, Paul Elder wrote: >>> On Sun, Nov 20, 2022 at 11:36:31AM +0100, Krzysztof Kozlowski wrote: >>>> On 19/11/2022 07:55, Paul Elder wrote: >>>>> On Fri, Nov 18, 2022 at 02:06:14PM +0100, Krzysztof Kozlowski wrote: >>>>>> On 18/11/2022 10:39, Paul Elder wrote: >>>>>>> From: Laurent Pinchart <laurent.pinchart@ideasonboard.com> >>>>>>> >>>>>>> Add an example to the rockchip-isp1 DT binding that showcases usage of >>>>>>> the parallel input of the ISP, connected to the CSI-2 receiver internal >>>>>>> to the i.MX8MP. >>>>>>> >>>>>>> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> >>>>>> >>>>>> Missing SoB. >>>>> >>>>> I don't quite understand. I see an SoB right there. >>>> >>>> Laurent did not sent it. Did you run checkpatch before sending? >>> >>> That's why he's on the "From:" in the beginning. checkpatch says it's >>> fine. >> >> Ah, indeed, checkpatch misses that feature (it's part of Greg's >> verify_signedoff.sh). Anyway, your SoB is missing, as Laurent did not >> send the patch. > > I thought adding an SoB was only required either when making changes or > when pushing commits through git, not when forwarding patches on mailing > lists ? Anyone touching the file should signed it off. You cannot send it without touching (e.g. git format-patch). https://elixir.bootlin.com/linux/v5.19-rc5/source/Documentation/process/submitting-patches.rst#L397 https://elixir.bootlin.com/linux/v5.19-rc5/source/Documentation/process/submitting-patches.rst#L420 Best regards, Krzysztof
On Mon, Nov 21, 2022 at 12:16:41PM +0100, Krzysztof Kozlowski wrote: > On 21/11/2022 11:38, Laurent Pinchart wrote: > > On Mon, Nov 21, 2022 at 09:04:29AM +0100, Krzysztof Kozlowski wrote: > >> On 21/11/2022 06:09, Paul Elder wrote: > >>> On Sun, Nov 20, 2022 at 11:36:31AM +0100, Krzysztof Kozlowski wrote: > >>>> On 19/11/2022 07:55, Paul Elder wrote: > >>>>> On Fri, Nov 18, 2022 at 02:06:14PM +0100, Krzysztof Kozlowski wrote: > >>>>>> On 18/11/2022 10:39, Paul Elder wrote: > >>>>>>> From: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > >>>>>>> > >>>>>>> Add an example to the rockchip-isp1 DT binding that showcases usage of > >>>>>>> the parallel input of the ISP, connected to the CSI-2 receiver internal > >>>>>>> to the i.MX8MP. > >>>>>>> > >>>>>>> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > >>>>>> > >>>>>> Missing SoB. > >>>>> > >>>>> I don't quite understand. I see an SoB right there. > >>>> > >>>> Laurent did not sent it. Did you run checkpatch before sending? > >>> > >>> That's why he's on the "From:" in the beginning. checkpatch says it's > >>> fine. > >> > >> Ah, indeed, checkpatch misses that feature (it's part of Greg's > >> verify_signedoff.sh). Anyway, your SoB is missing, as Laurent did not > >> send the patch. > > > > I thought adding an SoB was only required either when making changes or > > when pushing commits through git, not when forwarding patches on mailing > > lists ? > > Anyone touching the file should signed it off. You cannot send it > without touching (e.g. git format-patch). > > https://elixir.bootlin.com/linux/v5.19-rc5/source/Documentation/process/submitting-patches.rst#L397 > > https://elixir.bootlin.com/linux/v5.19-rc5/source/Documentation/process/submitting-patches.rst#L420 The second link states SoB chains should reflect the **real** route a patch took as it was propagated to the maintainers and ultimately to Linus, with the first SoB entry signalling primary authorship of a single author. This series will (eventually) be upstreamed by me through a pull request to Mauro. Paul's SoB will thus not be needed. Of course you have no way to know this when reviewing the series on the list. Adding a SoB line when taking a patch in a git tree is standard practice, but when posting unmodified patches to a mailing list, there's more of a grey area. Look at https://lore.kernel.org/all/20221024113058.096628238@linuxfoundation.org/ for instance, posted by Greg, but without his SoB.
On 21/11/2022 14:50, Laurent Pinchart wrote: > On Mon, Nov 21, 2022 at 12:16:41PM +0100, Krzysztof Kozlowski wrote: >> On 21/11/2022 11:38, Laurent Pinchart wrote: >>> On Mon, Nov 21, 2022 at 09:04:29AM +0100, Krzysztof Kozlowski wrote: >>>> On 21/11/2022 06:09, Paul Elder wrote: >>>>> On Sun, Nov 20, 2022 at 11:36:31AM +0100, Krzysztof Kozlowski wrote: >>>>>> On 19/11/2022 07:55, Paul Elder wrote: >>>>>>> On Fri, Nov 18, 2022 at 02:06:14PM +0100, Krzysztof Kozlowski wrote: >>>>>>>> On 18/11/2022 10:39, Paul Elder wrote: >>>>>>>>> From: Laurent Pinchart <laurent.pinchart@ideasonboard.com> >>>>>>>>> >>>>>>>>> Add an example to the rockchip-isp1 DT binding that showcases usage of >>>>>>>>> the parallel input of the ISP, connected to the CSI-2 receiver internal >>>>>>>>> to the i.MX8MP. >>>>>>>>> >>>>>>>>> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> >>>>>>>> >>>>>>>> Missing SoB. >>>>>>> >>>>>>> I don't quite understand. I see an SoB right there. >>>>>> >>>>>> Laurent did not sent it. Did you run checkpatch before sending? >>>>> >>>>> That's why he's on the "From:" in the beginning. checkpatch says it's >>>>> fine. >>>> >>>> Ah, indeed, checkpatch misses that feature (it's part of Greg's >>>> verify_signedoff.sh). Anyway, your SoB is missing, as Laurent did not >>>> send the patch. >>> >>> I thought adding an SoB was only required either when making changes or >>> when pushing commits through git, not when forwarding patches on mailing >>> lists ? >> >> Anyone touching the file should signed it off. You cannot send it >> without touching (e.g. git format-patch). >> >> https://elixir.bootlin.com/linux/v5.19-rc5/source/Documentation/process/submitting-patches.rst#L397 >> >> https://elixir.bootlin.com/linux/v5.19-rc5/source/Documentation/process/submitting-patches.rst#L420 > > The second link states > > SoB chains should reflect the **real** route a patch took as it was > propagated to the maintainers and ultimately to Linus, with the first > SoB entry signalling primary authorship of a single author. > > This series will (eventually) be upstreamed by me through a pull request > to Mauro. Paul's SoB will thus not be needed. Of course you have no way > to know this when reviewing the series on the list. > > Adding a SoB line when taking a patch in a git tree is standard > practice, but when posting unmodified patches to a mailing list, there's > more of a grey area. Look at > https://lore.kernel.org/all/20221024113058.096628238@linuxfoundation.org/ > for instance, posted by Greg, but without his SoB. I have no clue what Paul modified here what not. I am not going to investigate and I have no way to actually perform such investigation. I cannot verify the source. The case with Greg, is indeed surprising, but I could perform the verification, because the work is both public and in known place. It's expected for submitter to certify (c) from the list which was BTW expressed also many times during many reviews by many people. Best regards, Krzysztof
On 21/11/2022 17:37, Krzysztof Kozlowski wrote: > On 21/11/2022 14:50, Laurent Pinchart wrote: >> On Mon, Nov 21, 2022 at 12:16:41PM +0100, Krzysztof Kozlowski wrote: >>> On 21/11/2022 11:38, Laurent Pinchart wrote: >>>> On Mon, Nov 21, 2022 at 09:04:29AM +0100, Krzysztof Kozlowski wrote: >>>>> On 21/11/2022 06:09, Paul Elder wrote: >>>>>> On Sun, Nov 20, 2022 at 11:36:31AM +0100, Krzysztof Kozlowski wrote: >>>>>>> On 19/11/2022 07:55, Paul Elder wrote: >>>>>>>> On Fri, Nov 18, 2022 at 02:06:14PM +0100, Krzysztof Kozlowski wrote: >>>>>>>>> On 18/11/2022 10:39, Paul Elder wrote: >>>>>>>>>> From: Laurent Pinchart <laurent.pinchart@ideasonboard.com> >>>>>>>>>> >>>>>>>>>> Add an example to the rockchip-isp1 DT binding that showcases usage of >>>>>>>>>> the parallel input of the ISP, connected to the CSI-2 receiver internal >>>>>>>>>> to the i.MX8MP. >>>>>>>>>> >>>>>>>>>> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> >>>>>>>>> >>>>>>>>> Missing SoB. >>>>>>>> >>>>>>>> I don't quite understand. I see an SoB right there. >>>>>>> >>>>>>> Laurent did not sent it. Did you run checkpatch before sending? >>>>>> >>>>>> That's why he's on the "From:" in the beginning. checkpatch says it's >>>>>> fine. >>>>> >>>>> Ah, indeed, checkpatch misses that feature (it's part of Greg's >>>>> verify_signedoff.sh). Anyway, your SoB is missing, as Laurent did not >>>>> send the patch. >>>> >>>> I thought adding an SoB was only required either when making changes or >>>> when pushing commits through git, not when forwarding patches on mailing >>>> lists ? >>> >>> Anyone touching the file should signed it off. You cannot send it >>> without touching (e.g. git format-patch). >>> >>> https://elixir.bootlin.com/linux/v5.19-rc5/source/Documentation/process/submitting-patches.rst#L397 >>> >>> https://elixir.bootlin.com/linux/v5.19-rc5/source/Documentation/process/submitting-patches.rst#L420 >> >> The second link states >> >> SoB chains should reflect the **real** route a patch took as it was >> propagated to the maintainers and ultimately to Linus, with the first >> SoB entry signalling primary authorship of a single author. >> >> This series will (eventually) be upstreamed by me through a pull request >> to Mauro. Paul's SoB will thus not be needed. Of course you have no way >> to know this when reviewing the series on the list. >> >> Adding a SoB line when taking a patch in a git tree is standard >> practice, but when posting unmodified patches to a mailing list, there's >> more of a grey area. Look at >> https://lore.kernel.org/all/20221024113058.096628238@linuxfoundation.org/ >> for instance, posted by Greg, but without his SoB. > > I have no clue what Paul modified here what not. I am not going to > investigate and I have no way to actually perform such investigation. I > cannot verify the source. BTW, rebasing is modifying and Paul probably did it (or is likely that will rebase in the future). Greg did not perform rebases on these, I think. > > The case with Greg, is indeed surprising, but I could perform the > verification, because the work is both public and in known place. > > It's expected for submitter to certify (c) from the list which was BTW > expressed also many times during many reviews by many people. > > Best regards, > Krzysztof > Best regards, Krzysztof
Hi Krzysztof, (CC'ing Greg) On Mon, Nov 21, 2022 at 05:37:33PM +0100, Krzysztof Kozlowski wrote: > On 21/11/2022 14:50, Laurent Pinchart wrote: > > On Mon, Nov 21, 2022 at 12:16:41PM +0100, Krzysztof Kozlowski wrote: > >> On 21/11/2022 11:38, Laurent Pinchart wrote: > >>> On Mon, Nov 21, 2022 at 09:04:29AM +0100, Krzysztof Kozlowski wrote: > >>>> On 21/11/2022 06:09, Paul Elder wrote: > >>>>> On Sun, Nov 20, 2022 at 11:36:31AM +0100, Krzysztof Kozlowski wrote: > >>>>>> On 19/11/2022 07:55, Paul Elder wrote: > >>>>>>> On Fri, Nov 18, 2022 at 02:06:14PM +0100, Krzysztof Kozlowski wrote: > >>>>>>>> On 18/11/2022 10:39, Paul Elder wrote: > >>>>>>>>> From: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > >>>>>>>>> > >>>>>>>>> Add an example to the rockchip-isp1 DT binding that showcases usage of > >>>>>>>>> the parallel input of the ISP, connected to the CSI-2 receiver internal > >>>>>>>>> to the i.MX8MP. > >>>>>>>>> > >>>>>>>>> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > >>>>>>>> > >>>>>>>> Missing SoB. > >>>>>>> > >>>>>>> I don't quite understand. I see an SoB right there. > >>>>>> > >>>>>> Laurent did not sent it. Did you run checkpatch before sending? > >>>>> > >>>>> That's why he's on the "From:" in the beginning. checkpatch says it's > >>>>> fine. > >>>> > >>>> Ah, indeed, checkpatch misses that feature (it's part of Greg's > >>>> verify_signedoff.sh). Anyway, your SoB is missing, as Laurent did not > >>>> send the patch. > >>> > >>> I thought adding an SoB was only required either when making changes or > >>> when pushing commits through git, not when forwarding patches on mailing > >>> lists ? > >> > >> Anyone touching the file should signed it off. You cannot send it > >> without touching (e.g. git format-patch). > >> > >> https://elixir.bootlin.com/linux/v5.19-rc5/source/Documentation/process/submitting-patches.rst#L397 > >> > >> https://elixir.bootlin.com/linux/v5.19-rc5/source/Documentation/process/submitting-patches.rst#L420 > > > > The second link states > > > > SoB chains should reflect the **real** route a patch took as it was > > propagated to the maintainers and ultimately to Linus, with the first > > SoB entry signalling primary authorship of a single author. > > > > This series will (eventually) be upstreamed by me through a pull request > > to Mauro. Paul's SoB will thus not be needed. Of course you have no way > > to know this when reviewing the series on the list. > > > > Adding a SoB line when taking a patch in a git tree is standard > > practice, but when posting unmodified patches to a mailing list, there's > > more of a grey area. Look at > > https://lore.kernel.org/all/20221024113058.096628238@linuxfoundation.org/ > > for instance, posted by Greg, but without his SoB. > > I have no clue what Paul modified here what not. I am not going to > investigate and I have no way to actually perform such investigation. I > cannot verify the source. > > The case with Greg, is indeed surprising, but I could perform the > verification, because the work is both public and in known place. > > It's expected for submitter to certify (c) from the list which was BTW > expressed also many times during many reviews by many people. Given that this patch will be dropped anyway, it doesn't matter much in this specific case, but for future reference, I've CC'ed Greg to get his opinion on the matter.
diff --git a/Documentation/devicetree/bindings/media/rockchip-isp1.yaml b/Documentation/devicetree/bindings/media/rockchip-isp1.yaml index 95cf945f7ac5..88d9bc378f79 100644 --- a/Documentation/devicetree/bindings/media/rockchip-isp1.yaml +++ b/Documentation/devicetree/bindings/media/rockchip-isp1.yaml @@ -285,3 +285,75 @@ examples: }; }; }; + + - | + #include <dt-bindings/clock/imx8mp-clock.h> + #include <dt-bindings/interrupt-controller/arm-gic.h> + #include <dt-bindings/media/video-interfaces.h> + #include <dt-bindings/power/imx8mp-power.h> + + parent2: parent { + #address-cells = <1>; + #size-cells = <1>; + + isp@32e10000 { + compatible = "fsl,imx8mp-isp"; + reg = <0x32e10000 0x10000>; + interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clk IMX8MP_CLK_MEDIA_ISP_ROOT>, + <&clk IMX8MP_CLK_MEDIA_AXI_ROOT>, + <&clk IMX8MP_CLK_MEDIA_APB_ROOT>; + clock-names = "isp", "hclk", "aclk"; + assigned-clocks = <&clk IMX8MP_CLK_MEDIA_ISP>; + assigned-clock-parents = <&clk IMX8MP_SYS_PLL2_500M>; + assigned-clock-rates = <500000000>; + power-domains = <&media_blk_ctrl IMX8MP_MEDIABLK_PD_ISP>; + fsl,blk-ctrl = <&media_blk_ctrl 0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@1 { + reg = <1>; + isp0_in: endpoint { + bus-type = <MEDIA_BUS_TYPE_PARALLEL>; + remote-endpoint = <&mipi_csi_0_out>; + }; + }; + }; + }; + + csi@32e40000 { + compatible = "fsl,imx8mp-mipi-csi2", "fsl,imx8mm-mipi-csi2"; + reg = <0x32e40000 0x10000>; + interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; + clock-frequency = <500000000>; + clocks = <&clk IMX8MP_CLK_MEDIA_APB_ROOT>, + <&clk IMX8MP_CLK_MEDIA_CAM1_PIX_ROOT>, + <&clk IMX8MP_CLK_MEDIA_MIPI_PHY1_REF_ROOT>, + <&clk IMX8MP_CLK_MEDIA_AXI_ROOT>; + clock-names = "pclk", "wrap", "phy", "axi"; + assigned-clocks = <&clk IMX8MP_CLK_MEDIA_CAM1_PIX>; + assigned-clock-parents = <&clk IMX8MP_SYS_PLL2_1000M>; + assigned-clock-rates = <500000000>; + power-domains = <&media_blk_ctrl IMX8MP_MEDIABLK_PD_MIPI_CSI2_1>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + }; + + port@1 { + reg = <1>; + mipi_csi_0_out: endpoint { + remote-endpoint = <&isp0_in>; + }; + }; + }; + }; + }; +...