linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/5] dt-bindings: clock: baikal,bt1-ccu-div: add top-level constraints
@ 2024-08-18 17:30 Krzysztof Kozlowski
  2024-08-18 17:30 ` [PATCH 2/5] dt-bindings: clock: cirrus,lochnagar: " Krzysztof Kozlowski
                   ` (7 more replies)
  0 siblings, 8 replies; 16+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-18 17:30 UTC (permalink / raw)
  To: Serge Semin, Michael Turquette, Stephen Boyd, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Charles Keepax,
	Richard Fitzgerald, Geert Uytterhoeven, Heiko Stuebner,
	Maxime Coquelin, Alexandre Torgue, Magnus Damm, patches,
	Elaine Zhang, Gabriel Fernandez, linux-mips, linux-clk,
	devicetree, linux-kernel, linux-renesas-soc, linux-arm-kernel,
	linux-rockchip, linux-stm32
  Cc: Krzysztof Kozlowski

Properties with variable number of items per each device are expected to
have widest constraints in top-level "properties:" block and further
customized (narrowed) in "if:then:".  Add missing top-level constraints
for clocks and clock-names.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/clock/baikal,bt1-ccu-div.yaml     | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml b/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml
index bd4cefbb1244..30252c95700c 100644
--- a/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml
+++ b/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml
@@ -134,9 +134,13 @@ properties:
   "#reset-cells":
     const: 1
 
-  clocks: true
+  clocks:
+    minItems: 3
+    maxItems: 4
 
-  clock-names: true
+  clock-names:
+    minItems: 3
+    maxItems: 4
 
 additionalProperties: false
 
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-08-29  9:42 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-18 17:30 [PATCH 1/5] dt-bindings: clock: baikal,bt1-ccu-div: add top-level constraints Krzysztof Kozlowski
2024-08-18 17:30 ` [PATCH 2/5] dt-bindings: clock: cirrus,lochnagar: " Krzysztof Kozlowski
2024-08-19 17:10   ` Conor Dooley
2024-08-28 17:00   ` Stephen Boyd
2024-08-18 17:30 ` [PATCH 3/5] dt-bindings: clock: renesas,cpg-clocks: " Krzysztof Kozlowski
2024-08-19 17:09   ` Conor Dooley
2024-08-23 11:33   ` Geert Uytterhoeven
2024-08-18 17:30 ` [PATCH 4/5] dt-bindings: clock: rockchip,rk3588-cru: drop unneeded assigned-clocks Krzysztof Kozlowski
2024-08-19 17:09   ` Conor Dooley
2024-08-18 17:30 ` [PATCH 5/5] dt-bindings: clock: st,stm32mp1-rcc: add top-level constraints Krzysztof Kozlowski
2024-08-19 17:08   ` Conor Dooley
2024-08-28 17:00   ` Stephen Boyd
2024-08-19 11:36 ` [PATCH 1/5] dt-bindings: clock: baikal,bt1-ccu-div: " Serge Semin
2024-08-19 17:10 ` Conor Dooley
2024-08-28 17:00 ` Stephen Boyd
2024-08-29  9:36 ` (subset) " Heiko Stuebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).