LKML Archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: i3c: silvaco,i3c-master: fix missing schema restriction
@ 2023-06-09 14:11 Krzysztof Kozlowski
  2023-06-09 22:14 ` Rob Herring
  0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2023-06-09 14:11 UTC (permalink / raw)
  To: Miquel Raynal, Conor Culhane, Alexandre Belloni, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-i3c, devicetree,
	linux-kernel
  Cc: Krzysztof Kozlowski

Each device schema must end with unevaluatedProperties: false, if it
references other common schema.  Otherwise it would allow any properties
to be listed.

Fixes: b8b0446f1f1a ("dt-bindings: i3c: Describe Silvaco master binding")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml b/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml
index 543b177f8610..133855f11b4f 100644
--- a/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml
+++ b/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml
@@ -44,7 +44,7 @@ required:
   - clock-names
   - clocks
 
-additionalProperties: true
+unevaluatedProperties: false
 
 examples:
   - |
-- 
2.34.1


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

* Re: [PATCH] dt-bindings: i3c: silvaco,i3c-master: fix missing schema restriction
  2023-06-09 14:11 [PATCH] dt-bindings: i3c: silvaco,i3c-master: fix missing schema restriction Krzysztof Kozlowski
@ 2023-06-09 22:14 ` Rob Herring
  2023-06-11 15:25   ` Alexandre Belloni
  0 siblings, 1 reply; 3+ messages in thread
From: Rob Herring @ 2023-06-09 22:14 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Conor Culhane, Alexandre Belloni, Krzysztof Kozlowski,
	Conor Dooley, linux-i3c, Miquel Raynal, Rob Herring, devicetree,
	linux-kernel


On Fri, 09 Jun 2023 16:11:07 +0200, Krzysztof Kozlowski wrote:
> Each device schema must end with unevaluatedProperties: false, if it
> references other common schema.  Otherwise it would allow any properties
> to be listed.
> 
> Fixes: b8b0446f1f1a ("dt-bindings: i3c: Describe Silvaco master binding")
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Applied, thanks!


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

* Re: [PATCH] dt-bindings: i3c: silvaco,i3c-master: fix missing schema restriction
  2023-06-09 22:14 ` Rob Herring
@ 2023-06-11 15:25   ` Alexandre Belloni
  0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Belloni @ 2023-06-11 15:25 UTC (permalink / raw)
  To: Rob Herring
  Cc: Krzysztof Kozlowski, Conor Culhane, Krzysztof Kozlowski,
	Conor Dooley, linux-i3c, Miquel Raynal, Rob Herring, devicetree,
	linux-kernel

On 09/06/2023 16:14:03-0600, Rob Herring wrote:
> 
> On Fri, 09 Jun 2023 16:11:07 +0200, Krzysztof Kozlowski wrote:
> > Each device schema must end with unevaluatedProperties: false, if it
> > references other common schema.  Otherwise it would allow any properties
> > to be listed.
> > 
> > Fixes: b8b0446f1f1a ("dt-bindings: i3c: Describe Silvaco master binding")
> > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> > ---
> >  Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> 
> Applied, thanks!

As you took this one, I assume you are going to take the previous patch.

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

end of thread, other threads:[~2023-06-11 15:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-09 14:11 [PATCH] dt-bindings: i3c: silvaco,i3c-master: fix missing schema restriction Krzysztof Kozlowski
2023-06-09 22:14 ` Rob Herring
2023-06-11 15:25   ` Alexandre Belloni

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 read-only IMAP folder(s) and NNTP newsgroup(s).