Skip to contentSkip to conversation

dt-bindings: ata: tegra: Disallow undefined properties

PATCH Applied Rob Herring 3 participants 3 messages Oct 16, 2023 – Oct 17, 2023

Subsystems (3)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: ata: tegra: Disallow undefined properties

Device specific bindings should not allow undefined properties. This is accomplished in json-schema with 'additionalProperties: false'.

---
 Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.yaml +1 -1
index 3c7a2425f3e6..a17297cbefcb 100644
@@ -151,7 +151,7 @@ allOf:
         - interconnects
         - power-domains
 
-additionalProperties: true
+additionalProperties: false
 
 examples:
   - |
Signature · 1 line
2.42.0
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Rob Herring

Device specific bindings should not allow undefined properties. This is accomplished in json-schema with 'additionalProperties: false'.

Thanks,
Conor.

Quoted 21 lines
---
 Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.yaml +1 -1
index 3c7a2425f3e6..a17297cbefcb 100644
@@ -151,7 +151,7 @@ allOf:
         - interconnects
         - power-domains
 
-additionalProperties: true
+additionalProperties: false
 
 examples:
   - |
Signature · 1 line
2.42.0
maintainer Applied
#2 lore raw
In reply to Rob Herring
Quoted 4 lines · Rob Herring

Device specific bindings should not allow undefined properties. This is accomplished in json-schema with 'additionalProperties: false'.

Applied to for-6.7. Thanks !

Signature · 2 lines
Damien Le Moal
Western Digital Research