diff mbox series

dt-bindings: serial: 8250_omap: allow serdev subnodes

Message ID 20211001211731.2923066-1-andreas@kemnade.info (mailing list archive)
State New, archived
Headers show
Series dt-bindings: serial: 8250_omap: allow serdev subnodes | expand

Commit Message

Andreas Kemnade Oct. 1, 2021, 9:17 p.m. UTC
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(-)

Comments

Rob Herring Oct. 6, 2021, 7:14 p.m. UTC | #1
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>
diff mbox series

Patch

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: