[PATCH 1/1] docs: dt: writing-bindings: Add exception for clock-names

From: Frank Li
Date: Tue Aug 26 2025 - 11:19:00 EST


Allow pattern like "pclk" and "hclk" as clock-names.

Signed-off-by: Frank Li <Frank.Li@xxxxxxx>
---
https://lore.kernel.org/linux-i3c/20250625200451.GA2117971-robh@xxxxxxxxxx/
---
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'.

- Properties without schema types (e.g. without standard suffix or not defined
by schema) need the type, even if this is an enum.
--
2.34.1