]> Git Repo - linux.git/commitdiff
dt-bindings: ata: tegra: Disallow undefined properties
authorRob Herring <[email protected]>
Mon, 16 Oct 2023 15:55:54 +0000 (10:55 -0500)
committerDamien Le Moal <[email protected]>
Tue, 17 Oct 2023 23:07:30 +0000 (08:07 +0900)
Device specific bindings should not allow undefined properties. This is
accomplished in json-schema with 'additionalProperties: false'.

Signed-off-by: Rob Herring <[email protected]>
Acked-by: Conor Dooley <[email protected]>
Signed-off-by: Damien Le Moal <[email protected]>
Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.yaml

index 3c7a2425f3e6b1337462371143dd92998f966cff..a17297cbefcb891af58501e70da67643022c012c 100644 (file)
@@ -151,7 +151,7 @@ allOf:
         - interconnects
         - power-domains
 
-additionalProperties: true
+additionalProperties: false
 
 examples:
   - |
This page took 0.057522 seconds and 4 git commands to generate.