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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7C317C6FD1C for ; Sat, 25 Mar 2023 23:18:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229650AbjCYXSR (ORCPT ); Sat, 25 Mar 2023 19:18:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229488AbjCYXSQ (ORCPT ); Sat, 25 Mar 2023 19:18:16 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD6BB1715 for ; Sat, 25 Mar 2023 16:18:14 -0700 (PDT) Received: from pendragon.ideasonboard.com (213-243-189-158.bb.dnainternet.fi [213.243.189.158]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 6B102558; Sun, 26 Mar 2023 00:18:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1679786293; bh=eZu/kLvV/JHjGC4kwVzT+7qgURzmYLy4OqNekexAY+0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RxRL0uSXQKvGSCLUWJdMl71BqiLbxlzcAp4Os66n5400v3t7BFRPKrEMIs0FSl1bi Lw+QQzusBqRZqQH+rGL2Tv5DpGzQLDlkri0SMfQefCXXdgKtHof4yiGIzf+U/66efa 77FYoKtosvObVV8zQyQYOCc9bj8rkNxRORcZxUpU= Date: Sun, 26 Mar 2023 01:18:20 +0200 From: Laurent Pinchart To: Mauro Carvalho Chehab Cc: Jenkins , linux-media@vger.kernel.org, builder@linuxtv.org, Christian Hemp , Dong Aisheng , Guoniu Zhou , Jacopo Mondi , Stefan Riedmueller Subject: Re: [GIT PULL FOR v6.3] NXP i.MX8 ISI driver (#89568) Message-ID: <20230325231820.GJ22214@pendragon.ideasonboard.com> References: <20230319023423.3173445-1-jenkins@linuxtv.org> <20230319220821.273c0a13@coco.lan> <20230322233352.GB5583@pendragon.ideasonboard.com> <20230323172255.7d67d7ac@coco.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230323172255.7d67d7ac@coco.lan> Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hi Mauro, On Thu, Mar 23, 2023 at 05:24:30PM +0100, Mauro Carvalho Chehab wrote: > Em Thu, 23 Mar 2023 01:33:52 +0200 Laurent Pinchart escreveu: > > On Sun, Mar 19, 2023 at 10:08:21PM +0100, Mauro Carvalho Chehab wrote: > > > Em Sun, 19 Mar 2023 02:34:23 +0000 Jenkins escreveu: > > > > > > > checkpatch.pl: > > > > $ cat patches/0002-media-nxp-Add-i.MX8-ISI-driver.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict > > > > -:98: WARNING: please write a help paragraph that fully describes the config symbol > > > > -:112: WARNING: please write a help paragraph that fully describes the config symbol > > > > -:761: WARNING: DT compatible string "fsl,imx8-isi" appears un-documented -- check ./Documentation/devicetree/bindings/ > > > > -:1128: CHECK: Please use a blank line after function/struct/union/enum declarations > > > > -:1178: CHECK: Please use a blank line after function/struct/union/enum declarations > > > > -:1928: CHECK: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.rst > > > > > > There are still a couple of checkpatch issues there. Please check. > > > In special: > > > > > > - either DT file is wrong or patch 2. Patch 1 declares: > > > > > > properties: > > > compatible: > > > enum: > > > - fsl,imx8mn-isi > > > - fsl,imx8mp-isi > > > > > > But patch 2 has an additional one: > > > > > > static const struct of_device_id mxc_isi_of_match[] = { > > > { .compatible = "fsl,imx8-isi", .data = &mxc_imx8_data_v1 }, > > > { .compatible = "fsl,imx8mn-isi", .data = &mxc_imx8mn_data }, > > > { .compatible = "fsl,imx8mp-isi", .data = &mxc_imx8mp_data }, > > > { /* sentinel */ }, > > > > Indeed, that should be fixed. Would you mind if I addressed this on top > > ? I will be travelling next week, which would delay a new pull request > > to v6.3-rc5. That's still within the allowed time frame, but if I get > > delayed a bit more, I'm worried about missing the v6.4 merge window. > > > > I will actively maintain the ISI driver and will fix this for v6.5 at > > the latest if I can't make it for v6.4. It shouldn't cause any > > regression for supported DT bindings, and the "fsl,imx8-isi" compatible > > string isn't listed in the bindings and won't be used in device tree > > sources. > > > > > - Instead of udelay(300, could it use, instead usleep_range()? > > > > This could be fixed on top too. > > Sure. Feel free to add patches on the top. Thanks, I will do so. Just to make sure, does that mean you will merge this pull request in the stage tree in the near future ? Or do you want to wait for the additional patches ? > > > - There are two nitpick checkpatch warnings related to blank lines. > > > > I've seen those two and ignored them as the current code matches the > > coding style used in many places for such inline function stubs. -- Regards, Laurent Pinchart