Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4177495pxj; Tue, 8 Jun 2021 08:12:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxG5HbiUiGcNZ7wAm7dUamtYaHCa97GP+duT8+F7GG+M9hNY5ldyuwldu9qhYe9LCAXBqlU X-Received: by 2002:adf:e485:: with SMTP id i5mr23035701wrm.214.1623165149299; Tue, 08 Jun 2021 08:12:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623165149; cv=none; d=google.com; s=arc-20160816; b=uFgbvXI62E1vGcQLdkEB06E0gCcmLhvINiJ8sPwyi4DPzr6h/gO3OU85LEAQ+kawey Z0dPR5c71geVjnO2bSjccvfDJYYyRAMBjcLp+zwPjqJijoummPTcUiJU6rEqREqcaprf j22qb5ofHk6iB7I35UYbqlH+pMkiPOxZ61Ml3JtoYwfdjrs2gysANjPNMAISYQDRzvAS TQAj/cCcE6VDJrOkjuJtonGG72D9u60DFOerBwyOQ9I0bXLlyy2JhM1nG01JQ0t+q8jy PlFWLxc3R7OgTJH3EKpkjoOrFRuvlGUXwxEE9rZqGwXDE8Tta/4eOSKgjIsb0ZYZRpCg d+1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=kDiaD0QpBOMcE0PMxzMhL3MWciIvjsNbxKoMrmcmJ1E=; b=KfGVVCt7RwL0e58uL0ZwsM/hGxihPK+0bZ7xeNoztdsb8LOp1zy+QsfMKvrLXYZDnC Ifc52+ahhNKtWQs7vcuuqyDYjZhnWqv0p3hg6fWZDkNfAdzgD4bXQS4qu3NdhX/gXsEf LQqlnAGm2lyqaSBWrP86oxAz8w/6wK/bT877qeoo7vVRqdfmeoVBoA3ImCbc+eHOk0qO se3WH+Y/jb6DkFrBOUcjxiAD6YtD0Muf1RRWFIkkp9xSf8lw4ixVNTjKa2f7QorY1JNX eHDyJJhCkKizU4ARTLEL+wiZaUc4LNe+MAsEcqlfAdQ5qx5+GMxEJJAWd76jG10yiP9R g3kw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z26si14775751eje.396.2021.06.08.08.12.03; Tue, 08 Jun 2021 08:12:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233821AbhFHPKv (ORCPT + 99 others); Tue, 8 Jun 2021 11:10:51 -0400 Received: from mail-vs1-f43.google.com ([209.85.217.43]:37629 "EHLO mail-vs1-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233538AbhFHPKu (ORCPT ); Tue, 8 Jun 2021 11:10:50 -0400 Received: by mail-vs1-f43.google.com with SMTP id f21so9319456vsl.4; Tue, 08 Jun 2021 08:08:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kDiaD0QpBOMcE0PMxzMhL3MWciIvjsNbxKoMrmcmJ1E=; b=DVIaPQiMT2f6/br4gxxxljYR9VsAw4ZfIxPyT2aAhnwyi3mPEWB7PhWXxg4kAH1kGK oo86pgy8/CzYjycUqzFS10DmvMcWZTrX4h8RBLoz+4vu9MzOvWunrPT+oF26UvsL9Tz2 ugxtYYzsrHSqWyHh40yrf2CgZa9Kdz779HvYKVlylIRKM/eqxWgdrRX8PYRdhPQBjfMT FwzKgZswvbvYWp07vf4eecz2/8vI7VwAPl2awEAZqmO9V2nwYy0P8u+Cm236mH/gg9tb EyDC3zEMzLZMBjTAwVP9KA/DyOHi/JtXjQbahdtoWdDAdlaT5Jv4StvlUSKZ4J1BaeNo zguA== X-Gm-Message-State: AOAM532ryh2M3DYsGVgV3a/f7Rf8iA/RnXdchhfaD2PZAt+z2aDstZ6l 9F/w2gXxVjBDtVKnh5FXYlUWsSdj/z2gtZSAX1o= X-Received: by 2002:a05:6102:c4c:: with SMTP id y12mr658970vss.18.1623164936724; Tue, 08 Jun 2021 08:08:56 -0700 (PDT) MIME-Version: 1.0 References: <20210603221758.10305-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20210603221758.10305-8-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: <20210603221758.10305-8-prabhakar.mahadev-lad.rj@bp.renesas.com> From: Geert Uytterhoeven Date: Tue, 8 Jun 2021 17:08:45 +0200 Message-ID: Subject: Re: [PATCH v2 07/12] dt-bindings: clock: renesas: Document RZ/G2L SoC CPG driver To: Lad Prabhakar Cc: Magnus Damm , Rob Herring , Michael Turquette , Stephen Boyd , Catalin Marinas , Will Deacon , Greg Kroah-Hartman , Jiri Slaby , Philipp Zabel , Linux-Renesas , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , linux-clk , Linux ARM , "open list:SERIAL DRIVERS" , Prabhakar , Biju Das Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Prabhakar, On Fri, Jun 4, 2021 at 12:18 AM Lad Prabhakar wrote: > Document the device tree bindings of the Renesas RZ/G2L SoC clock > driver in Documentation/devicetree/bindings/clock/renesas,rzg2l-cpg.yaml. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Biju Das > Acked-by: Rob Herring IIRC, Rob gave his R-b, not his A-b. > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/renesas,rzg2l-cpg.yaml > @@ -0,0 +1,80 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: "http://devicetree.org/schemas/clock/renesas,rzg2l-cpg.yaml#" > +$schema: "http://devicetree.org/meta-schemas/core.yaml#" > + > +title: Renesas RZ/G2L Clock Pulse Generator / Module Standby Mode > + > +maintainers: > + - Geert Uytterhoeven > + > +description: | > + On Renesas RZ/G2L SoC, the CPG (Clock Pulse Generator) and Module > + Standby Mode share the same register block. > + > + They provide the following functionalities: > + - The CPG block generates various core clocks, > + - The Module Standby Mode block provides two functions: > + 1. Module Stop, providing a Clock Domain to control the clock supply > + to individual SoC devices, > + 2. Reset Control, to perform a software reset of individual SoC devices. > + > +properties: > + compatible: > + const: renesas,r9a07g044-cpg # RZ/G2{L,LC,UL} Shouldn't RZ/G2UL use renesas,r9a07g043-cpg? > + > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + clock-names: > + const: extal > + > + '#clock-cells': > + description: | > + - For CPG core clocks, the two clock specifier cells must be "CPG_CORE" > + and a core clock reference, as defined in > + r9a07g044-cpg.h > + - For module clocks, the two clock specifier cells must be "CPG_MOD" and > + a module number, as defined in the . r9a07g044-cpg.h > + const: 2 > + > + '#power-domain-cells': > + description: > + SoC devices that are part of the CPG/Module Standby Mode Clock Domain and > + can be power-managed through Module Stop should refer to the CPG device Module Standby > + node in their "power-domains" property, as documented by the generic PM > + Domain bindings in Documentation/devicetree/bindings/power/power-domain.yaml. > + const: 0 > + > + '#reset-cells': > + description: > + The single reset specifier cell must be the module number, as defined in > + the . r9a07g044-cpg.h Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds