[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250826235519.GA766501-robh@kernel.org>
Date: Tue, 26 Aug 2025 18:55:19 -0500
From: Rob Herring <robh@...nel.org>
To: Frank Li <Frank.Li@....com>
Cc: Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" <devicetree@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>, imx@...ts.linux.dev
Subject: Re: [PATCH 1/1] docs: dt: writing-bindings: Add exception for
clock-names
On Tue, Aug 26, 2025 at 11:16:49AM -0400, Frank Li wrote:
> Allow pattern like "pclk" and "hclk" as clock-names.
>
> Signed-off-by: Frank Li <Frank.Li@....com>
> ---
> https://lore.kernel.org/linux-i3c/20250625200451.GA2117971-robh@kernel.org/
> ---
> Documentation/devicetree/bindings/writing-bindings.rst | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/writing-bindings.rst b/Documentation/devicetree/bindings/writing-bindings.rst
> index 667816dd7d504..81f76ca57a394 100644
> --- a/Documentation/devicetree/bindings/writing-bindings.rst
> +++ b/Documentation/devicetree/bindings/writing-bindings.rst
> @@ -97,7 +97,8 @@ Typical cases and caveats
> constraints (e.g. list of items).
>
> - For names used in {clock,dma,interrupt,reset}-names, do not add any suffix,
> - e.g.: "tx" instead of "txirq" (for interrupt).
> + e.g.: "tx" instead of "txirq" (for interrupt). Except when only single letter
> + remains after removing the suffix, e.g., 'pclk', 'hclk'.
It's more that the examples are the hardware names for the clocks than
a single letter is too terse.
Rob
Powered by blists - more mailing lists