Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp5691070rwb; Wed, 21 Sep 2022 11:00:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM74Qs6tjJPKpCctqI6qOPDvfreQ0ssQEeFONWj2OTtZCso5Sv5CL8M01As00n9NUGNLUhRl X-Received: by 2002:a17:903:11c7:b0:178:afa2:43fd with SMTP id q7-20020a17090311c700b00178afa243fdmr5941503plh.126.1663783226254; Wed, 21 Sep 2022 11:00:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663783226; cv=none; d=google.com; s=arc-20160816; b=ValqC6uRzVEGrIJVcGKPfNVxOxlyXXtROTDqsvjJmQSTwM1ExDNIrkeS7TTs9blyLK ySYH711SvG399HLSd6cNe5QwNBFM5+mAnb1DHFZ1ltgsk3wJeISeecu6KdXIX8+5oWib morvc/dbV7ab/7AlFp7eQQLWWd1BvRPbULRyOdhi4956/7MYRe9taMH8+RA9fkr8vyge z/VV2J2MVmSX7VOI/uCdfXHnAGebemmhOoHIbbHZkyAR9S2jxH0pTU3AA5jUan69/Sw/ 6WuFsINQjB4E5LkBAdnpa16pH1/i40mLekHQ/M5DyL63HEXGWioff6h7UNgO0RPejF5J S59w== 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=6u97RSNRV6rz/8WfY/KN/qcSeWktCwVEjWJgrOZPBlM=; b=JabIZEpTOSTlFNzUahbH/t/MOPVlPEWA5T8Zj08uoijzQiskVHiGzZIkQK+J6/5DlS fF5PPKVtqCwzJv3ETJfCpu7C9Sdn93I4ugyyIimJbYbsV14ir/equFYlYKf8ERocsZFw 8oCr2ILIlzNgbaMiBIYGsWhqGhoOsuvB8Zgx2nKhqPNfoLuljprEFsMMwq2E8/4Q3/gO WQ5MqGnhBeLGwH1qvrgWSKOdRsATTfLV7hWgfox+SIXqpV1sApYdji75Mv6AVrtfcdw9 m2UGEp4Wi6EyFOhunRn7wMuy2fg1OG8e2GpkU99Y+hiTWbeIRIjAQbTPRgyptgyLGq3u MZQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b="U8y/mjr2"; 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 x190-20020a6231c7000000b0052eb0d3a27fsi3288350pfx.157.2022.09.21.11.00.14; Wed, 21 Sep 2022 11:00:26 -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="U8y/mjr2"; 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 S230165AbiIURaA (ORCPT + 99 others); Wed, 21 Sep 2022 13:30:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229691AbiIUR34 (ORCPT ); Wed, 21 Sep 2022 13:29:56 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE1567EFEE; Wed, 21 Sep 2022 10:29:51 -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 3BF562B3; Wed, 21 Sep 2022 19:29:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1663781389; bh=xPqHUNUFG+tIvsP/BcL8a2dVocDkJmX1/1xwEyvJHwU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=U8y/mjr2jud/ZjWrTt73gyYEqC8uMIQDNaWQFlbo/D/XfFcTfhzFwbzaHzWc+m7lG mEXQqzHxzLc/HR00fLFyeJHlcLEE4i1sBQOya2wc9fK5uIqB9sLYyZ4j1ZmV1L2rpA SrLQopUnBYvQDo91oTG8k1g7w4nPtSDMApvmv9D0= Date: Wed, 21 Sep 2022 20:29:34 +0300 From: Laurent Pinchart To: Krzysztof Kozlowski Cc: 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, Prabhakar , 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 On Wed, Sep 21, 2022 at 05:51:29PM +0200, Krzysztof Kozlowski wrote: > On 21/09/2022 14:43, Laurent Pinchart wrote: > > On Thu, Sep 08, 2022 at 01:40:39PM +0200, Krzysztof Kozlowski wrote: > >> On 06/09/2022 01:04, Lad Prabhakar wrote: > >>> Document the CRU block found on Renesas RZ/G2L (and alike) SoCs. > >>> > >>> Signed-off-by: Lad Prabhakar > >>> Reviewed-by: Laurent Pinchart > >> > >> Thank you for your patch. There is something to discuss/improve. > >> > >>> +properties: > >>> + compatible: > >>> + items: > >>> + - enum: > >>> + - renesas,r9a07g044-cru # RZ/G2{L,LC} > >>> + - renesas,r9a07g054-cru # RZ/V2L > >>> + - const: renesas,rzg2l-cru > >>> + > >>> + reg: > >>> + maxItems: 1 > >>> + > >>> + interrupts: > >>> + maxItems: 3 > >>> + > >>> + interrupt-names: > >>> + items: > >>> + - const: image_conv > >>> + - const: image_conv_err > >>> + - const: axi_mst_err > >>> + > >>> + clocks: > >>> + items: > >>> + - description: CRU Main clock > >>> + - description: CPU Register access clock > >>> + - description: CRU image transfer clock > >>> + > >>> + 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 ? -- Regards, Laurent Pinchart