Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp1186772lqb; Thu, 30 May 2024 03:00:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXq+3EgHkUyZNcQOCHrPgXY6JtG+ktfCFrCp8DNZq4+v6NMarjdgFsfKkgodkN0H9JsMw3PwoVarI3tnsupQ+H6afS59nKOwChaC5/NCQ== X-Google-Smtp-Source: AGHT+IHUSnYpvLn7lUHELgieQpl6OkNl6cz5SjGYd5nbY8I5xVWQBvkxRCf1JhzbA5l3oEAq5Rel X-Received: by 2002:a05:6a20:3caa:b0:1af:f8e7:76d4 with SMTP id adf61e73a8af0-1b264544d4bmr1687403637.18.1717063230046; Thu, 30 May 2024 03:00:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717063230; cv=pass; d=google.com; s=arc-20160816; b=bF2i6kEk7hwVHznznnix79uQZu6nt++Wb3ZuUxq1G9ExbT6bSPK9y/uTGQ3nH7DVZC ar+01X0QV6TMcYoIwu1+Us9jt7BJwDd/0rErRyJ8lzbly6wScZm7LfTOn6CBO+CSUzF9 ITGCvOtojVyIJeissu9UnE+DvK/cD9fCEaUyDgRc06KuOM4htXMQ1u5oCmWZ2RD6Lz8j J9YHzsEB24/Sy4opsHz7xia68L/lLELImcvoo9PKsZa/y3MjXsEJnK/M4fc4M/49o/nU SaXMJlIbV6GrehKn4SO41VP0X9L010xWbs2R5KQ4lBkgzEdi58KXhjhnGp8cc912voMc uPDg== 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=QZk2m4t/wZBrewLqNHs/q5cnCydB/XmJjrbH3KZsxkU=; fh=P/NWiAgTXbCt+keItlv/toNh/GztxTPNtL6e8LpILsw=; b=YvobQdmXF/00sS3AwU27RiatlSTWx/DlIabyIS4FFskHmTBm73LuSJVoswulAf62ZR RkntNBkVXkvDlWHVlklctEesraDhlvMB5f7oIUFlyMQX69siucnaKUHwRWPAcB1TY/wS FlXSB4Frcz+GKkmtIwMNdtW51yskw1+GHOcebUAcxPMmP0qkP37d8frGk3DBAT+NyTCN aJMVHPtGX11R99G1hQ5Vq0S4xulJ3nELEHmfVeb/SRb7ojLbj07O2jvgq56iharsJl7w 4ewB4ZP2LxRWy/dL9DXed1Ejnfc7CpcXotXnaReFxIbC+7Dg2ghYcWZuBzsInwQlv7tJ p6rg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=B9em8k9x; 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-195221-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195221-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6bdd5208f9csi1995275a12.665.2024.05.30.03.00.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 03:00:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195221-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=B9em8k9x; 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-195221-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195221-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 98712282E9E for ; Thu, 30 May 2024 10:00:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 85D611761A2; Thu, 30 May 2024 10:00:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="B9em8k9x" Received: from mail-vk1-f169.google.com (mail-vk1-f169.google.com [209.85.221.169]) (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 392626F2FB; Thu, 30 May 2024 10:00:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717063221; cv=none; b=XRHNmyr2f9/cIcxxwK5xekWKtPHKTWJGKUAdFBHaKSD9VXkWMhblVL8zgaey8i92slv/WgYJPfuxhU7j/ZIMjKap5LrZO/QGO7Ixr6efhyesI4UWGdITJnW/QBdayFW7WPQ275xuAColcnhdzXi4XXXUUG4GQSUw76yHFTpxRO0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717063221; c=relaxed/simple; bh=wzG3/oKSlCu97jSI7tiR1af+kcAssbvebzFAiTXOfN0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=d2/OepSNPKXim30Jo0WILBfy85/4bKALTTiEU1tTlwZx05AKWJllD0SdqtRu82kRUMPCfljpcbEGPVf0kNBRSw0On0dVKz/emoxYQ8Z6pNDXtGo2AdVpaKRZFkynVPGu+M5sRH1gZ4kQJi1ImMCHTJISs1PMpJyVhSxv0cEEgyQ= 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=B9em8k9x; arc=none smtp.client-ip=209.85.221.169 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-f169.google.com with SMTP id 71dfb90a1353d-4eaf633e879so117206e0c.3; Thu, 30 May 2024 03:00:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717063219; x=1717668019; 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=QZk2m4t/wZBrewLqNHs/q5cnCydB/XmJjrbH3KZsxkU=; b=B9em8k9x7t3ydFRLs/HwevWakKk8S+S8RSo50LEskbfDzIoCtjikI1BUIE5VGwyaU5 C4Vt09Wt2/MxuQ0hyvtEwJQxXaFdxbwVz/XPi2Tmu/MXH0bW8hbmDDuutPxh9hzz356K 8wcI2sN9SW16ejXrSyZmKMN2hPk0EdiR+owfNr77AdqRYHkwJPHdjz6+JX+v6lZjfedZ seZ/ElUGo2Q9GfImj/oAs1Ufaz17anLxJ54JyWVbwWiZM+kR8vTTcaNd72b1TMkiGxjQ AwA8uVzQBWeFjCopomLVPNGzZCll2AMfb8asnZuqeKc2eZhS9XWQK3+b6It79Endmexf P0Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717063219; x=1717668019; 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=QZk2m4t/wZBrewLqNHs/q5cnCydB/XmJjrbH3KZsxkU=; b=W5oUUoUQ5aVexr7Sm+aNn9W68Igs5Sw/TiHheV1NDWsJIHqtwruJV+R9ixkepj0ASd QoVYpOieWj9rCVzzBfSxUoGtiOXmHycfOIIYVsDYWbTZUF4ZD8INWR/i9eyxYYAvkmpt G1YmFwf0C4A7cGCAYgM3W/lDaggJ3ovsMv0xZ9gNGJN6bi+6Xx0ismINpAXimCkc2Kp8 GDzknWIEEIoC8evG8RpB5ajzBlos3WBeXPNWlY7b2Tf8ipUebHT/3UCbT+KcT60kt2FK aMXu9I0KvsDAdabKj6KNxNPbtrnIZqKFjue+BGqCdCKkfedRLxaZqPFveqMHhRbkD/i4 XvNg== X-Forwarded-Encrypted: i=1; AJvYcCXruHuFBHRcC5CRLaV3Pt6iFVTOm+5hRGsFlWgeGaQ9zeT0+RmGT/N1/MKi1a6M+9Wx02cOJ3Qy15rVUJDxPOq8XAzkxSzD1yZbht7fgaskAtQKxrfRn3D5YWQvhXs4pXAIh6DCnmcCoPRhm7V522Iyd5QhZhmKXDHnQVGAa/J/EmUhX06YVYugG+DSenxqpqp/GxPNvLJgRKq870CT1lYkFjJ1XIpS X-Gm-Message-State: AOJu0YxQ3Nsa/AF40igsczWYpSCRQLRl2JsbEvXoLj4gsw1HMOQkNfBT +9Q1ywzO4tF+AHgT2PyN6vUXc49ux1k1npAag17kz4oItQDw6W7XW5bwN81rgWgsW/D5H5LUEbU 38XoTbe1BvwKufZIacoN2IZjn+nY= X-Received: by 2002:a05:6122:319c:b0:4c9:a9c9:4b3b with SMTP id 71dfb90a1353d-4eaf21bdbcemr1889915e0c.9.1717063219050; Thu, 30 May 2024 03:00:19 -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: Thu, 30 May 2024 10:58:59 +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, On Thu, May 30, 2024 at 8:12=E2=80=AFAM Geert Uytterhoeven wrote: > > Hi Prabhakar, > > On Wed, May 29, 2024 at 11:10=E2=80=AFPM Lad, Prabhakar > wrote: > > On Mon, May 27, 2024 at 10:18=E2=80=AFAM Geert Uytterhoeven > > wrote: > > > 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 out= puts > > > > (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 R= Z/V2H(P) > > > > Hardware User's Manual (Rev.1.01, Feb. 2024). > > > > > > > > Signed-off-by: Lad Prabhakar > > > > > > > --- /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? > > What's CGC support? (Obviously I need some more reading before > I can tackle the rest of this series :-) > I meant the clocks which cannot be controlled by the CPG_CLKON_m register. Shall I add them as CORE clocks? > My comments are due to the bindings saying: > > '#clock-cells': > description: | > - For CPG core clocks, the two clock specifier cells must be "CPG_C= ORE" > and a core clock reference, as defined in > , > - For module clocks, the two clock specifier cells must be "CPG_MOD= " and > a module number, as defined in . > const: 2 > > while the header file does not make it obvious whether a clock needs > CPG_CORE or CPG_MOD. > I was intending to drop the CPG_CORE description in the next version. Cheers, Prabhakar