public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] media: dt-bindings: techwell,tw9900: Fix port schema ref
@ 2024-02-02 22:23 Rob Herring
  0 siblings, 0 replies; only message in thread
From: Rob Herring @ 2024-02-02 22:23 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Krzysztof Kozlowski, Conor Dooley,
	Mehdi Djait, Paul Kocialkowski, Hans Verkuil
  Cc: linux-media, devicetree, linux-kernel

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")
Signed-off-by: Rob Herring <robh@kernel.org>
---
 .../devicetree/bindings/media/i2c/techwell,tw9900.yaml          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/media/i2c/techwell,tw9900.yaml b/Documentation/devicetree/bindings/media/i2c/techwell,tw9900.yaml
index e37317f81072..c9673391afdb 100644
--- a/Documentation/devicetree/bindings/media/i2c/techwell,tw9900.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/techwell,tw9900.yaml
@@ -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:
-- 
2.43.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-02 22:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-02 22:23 [PATCH] media: dt-bindings: techwell,tw9900: Fix port schema ref Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox