public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: memory-controllers: renesas,rpc-if: add top-level constraints
@ 2024-08-18 17:29 Krzysztof Kozlowski
  2024-08-19 17:15 ` Conor Dooley
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-18 17:29 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Rob Herring, Conor Dooley,
	Geert Uytterhoeven, Magnus Damm, Sergei Shtylyov, linux-kernel,
	devicetree, linux-renesas-soc
  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.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../bindings/memory-controllers/renesas,rpc-if.yaml           | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml b/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml
index d7745dd53b51..4f4bc953e31a 100644
--- a/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml
+++ b/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml
@@ -67,7 +67,9 @@ properties:
       - const: dirmap
       - const: wbuf
 
-  clocks: true
+  clocks:
+    minItems: 1
+    maxItems: 2
 
   interrupts:
     maxItems: 1
-- 
2.43.0


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

* Re: [PATCH] dt-bindings: memory-controllers: renesas,rpc-if: add top-level constraints
  2024-08-18 17:29 [PATCH] dt-bindings: memory-controllers: renesas,rpc-if: add top-level constraints Krzysztof Kozlowski
@ 2024-08-19 17:15 ` Conor Dooley
  2024-08-21 11:30 ` Krzysztof Kozlowski
  2024-08-23 11:34 ` Geert Uytterhoeven
  2 siblings, 0 replies; 4+ messages in thread
From: Conor Dooley @ 2024-08-19 17:15 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Krzysztof Kozlowski, Rob Herring, Conor Dooley,
	Geert Uytterhoeven, Magnus Damm, Sergei Shtylyov, linux-kernel,
	devicetree, linux-renesas-soc

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

On Sun, Aug 18, 2024 at 07:29:30PM +0200, Krzysztof Kozlowski wrote:
> 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.

Acked-by: Conor Dooley <conor.dooley@microchip.com>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: [PATCH] dt-bindings: memory-controllers: renesas,rpc-if: add top-level constraints
  2024-08-18 17:29 [PATCH] dt-bindings: memory-controllers: renesas,rpc-if: add top-level constraints Krzysztof Kozlowski
  2024-08-19 17:15 ` Conor Dooley
@ 2024-08-21 11:30 ` Krzysztof Kozlowski
  2024-08-23 11:34 ` Geert Uytterhoeven
  2 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-21 11:30 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Rob Herring, Conor Dooley,
	Geert Uytterhoeven, Magnus Damm, Sergei Shtylyov, linux-kernel,
	devicetree, linux-renesas-soc, Krzysztof Kozlowski


On Sun, 18 Aug 2024 19:29:30 +0200, Krzysztof Kozlowski wrote:
> 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.
> 
> 

Applied, thanks!

[1/1] dt-bindings: memory-controllers: renesas,rpc-if: add top-level constraints
      https://git.kernel.org/krzk/linux-mem-ctrl/c/eba8a7b05e21ab1baa0394eb7e915312303492fe

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


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

* Re: [PATCH] dt-bindings: memory-controllers: renesas,rpc-if: add top-level constraints
  2024-08-18 17:29 [PATCH] dt-bindings: memory-controllers: renesas,rpc-if: add top-level constraints Krzysztof Kozlowski
  2024-08-19 17:15 ` Conor Dooley
  2024-08-21 11:30 ` Krzysztof Kozlowski
@ 2024-08-23 11:34 ` Geert Uytterhoeven
  2 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2024-08-23 11:34 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Krzysztof Kozlowski, Rob Herring, Conor Dooley, Magnus Damm,
	Sergei Shtylyov, linux-kernel, devicetree, linux-renesas-soc

On Sun, Aug 18, 2024 at 7:29 PM Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> wrote:
> 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.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

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

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

end of thread, other threads:[~2024-08-23 11:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-18 17:29 [PATCH] dt-bindings: memory-controllers: renesas,rpc-if: add top-level constraints Krzysztof Kozlowski
2024-08-19 17:15 ` Conor Dooley
2024-08-21 11:30 ` Krzysztof Kozlowski
2024-08-23 11:34 ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox