]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
dt-bindings: serial: add missing "additionalProperties" on child nodes
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 11 Aug 2024 18:17:04 +0000 (20:17 +0200)
committerRob Herring (Arm) <robh@kernel.org>
Mon, 19 Aug 2024 22:04:55 +0000 (17:04 -0500)
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 <krzysztof.kozlowski@linaro.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240811-dt-bindings-serial-peripheral-props-v1-1-1dba258b7492@linaro.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/serial/serial.yaml

index ffc9198ae21469de249c87da75e27521bc2a419f..40e05dd37826380ca635193857e274433eef1c13 100644 (file)
@@ -92,6 +92,7 @@ patternProperties:
     if:
       type: object
     then:
+      additionalProperties: true
       description:
         Serial attached devices shall be a child node of the host UART device
         the slave device is attached to. It is expected that the attached