[PATCH] dt-bindings: serial: 8250_omap: allow serdev subnodes

From: Andreas Kemnade
Date: Fri Oct 01 2021 - 17:18:08 EST


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@xxxxxxxxxxxx>
---
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