aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2024-08-11 20:17:04 +0200
committerRob Herring (Arm) <[email protected]>2024-08-19 17:04:55 -0500
commit0292907532879363f2fa6f0944e1a47837865029 (patch)
tree0dd93094e825c5245e0cf1c796e91252ea0bb74b
parentdb8e81132cf051843c9a59b46fa5a071c45baeb3 (diff)
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]>
-rw-r--r--Documentation/devicetree/bindings/serial/serial.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/serial/serial.yaml b/Documentation/devicetree/bindings/serial/serial.yaml
index ffc9198ae214..40e05dd37826 100644
--- a/Documentation/devicetree/bindings/serial/serial.yaml
+++ b/Documentation/devicetree/bindings/serial/serial.yaml
@@ -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