Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4190811rwb; Fri, 30 Sep 2022 14:27:13 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4QR4xSMSjhVv/immaiFJGCAEr+X8eiNb1ubPvpfT6fxG0qjjDmZlBPtD5GKDrldJN+Htx4 X-Received: by 2002:a17:906:9751:b0:783:87e0:4e38 with SMTP id o17-20020a170906975100b0078387e04e38mr7354993ejy.257.1664573233552; Fri, 30 Sep 2022 14:27:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664573233; cv=none; d=google.com; s=arc-20160816; b=kR9sgUd44/mni98Rk2DfpBw7OUNRSTAJFR8xIBsK9tYO0S5V4M0i9IR6wmCVVc+tpL lj6YPJfFKVzfWiikqnR0GipnkyFSlLdy9JjTicbYT+r7Rxg5bxeS6UX7bgAQ1knairRc goRijdnWxTjWnZulIOztV9W6lEKkcI6942gUlzIg3abg3Kpc0jKtrSvHIfZ4jFwh82Jx z4qrlsEB+un4UsoIdZLvkvFMB7GI6EU/mvDcLPQX5OHLXsqyc6JKlWH2PaG3TYSJDDfC UT89H5GJHxyPO8mqRI9iTcSsYsg06oGo8zpSe0FRMGeLu+6S2cUiRX0r+ODhCTX2YrMX z/gA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=YgCnBFsbJtycGDx51uQ2GD887LusQTChTA0kc5peStE=; b=UKeWgGruFwUrYNq5eP7fhKwe1gIhsZFPJMQhWDhnsX0EWDEpi0oQhWK+rLdwwBWpwb X7g+ybEyihXOUTE95SSIgg35/mw+U6Wte2QAZiBLrL6IW7+kf9/84mtYS2HVlST7oPOV eE5GdEwGvl0/GrbH6tZgT86nBImoX/qFUz3HV8x3pkucsmBO7+gGuovxDlxn6D4+ihPX stb5bKmTLON1H81nqMAUyMBieJRGsJpx7xDg540PttiPxEQBx/Mo0O48okKHU8cq7HRY Zf2O37yzYLYc7+AQzVRmwdoE4SBKxyq2dwMuS0m4HaDjM9O87b6fa+n7O0VkNU6N0qbP fDew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=sgQIyFYx; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g9-20020a056402090900b0045879feb9fcsi2869782edz.185.2022.09.30.14.26.48; Fri, 30 Sep 2022 14:27:13 -0700 (PDT) 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=sgQIyFYx; 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 S232351AbiI3VFh (ORCPT + 99 others); Fri, 30 Sep 2022 17:05:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232192AbiI3VFf (ORCPT ); Fri, 30 Sep 2022 17:05:35 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF6C18C020; Fri, 30 Sep 2022 14:05:29 -0700 (PDT) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 5DBFA4D5; Fri, 30 Sep 2022 23:05:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1664571927; bh=yMPbFOlWA6DnUrGYk0efelboSLYqi558kgrzCCOcZss=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sgQIyFYxgzelUKNDM9EkplmoUAS7EnjG1MlPNcTrXxXb1BrmUpMTqbKodj8yQBfCl 6y4Wg1Qh/lAwAE82AH6EH9LpmeXgrdfBud868Za0b6MMTxaklfGv3U6r18dGkp85mR V3reQtJyugrKYkgOSQaZXq1fAHGIUQzC4J13LEFs= Date: Sat, 1 Oct 2022 00:05:25 +0300 From: Laurent Pinchart To: "Lad, Prabhakar" Cc: Krzysztof Kozlowski , Lad Prabhakar , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Philipp Zabel , Jacopo Mondi , Niklas =?utf-8?Q?S=C3=B6derlund?= , Sakari Ailus , Hans Verkuil , Geert Uytterhoeven , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Biju Das Subject: Re: [PATCH v2 2/4] media: dt-bindings: Document Renesas RZ/G2L CRU block Message-ID: References: <20220905230406.30801-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20220905230406.30801-3-prabhakar.mahadev-lad.rj@bp.renesas.com> <29d456ed-620c-8dc9-01f0-54f96b670b94@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: 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: X-Mailing-List: linux-kernel@vger.kernel.org Hi Prabhakar, On Fri, Sep 30, 2022 at 11:49:22AM +0100, Lad, Prabhakar wrote: > On Thu, Sep 22, 2022 at 2:46 PM Laurent Pinchart wrote: > > On Wed, Sep 21, 2022 at 08:58:26PM +0200, Krzysztof Kozlowski wrote: > > > On 21/09/2022 19:29, Laurent Pinchart wrote: > > > >>>>> + clock-names: > > > >>>>> + items: > > > >>>>> + - const: vclk > > > >>>>> + - const: pclk > > > >>>>> + - const: aclk > > > >>>> > > > >>>> Drop the "clk" suffixes. Remaining names could be made a bit more readable. > > > >>> > > > >>> These names come from the documentation, isn't it better to match the > > > >>> datasheet ? > > > >> > > > >> If datasheet calls it "vclk_really_clk_it_is_clk_clk", it's not the > > > >> reason to use it. :) > > > >> > > > >> The "clk" is redundant even if the hardware engineer thought different. > > > >> > > > >> The same for IRQs ("tx" not "txirq"), for dmas ("tx" not "txdma"). > > > > > > > > I'd argue that naming clocks "v", "p" and "a" would be less readable and > > > > more confusing. Is this a new rule ? > > > > > > Not really, but also it's only a style issue. > > > > > > Indeed "v" and "p" are not much better... but still "vclk" does not > > > bring any additional information over "v". It's redundant. > > > > > > You can also drop entire entry - unless it helps in particular > > > implementation. > > > > There are multiple clocks, so I think names are better than indices. If > > you really insist we could name them "v", "p" and "a", but I think the > > clk suffix here improves readability. If those clocks were named > > "videoclk", "pixelclk" and "axiclk" I'd be fine dropping the suffix, but > > that's not the case here. > > I have got the below details from the HW team: > > CRU_SYSCLK -> System clock for CSI-2 DPHY > CRU_VCLK -> video clock > CRU_PCLK -> APB clock > CRU_ACLK -> AXI clock > > So I'll rename the clocks to below respectively: > > + clock-names: > + items: > + - const: system > + - const: video > + - const: apb > + - const: axi > > Does the above sound good? That's great, thank you ! -- Regards, Laurent Pinchart