Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2038624rbb; Tue, 27 Feb 2024 08:47:40 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXn10I2v3VIY3h4DzVp8KYMASYB76jfWe18XuSFBbMmgXaUWEcYQHt37IoIjY4TmbWgNae0Xw23q9i1sagT4RkBFJlzuHsla1eZgE+odg== X-Google-Smtp-Source: AGHT+IF9+eFurmIMSsVBPWtllPfERXCC25mnFp+dqwNx532ORjdiuPw3CjOGlIc2x6vAihE8hF0R X-Received: by 2002:a17:903:32c6:b0:1dc:b3bb:480a with SMTP id i6-20020a17090332c600b001dcb3bb480amr4006830plr.49.1709052459861; Tue, 27 Feb 2024 08:47:39 -0800 (PST) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id h18-20020a170902f71200b001da1d2ad541si1639385plo.572.2024.02.27.08.47.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 08:47:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83641-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-83641-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83641-linux.lists.archive=gmail.com@vger.kernel.org" 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 84AAD280A9F for ; Tue, 27 Feb 2024 16:47:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E22063839C; Tue, 27 Feb 2024 16:47:24 +0000 (UTC) Received: from mail-yw1-f174.google.com (mail-yw1-f174.google.com [209.85.128.174]) (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 1F5181DFD6; Tue, 27 Feb 2024 16:47:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709052444; cv=none; b=WQFGZl+cuNEBwBj4IFf+kE7DCvmnubYzZIglvKeZIInJSeODIVg4cMSsh8Z3S6RI7shA6z8a3IPIUKeFNnBcxXhOGQSk3v55sLf5KysyZCRQi94AvGiIYMy6SGcMsGUzPR19dttAEa/oJCnINQEK6jeMUGmWB5eDsWL0HWwpT4c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709052444; c=relaxed/simple; bh=w+3Y27YFvPohbGAsamVSlkBcsUGcGXiVR3IZlJQZcl8=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=rWUyPNTWnRfXdGMBpdiQ7L1T0TuxwX7CPD8J5zbeeesOq/PLcf+78q8X2DoIE8oy+7cz/q4i6WFYzWvj0gpMifiU6eh5omtxZ0FfRMpDy6JGQ856qtGvHUQvtFo33fNKMDYNwK/ctwvTS/EDdbE1g55VO7qxxzL+Ad51v8z1Ock= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.128.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-6091e12b01fso17512147b3.2; Tue, 27 Feb 2024 08:47:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709052440; x=1709657240; 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=HZPoTNL+iADoSj5Qyix6GRoCmMKDXGJWybMxRcvYTvA=; b=u+PC83ET0ano0JGM0XxB7c01cKkwDPee53JedTeitWLd+m5870KxUaGFr56cxWit2W dknGEdZvHv5ck76TR+uTUZ6yQu2adhMe6XbHYY2A4Rb4pjAumYeqry/nASoVaUuNHlQ2 G1E+Hdp1P5gICXX175hn9hrGTpSZE4W9vsqa7fTrB5+lB2pCPpvS6Tm3kxZYdoJ380Iv r0o+U0OkW/dL/wHBDMs9y/gwRNuoGb13HYC+NhZr6H2dpJce/ad2QQ9pjGKSeg4T/ENP 6IZXWoZHc4An/jLE1t+FJQEoP5P13be870+x8tGAIxrZS7pDUVaYv0GsFsHOKhF5iBmL a5rQ== X-Forwarded-Encrypted: i=1; AJvYcCWDKWiMafiu7gT7P6D8TZ4lmdb+OypLZ1F4zLrGD0b8Iucm/b4BKwv4ahodTw4Aw/N5JquCs/VcuyQ0bUAsj05BvP7Th5wlZKBGA2pNPg3PgIzNxVaXx0CNtg/n6vR+GWKO99D0tFztcqayGLZOKczGfIS70ToEOjM0epscuWd2q1p5IcbBhcotwFvzfJYenQTHP4oSEfJFbmsbvFG9FV0Ef2yTn2IgxdWiWuJ82S+DDlmtMfboAIuC9MJGoapf3YiBVVjJAVlw9149WINqSzynvyZMYZLlYPu7rCO7WyUgK+PGRc+yG4McYLBMOY2jJtDFCYKGxsQphMLB5MTRO1exQbAbPjlxIVFxY7vjr5rfVQV4lkifX7U= X-Gm-Message-State: AOJu0YxkYPBELvroJp9EWJY6Ol4X4vIIR+LI/4MuTg9UXfqs5nGkg9fu w9cabhlKNQxMouDmh0z4OlcA/2nOQMAOh6ryTdgGfouFVkGNUf0fyLjw33i/QtfGFQ== X-Received: by 2002:a25:4656:0:b0:dcd:741f:490a with SMTP id t83-20020a254656000000b00dcd741f490amr47506yba.7.1709052440289; Tue, 27 Feb 2024 08:47:20 -0800 (PST) Received: from mail-yb1-f170.google.com (mail-yb1-f170.google.com. [209.85.219.170]) by smtp.gmail.com with ESMTPSA id g13-20020a256b0d000000b00dcd25ce965esm1453441ybc.41.2024.02.27.08.47.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Feb 2024 08:47:17 -0800 (PST) Received: by mail-yb1-f170.google.com with SMTP id 3f1490d57ef6-dcbc6a6808fso3801463276.2; Tue, 27 Feb 2024 08:47:16 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUnw6ABU3AatoOzEqVzSRXCrVhNUn4LIXE7EI9/Z7g56MFmlRck9Y5cKb9GUQLh7WqGWhOs3U92R5WG4r+s8VHMw6mgrMXdZD6GMh9AsouF5gk3FL7aja7eDY3Ki8gAFb9f5GAO4CoDL1xjnMb0fKSJ+KPmBJb35nv350Yr3sj6LkDQWKtD/PUWGe8ryUMQJ3nMmjViqdpK5X8edoE3HGyHY3QtFux/zXzxDLQrZiGn0aYHHxNirbWdXak9LP2K5C86O346bzxJRkULhJav15BDZRgKhlZtqp3vdfKD8TiuW391FkcyMjpU4K6ydcnKMIr5ojICr0WEIw+6tTPSJuJwl9eMzHukH7KohBnhHIKiuCTDhKJBcRA= X-Received: by 2002:a25:81cd:0:b0:dc7:776b:5e4a with SMTP id n13-20020a2581cd000000b00dc7776b5e4amr10070ybm.56.1709052436589; Tue, 27 Feb 2024 08:47:16 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <8dd000fd9040804ec520b76de1b026747e16fc2c.1704788539.git.ysato@users.sourceforge.jp> In-Reply-To: <8dd000fd9040804ec520b76de1b026747e16fc2c.1704788539.git.ysato@users.sourceforge.jp> From: Geert Uytterhoeven Date: Tue, 27 Feb 2024 17:47:05 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [DO NOT MERGE v6 13/37] dt-bindings: clock: sh7750-cpg: Add renesas,sh7750-cpg header. To: Yoshinori Sato Cc: linux-sh@vger.kernel.org, Damien Le Moal , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Michael Turquette , Stephen Boyd , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Thomas Gleixner , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , Bjorn Helgaas , Greg Kroah-Hartman , Jiri Slaby , Magnus Damm , Daniel Lezcano , Rich Felker , John Paul Adrian Glaubitz , Lee Jones , Helge Deller , Heiko Stuebner , Jernej Skrabec , Chris Morgan , Yang Xiwen , Sebastian Reichel , Linus Walleij , Randy Dunlap , Arnd Bergmann , Vlastimil Babka , Hyeonggon Yoo <42.hyeyoo@gmail.com>, David Rientjes , Baoquan He , Andrew Morton , Guenter Roeck , Stephen Rothwell , Azeem Shaikh , Javier Martinez Canillas , Max Filippov , Palmer Dabbelt , Bin Meng , Jonathan Corbet , Jacky Huang , Lukas Bulwahn , Biju Das , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Sam Ravnborg , Sergey Shtylyov , Michael Karcher , Laurent Pinchart , linux-ide@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-pci@vger.kernel.org, linux-serial@vger.kernel.org, linux-fbdev@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Sato-san, Thanks for your patch! On Tue, Jan 9, 2024 at 9:24=E2=80=AFAM Yoshinori Sato wrote: > SH7750 CPG Clock output define. Please improve the patch description. > Signed-off-by: Yoshinori Sato > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/renesas,sh7750-cpg.yaml > @@ -0,0 +1,103 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/clock/renesas,sh7750-cpg.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Renesas SH7750/7751 Clock Pulse Generator (CPG) > + > +maintainers: > + - Yoshinori Sato > + > +description: > + The Clock Pulse Generator (CPG) generates core clocks for the SoC. It > + includes PLLs, and variable ratio dividers. > + > + The CPG may also provide a Clock Domain for SoC devices, in combinatio= n with > + the CPG Module Stop (MSTP) Clocks. > + > +properties: > + compatible: > + enum: > + - renesas,sh7750-cpg # SH7750 > + - renesas,sh7750s-cpg # SH775S > + - renesas,sh7750r-cpg # SH7750R > + - renesas,sh7751-cpg # SH7751 > + - renesas,sh7751r-cpg # SH7751R > + > + reg: true > + > + reg-names: true > + > + clocks: true clocks: maxItems: 1 > + > + clock-names: true clock-names: const: extal > +examples: > + - | > + #include > + cpg: clock-controller@ffc00000 { > + #clock-cells =3D <1>; > + #power-domain-cells =3D <0>; > + compatible =3D "renesas,sh7751r-cpg"; > + clocks =3D <&xtal>; > + clock-names =3D "xtal"; "extal" "xtal" is an output pin, connected to a crystal resonator. "extal" is the clock input put (either crystal resonator or exteral clock input. > + reg =3D <0xffc00000 20>, <0xfe0a0000 16>; > + reg-names =3D "FRQCR", "CLKSTP00"; > + renesas,mode =3D <0>; > + }; > diff --git a/include/dt-bindings/clock/sh7750-cpg.h b/include/dt-bindings= /clock/sh7750-cpg.h > new file mode 100644 > index 000000000000..17d5a8076aac > --- /dev/null > +++ b/include/dt-bindings/clock/sh7750-cpg.h > @@ -0,0 +1,26 @@ > +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > + * > + * Copyright 2023 Yoshinori Sato > + */ > + > +#ifndef __DT_BINDINGS_CLOCK_SH7750_H__ > +#define __DT_BINDINGS_CLOCK_SH7750_H__ > + > +#define SH7750_CPG_PLLOUT 0 > + > +#define SH7750_CPG_FCK 1 PCK? > +#define SH7750_CPG_BCK 2 > +#define SH7750_CPG_ICK 3 Gr{oetje,eeting}s, Geert --=20 Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k= org In personal conversations with technical people, I call myself a hacker. Bu= t when I'm talking to journalists I just say "programmer" or something like t= hat. -- Linus Torvalds