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 |
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 --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:
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(-)