Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp900918lqb; Wed, 29 May 2024 14:10:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXaTrlD3OKIgP4FufGyjHxLih1sFYzksGOuV2hzhLAQ0ILLuRzmpiAiiTiKjakcRvOj9mubrheutF025wGihygn6JcEoiLiWtXnKvDYOw== X-Google-Smtp-Source: AGHT+IHXtG2JaV15HePT5dvMXTT8Mv7IHd/iRJW0t92RgWJDMZ2Y9CWg5ZBwPJITcfqoTOAGFAST X-Received: by 2002:a05:620a:70db:b0:792:9136:1d92 with SMTP id af79cd13be357-794e9dc8a74mr35612985a.38.1717017042980; Wed, 29 May 2024 14:10:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717017042; cv=pass; d=google.com; s=arc-20160816; b=USGbnxDm9u72HvNvJeyFqTTV1fGS6epZnfg1/jT+CJvEV8hEAX5wbmq6WBg0mz65IU YTIP6wWNYbwr4yH65ggGscjSfTf9od+6JiQubvkt2y8JUnExNSOKpck/lO/cqn5JPkOx cZNHKuuIish96qg9xTdcC61MPGtwt9fAaEPPedsccTfCVSKkPNSXq3YMzgRw4B/O0+Kg zQKux2Kj1hihyz9ZKl8K61pIjkPmI+qvgN0aPPxsVyz4lRCZ9aVRHufcJHEg54sEQLrU wm8vd3XwZPi6rYJwObJ5ev/o7dtpb9XU9Y49k3LeXngZeFtDwhsNaO5wItyX/oxvTxAO DUUA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=TeBhPfv3doSS7LHW7mFEHvT4SBZTyVzMD92UNoRgcAQ=; fh=J5oszbPtv1kqWRD/eo5S2aJualiBPR89WS4UzX7xR7c=; b=RqbvnCjDX7Aw5/ry+l8IpDZR67jWAUeUdzuD8nBenCWHnBltZedYWYbvkjyqnKrF56 NuKczZYZ73ybqcMuFTvhiCqGtIAjVSpVsSMODj/YpAZZ8UaxNjG05VzIilwrMldd0jrh SqSAMuBrXqoiwe7JSdTdPnC0uLbOj2+16J41Qe7v+ZIJFq4DbF0jI0EBjkYc+pOX2Rgc 6PwsvLRsUHr5xy8nMR7wIO/+sVVLpfzOWhe7HipHfHhS6yfnH1iuN3W1HruKQ6HPWDbh EH0kVCCtDPIX5TmLVsn0kvTLzXMU7+r8s1SqsxXb4iH6sentZNzj+pI3t5S2v17z2ZTq Dweg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QWSteaDg; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-194695-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194695-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43fdc805633si43728331cf.699.2024.05.29.14.10.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 14:10:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194695-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QWSteaDg; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-194695-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194695-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A3B721C21CAD for ; Wed, 29 May 2024 21:10:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DBFCA1C8FD4; Wed, 29 May 2024 21:10:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QWSteaDg" Received: from mail-vk1-f176.google.com (mail-vk1-f176.google.com [209.85.221.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A9A7F1C8FA3; Wed, 29 May 2024 21:10:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717017036; cv=none; b=urSPS9qMNfQXsC4A8kEDoDw9gVxyXqln9oVTPvWY4SYo9H/mcBuDegojDOM5L+pyDvBVQPiWOGOcqq4oF5PuTWY08FneT9wRnc8+FgSn38VyMolWklI6F6iCLuHD6rMKX/fxml1zb7c77wSfZIbo88u7US1GiqNPh+YLUmR5dvo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717017036; c=relaxed/simple; bh=TExKMv+4EbRU2xpWl+6GrHNg8ZxwE5ZYEj2H6DGcaR8=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=jDvEu1ORy93dcq+IDWzyRztDjX+TMoOq8ZleBNu+6+uf5tnEhYe8VgTH86InREFO6CS00nLMpUCiXqLO4GjZDX+hxncs0oFC8o/Hz9/BMv0BQXQk1mK9aG6iaNhdpUE8Iywzbdy2oTrszDwl39jlfmbyP1VBtDr6oyejlVYOt8g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=QWSteaDg; arc=none smtp.client-ip=209.85.221.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-vk1-f176.google.com with SMTP id 71dfb90a1353d-4eaef863a08so65167e0c.1; Wed, 29 May 2024 14:10:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717017033; x=1717621833; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=TeBhPfv3doSS7LHW7mFEHvT4SBZTyVzMD92UNoRgcAQ=; b=QWSteaDge+gQWr85WPnZw+lNF+JMkGp2Xrcna3hgpxMpew8UHwirLj+AH+jNsW3P6g A0KY+wDV9UihhCknFduXtF4ACo67Sga4zS3GfnQLVvsV2b/SaBjuCv5YcUxJsuUalI6s EXKEr8FJKnr/SWzvXsZPlk/GvIcp40+895F4HOfR9StJg9lJ+SOV4ZBUllaPP7gnOQi/ 70WWFAaiHr8hD8JkT67/atSaec+jdTSQmqcOPK1fK9ozUVJKAEg1ZmKepLP8m6NBMyGW sQP8To7sVJwJmupQFlMG3h4jgSjQHOERssovu9jZENY9VNIEE1qKwJ3dtiU7VfqIhne+ TqPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717017033; x=1717621833; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TeBhPfv3doSS7LHW7mFEHvT4SBZTyVzMD92UNoRgcAQ=; b=T7RmyzB0WgCijf2OCl3SPKH3ndwr7g9WzwrdW3LKGbWg3ubwHjFPIlhRrTnIRWkGax sfuNT99EdVKiwZiIZvI+C3yCTF+zBRLqbp6KCVbWwpjaavYW4/QxKYkDgYCe/Q8rFqq+ dn/U5AOxHZ0MkNPvFu2MxwEWBsYj+8jYUAKBJQwhdo1FlW6ats/5WhnOsUm+HrC+69nU Tf/BOWfLmQukcQffYqzDt2Y4NuFwHwWl6+w4v86q5Zc42L0UVUcrqF/fztk3iQblocMr 6Ikd3RKSs8eNiKowrMgOFpeWH2Q+DhQGKtIjTByS3FV/aYp/c/NkKIrg9n6httO51fvN 6avg== X-Forwarded-Encrypted: i=1; AJvYcCVqhbwyy9cAu9B4OFibVoKDpYG5239kSlAPxgwipI4xOyOV6ScNQov8G7ZOTKZauZ/m1zrRAmdBTJKB4wd8XhLCWH2TE9qPcaf2z3cS0l/YVFU08Weta9vTuoTYKjnGH1SH3k2Nn/rch/jMstnYwwGSwD7fat4xc6CFjv7YwF4HlEKyXTbL0rpVihkFfqRfP4zgIhqO5e24m6EkCQA2BbAOFwmbsm2M X-Gm-Message-State: AOJu0YzWHBdWSoPcZFc9mTtwhTIY7cgW06jbsAwx+4u4fpk3Pg1DDlfu zwjwazZ4I2hBTO4MpmWHLlCjHhFLqG6sLVxcERBtGuOg4Q5VjTrn/hSVsYoEUNWoXieB+SZUKjY v/hnYg64KY7tCbymJlwU/I9GhxRqJ+LzYOiY= X-Received: by 2002:a05:6122:91a:b0:4e4:e98a:7b02 with SMTP id 71dfb90a1353d-4eaf2186157mr318895e0c.4.1717017033385; Wed, 29 May 2024 14:10:33 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240524082800.333991-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20240524082800.333991-3-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: From: "Lad, Prabhakar" Date: Wed, 29 May 2024 22:09:14 +0100 Message-ID: Subject: Re: [PATCH 2/4] dt-bindings: clock: Add R9A09G057 CPG Clock and Reset Definitions To: Geert Uytterhoeven Cc: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Magnus Damm , linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Fabrizio Castro , Lad Prabhakar Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Geert, Thank you for the review. On Mon, May 27, 2024 at 10:18=E2=80=AFAM Geert Uytterhoeven wrote: > > Hi Prabhakar, > > On Fri, May 24, 2024 at 10:29=E2=80=AFAM Prabhakar wrote: > > From: Lad Prabhakar > > > > Define RZ/V2H(P) (R9A09G057) Clock Pulse Generator module clock outputs > > (CPG_CLK_ON* registers), and reset definitions (CPG_RST_* registers) > > in Section 4.4.2 and 4.4.3 ("List of Clock/Reset Signals") of the RZ/V2= H(P) > > Hardware User's Manual (Rev.1.01, Feb. 2024). > > > > Signed-off-by: Lad Prabhakar > > Thanks for your patch! > > > --- /dev/null > > +++ b/include/dt-bindings/clock/r9a09g057-cpg.h > > @@ -0,0 +1,644 @@ > > +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > + * > > + * Copyright (C) 2024 Renesas Electronics Corp. > > + */ > > +#ifndef __DT_BINDINGS_CLOCK_R9A09G057_CPG_H__ > > +#define __DT_BINDINGS_CLOCK_R9A09G057_CPG_H__ > > + > > +#include > > + > > +/* Clock list */ > > No distinction between Core and Module clocks? > I was in two minds here. Would you prefer clocks with no CGC support to be listed as core clocks? > > +#define R9A09G057_SYS_0_PCLK 0 > > +#define R9A09G057_DMAC_0_ACLK 1 > > +#define R9A09G057_DMAC_1_ACLK 2 > > +#define R9A09G057_DMAC_2_ACLK 3 > > [...] > > > +/* Resets list */ > > [...] > > No power domain specifiers, as mentioned in PATCH 1/4? > OK, I'll add the power domains in this patch. Cheers, Prabhakar