dt-bindings: ata: pata-common: Add missing additionalProperties on child nodes
authorRob Herring <robh@kernel.org>
Fri, 15 Sep 2023 20:16:20 +0000 (15:16 -0500)
committerDamien Le Moal <dlemoal@kernel.org>
Mon, 25 Sep 2023 06:51:16 +0000 (15:51 +0900)
The PATA child node schema is missing constraints to prevent unknown
properties. As none of the users of this common binding extend the child
nodes with additional properties, adding "additionalProperties: false"
here is sufficient.

Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Documentation/devicetree/bindings/ata/pata-common.yaml

index 337ddf1..4e867dd 100644 (file)
@@ -38,6 +38,7 @@ patternProperties:
       ID number 0 and the slave drive will have ID number 1. The PATA port
       nodes will be named "ide-port".
     type: object
+    additionalProperties: false
 
     properties:
       reg: