Skip to content

Commit 0292907

Browse files
krzkrobherring
authored andcommitted
dt-bindings: serial: add missing "additionalProperties" on child nodes
All nodes need an explicit additionalProperties or unevaluatedProperties unless a $ref has one that's false. Add missing additionalProperties for serial-attached devices. Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/20240811-dt-bindings-serial-peripheral-props-v1-1-1dba258b7492@linaro.org Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent db8e811 commit 0292907

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Documentation/devicetree/bindings/serial/serial.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ patternProperties:
9292
if:
9393
type: object
9494
then:
95+
additionalProperties: true
9596
description:
9697
Serial attached devices shall be a child node of the host UART device
9798
the slave device is attached to. It is expected that the attached

0 commit comments

Comments
 (0)