All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: serial: 8250_omap: allow serdev subnodes
@ 2021-10-01 21:17 Andreas Kemnade
  2021-10-06 19:14 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Kemnade @ 2021-10-01 21:17 UTC (permalink / raw)
  To: gregkh, robh+dt, vigneshr, linux-serial, devicetree,
	linux-kernel, Tomi Valkeinen, linux-omap
  Cc: Andreas Kemnade

additionalProperties: false
ignores the pattern matching for serdev objects in serial.yaml, causing
error messages when serdev subnodes like bluetooth or gnss devices are
defined. Using unevaluatedProperties instead is the correct way
if arbitrary children nodes can appear.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
 Documentation/devicetree/bindings/serial/8250_omap.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/serial/8250_omap.yaml b/Documentation/devicetree/bindings/serial/8250_omap.yaml
index 70ca61688bb9..7b34ec8fa90e 100644
--- a/Documentation/devicetree/bindings/serial/8250_omap.yaml
+++ b/Documentation/devicetree/bindings/serial/8250_omap.yaml
@@ -86,7 +86,7 @@ required:
   - reg
   - interrupts
 
-additionalProperties: false
+unevaluatedProperties: false
 
 if:
   properties:
-- 
2.30.2


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

* Re: [PATCH] dt-bindings: serial: 8250_omap: allow serdev subnodes
  2021-10-01 21:17 [PATCH] dt-bindings: serial: 8250_omap: allow serdev subnodes Andreas Kemnade
@ 2021-10-06 19:14 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2021-10-06 19:14 UTC (permalink / raw)
  To: Andreas Kemnade
  Cc: Tomi Valkeinen, devicetree, linux-omap, linux-kernel, gregkh,
	vigneshr, robh+dt, linux-serial

On Fri, 01 Oct 2021 23:17:31 +0200, Andreas Kemnade wrote:
> additionalProperties: false
> ignores the pattern matching for serdev objects in serial.yaml, causing
> error messages when serdev subnodes like bluetooth or gnss devices are
> defined. Using unevaluatedProperties instead is the correct way
> if arbitrary children nodes can appear.
> 
> Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
> ---
>  Documentation/devicetree/bindings/serial/8250_omap.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Acked-by: Rob Herring <robh@kernel.org>

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

end of thread, other threads:[~2021-10-06 19:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-01 21:17 [PATCH] dt-bindings: serial: 8250_omap: allow serdev subnodes Andreas Kemnade
2021-10-06 19:14 ` Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.