linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: memory-controllers: Make "additionalProperties: true" explicit
@ 2023-09-25 21:26 Rob Herring
  2023-09-26 18:36 ` Roger Quadros
  2023-09-28  5:54 ` Krzysztof Kozlowski
  0 siblings, 2 replies; 3+ messages in thread
From: Rob Herring @ 2023-09-25 21:26 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Conor Dooley, Geert Uytterhoeven,
	Magnus Damm, Paul Cercueil, Sergei Shtylyov, Tony Lindgren,
	Roger Quadros
  Cc: linux-kernel, devicetree, linux-renesas-soc

Make it explicit that child nodes have additional properties and the
child node schema is not complete. The complete schemas are applied
separately based the compatible strings.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 .../devicetree/bindings/memory-controllers/ingenic,nemc.yaml    | 1 +
 .../devicetree/bindings/memory-controllers/renesas,rpc-if.yaml  | 2 ++
 .../devicetree/bindings/memory-controllers/ti,gpmc.yaml         | 2 +-
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/memory-controllers/ingenic,nemc.yaml b/Documentation/devicetree/bindings/memory-controllers/ingenic,nemc.yaml
index b40cec0eb651..ee74a362f4ca 100644
--- a/Documentation/devicetree/bindings/memory-controllers/ingenic,nemc.yaml
+++ b/Documentation/devicetree/bindings/memory-controllers/ingenic,nemc.yaml
@@ -40,6 +40,7 @@ patternProperties:
   ".*@[0-9]+$":
     type: object
     $ref: mc-peripheral-props.yaml#
+    additionalProperties: true
 
 required:
   - compatible
diff --git a/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml b/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml
index 56e62cd0b36a..25f3bb9890ae 100644
--- a/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml
+++ b/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml
@@ -80,6 +80,8 @@ properties:
 patternProperties:
   "flash@[0-9a-f]+$":
     type: object
+    additionalProperties: true
+
     properties:
       compatible:
         contains:
diff --git a/Documentation/devicetree/bindings/memory-controllers/ti,gpmc.yaml b/Documentation/devicetree/bindings/memory-controllers/ti,gpmc.yaml
index b049837ee669..c7a8a041da50 100644
--- a/Documentation/devicetree/bindings/memory-controllers/ti,gpmc.yaml
+++ b/Documentation/devicetree/bindings/memory-controllers/ti,gpmc.yaml
@@ -130,7 +130,7 @@ patternProperties:
       bus. The device can be a NAND chip, SRAM device, NOR device
       or an ASIC.
     $ref: ti,gpmc-child.yaml
-
+    additionalProperties: true
 
 required:
   - compatible
-- 
2.40.1


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

* Re: [PATCH] dt-bindings: memory-controllers: Make "additionalProperties: true" explicit
  2023-09-25 21:26 [PATCH] dt-bindings: memory-controllers: Make "additionalProperties: true" explicit Rob Herring
@ 2023-09-26 18:36 ` Roger Quadros
  2023-09-28  5:54 ` Krzysztof Kozlowski
  1 sibling, 0 replies; 3+ messages in thread
From: Roger Quadros @ 2023-09-26 18:36 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Geert Uytterhoeven, Magnus Damm, Paul Cercueil, Sergei Shtylyov,
	Tony Lindgren
  Cc: linux-kernel, devicetree, linux-renesas-soc



On 26/09/2023 00:26, Rob Herring wrote:
> Make it explicit that child nodes have additional properties and the
> child node schema is not complete. The complete schemas are applied
> separately based the compatible strings.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  .../devicetree/bindings/memory-controllers/ingenic,nemc.yaml    | 1 +
>  .../devicetree/bindings/memory-controllers/renesas,rpc-if.yaml  | 2 ++
>  .../devicetree/bindings/memory-controllers/ti,gpmc.yaml         | 2 +-

For ti,gpmc.yaml

Reviewed-by: Roger Quadros <rogerq@kernel.org>

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

* Re: [PATCH] dt-bindings: memory-controllers: Make "additionalProperties: true" explicit
  2023-09-25 21:26 [PATCH] dt-bindings: memory-controllers: Make "additionalProperties: true" explicit Rob Herring
  2023-09-26 18:36 ` Roger Quadros
@ 2023-09-28  5:54 ` Krzysztof Kozlowski
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2023-09-28  5:54 UTC (permalink / raw)
  To: Conor Dooley, Geert Uytterhoeven, Magnus Damm, Paul Cercueil,
	Sergei Shtylyov, Tony Lindgren, Roger Quadros, Rob Herring
  Cc: Krzysztof Kozlowski, linux-kernel, devicetree, linux-renesas-soc


On Mon, 25 Sep 2023 16:26:21 -0500, Rob Herring wrote:
> Make it explicit that child nodes have additional properties and the
> child node schema is not complete. The complete schemas are applied
> separately based the compatible strings.
> 
> 

Applied, thanks!

[1/1] dt-bindings: memory-controllers: Make "additionalProperties: true" explicit
      https://git.kernel.org/krzk/linux-mem-ctrl/c/387bb6fdd0af1f853deeb1cdd8331c07b6a66b32

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

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

end of thread, other threads:[~2023-09-28  5:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-25 21:26 [PATCH] dt-bindings: memory-controllers: Make "additionalProperties: true" explicit Rob Herring
2023-09-26 18:36 ` Roger Quadros
2023-09-28  5:54 ` Krzysztof Kozlowski

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).