diff mbox series

media: dt-bindings: atmel,isc: Drop unneeded unevaluatedProperties

Message ID 20221207204406.2810864-1-robh@kernel.org
State Accepted
Commit 0bf99c1f066cef596b6fa668676ccba09f86fea1
Headers show
Series media: dt-bindings: atmel,isc: Drop unneeded unevaluatedProperties | expand

Commit Message

Rob Herring Dec. 7, 2022, 8:44 p.m. UTC
The 'port' node scheam has both 'additionalProperties' and
'unevaluatedProperties', but only one is necessary.
'additionalProperties' works here, so drop 'unevaluatedProperties' and
move 'additionalProperties' next to the $ref.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/media/atmel,isc.yaml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Comments

Rob Herring Dec. 9, 2022, 9:19 p.m. UTC | #1
On Wed, 07 Dec 2022 14:44:06 -0600, Rob Herring wrote:
> The 'port' node scheam has both 'additionalProperties' and
> 'unevaluatedProperties', but only one is necessary.
> 'additionalProperties' works here, so drop 'unevaluatedProperties' and
> move 'additionalProperties' next to the $ref.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  Documentation/devicetree/bindings/media/atmel,isc.yaml | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 

Applied, thanks!
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/media/atmel,isc.yaml b/Documentation/devicetree/bindings/media/atmel,isc.yaml
index cd6d7af0c768..dc8aba698d78 100644
--- a/Documentation/devicetree/bindings/media/atmel,isc.yaml
+++ b/Documentation/devicetree/bindings/media/atmel,isc.yaml
@@ -45,7 +45,7 @@  properties:
 
   port:
     $ref: /schemas/graph.yaml#/$defs/port-base
-    unevaluatedProperties: false
+    additionalProperties: false
     description:
       Input port node, single endpoint describing the input pad.
 
@@ -77,8 +77,6 @@  properties:
 
         additionalProperties: false
 
-    additionalProperties: false
-
 required:
   - compatible
   - reg