Skip to contentSkip to conversation

media: dt-bindings: techwell,tw9900: Fix port schema ref

PATCH New Rob Herring 1 participant 1 message Feb 2, 2024

Subsystems (2)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 media: dt-bindings: techwell,tw9900: Fix port schema ref

The port@0 node doesn't define any extra properties in the port or endpoint nodes, so the $ref should be to "/properties/port" instead as it restricts extra properties.

Fixes 0f82ffa9a295 ("media: dt-bindings: media: i2c: Add bindings for TW9900")
---
 .../devicetree/bindings/media/i2c/techwell,tw9900.yaml          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/media/i2c/techwell,tw9900.yaml +1 -1
index e37317f81072..c9673391afdb 100644
@@ -36,7 +36,7 @@ properties:
 
     properties:
       port@0:
-        $ref: /schemas/graph.yaml#/$defs/port-base
+        $ref: /schemas/graph.yaml#/properties/port
         description: Analog input port
 
         properties:
Signature · 1 line
2.43.0