dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: display: adi, adv75xx: Add missing graph schema references
@ 2022-08-23 14:56 Rob Herring
  2022-08-25  8:22 ` [PATCH] dt-bindings: display: adi,adv75xx: " Krzysztof Kozlowski
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Rob Herring @ 2022-08-23 14:56 UTC (permalink / raw)
  To: Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart,
	Jonas Karlman, Jernej Skrabec, David Airlie, Daniel Vetter,
	Krzysztof Kozlowski
  Cc: devicetree, linux-kernel, dri-devel

DT bindings using the graph binding must have references to the graph
binding schema. These are missing from the adi,adv7511 and adi,adv7533
bindings, so add them.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 .../bindings/display/bridge/adi,adv7511.yaml       | 14 ++++++--------
 .../bindings/display/bridge/adi,adv7533.yaml       | 14 ++++++--------
 2 files changed, 12 insertions(+), 16 deletions(-)

diff --git a/Documentation/devicetree/bindings/display/bridge/adi,adv7511.yaml b/Documentation/devicetree/bindings/display/bridge/adi,adv7511.yaml
index f08a01dfedf3..5bbe81862c8f 100644
--- a/Documentation/devicetree/bindings/display/bridge/adi,adv7511.yaml
+++ b/Documentation/devicetree/bindings/display/bridge/adi,adv7511.yaml
@@ -117,23 +117,21 @@ properties:
 
   ports:
     description:
-      The ADV7511(W)/13 has two video ports and one audio port. This node
-      models their connections as documented in
-      Documentation/devicetree/bindings/media/video-interfaces.txt
-      Documentation/devicetree/bindings/graph.txt
-    type: object
+      The ADV7511(W)/13 has two video ports and one audio port.
+    $ref: /schemas/graph.yaml#/properties/ports
+
     properties:
       port@0:
         description: Video port for the RGB or YUV input.
-        type: object
+        $ref: /schemas/graph.yaml#/properties/port
 
       port@1:
         description: Video port for the HDMI output.
-        type: object
+        $ref: /schemas/graph.yaml#/properties/port
 
       port@2:
         description: Audio port for the HDMI output.
-        type: object
+        $ref: /schemas/graph.yaml#/properties/port
 
 # adi,input-colorspace and adi,input-clock are required except in
 # "rgb 1x" and "yuv444 1x" modes, in which case they must not be
diff --git a/Documentation/devicetree/bindings/display/bridge/adi,adv7533.yaml b/Documentation/devicetree/bindings/display/bridge/adi,adv7533.yaml
index f36209137c8a..987aa83c2649 100644
--- a/Documentation/devicetree/bindings/display/bridge/adi,adv7533.yaml
+++ b/Documentation/devicetree/bindings/display/bridge/adi,adv7533.yaml
@@ -91,25 +91,23 @@ properties:
 
   ports:
     description:
-      The ADV7533/35 has two video ports and one audio port. This node
-      models their connections as documented in
-      Documentation/devicetree/bindings/media/video-interfaces.txt
-      Documentation/devicetree/bindings/graph.txt
-    type: object
+      The ADV7533/35 has two video ports and one audio port.
+    $ref: /schemas/graph.yaml#/properties/ports
+
     properties:
       port@0:
         description:
           Video port for the DSI input. The remote endpoint phandle
           should be a reference to a valid mipi_dsi_host_device.
-        type: object
+        $ref: /schemas/graph.yaml#/properties/port
 
       port@1:
         description: Video port for the HDMI output.
-        type: object
+        $ref: /schemas/graph.yaml#/properties/port
 
       port@2:
         description: Audio port for the HDMI output.
-        type: object
+        $ref: /schemas/graph.yaml#/properties/port
 
 required:
   - compatible
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: display: adi,adv75xx: Add missing graph schema references
  2022-08-23 14:56 [PATCH] dt-bindings: display: adi, adv75xx: Add missing graph schema references Rob Herring
@ 2022-08-25  8:22 ` Krzysztof Kozlowski
  2022-08-25  8:26 ` Laurent Pinchart
  2022-08-25 20:03 ` Rob Herring
  2 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2022-08-25  8:22 UTC (permalink / raw)
  To: Rob Herring, Andrzej Hajda, Neil Armstrong, Robert Foss,
	Laurent Pinchart, Jonas Karlman, Jernej Skrabec, David Airlie,
	Daniel Vetter, Krzysztof Kozlowski
  Cc: devicetree, linux-kernel, dri-devel

On 23/08/2022 17:56, Rob Herring wrote:
> DT bindings using the graph binding must have references to the graph
> binding schema. These are missing from the adi,adv7511 and adi,adv7533
> bindings, so add them.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: display: adi,adv75xx: Add missing graph schema references
  2022-08-23 14:56 [PATCH] dt-bindings: display: adi, adv75xx: Add missing graph schema references Rob Herring
  2022-08-25  8:22 ` [PATCH] dt-bindings: display: adi,adv75xx: " Krzysztof Kozlowski
@ 2022-08-25  8:26 ` Laurent Pinchart
  2022-08-25 20:03 ` Rob Herring
  2 siblings, 0 replies; 4+ messages in thread
From: Laurent Pinchart @ 2022-08-25  8:26 UTC (permalink / raw)
  To: Rob Herring
  Cc: devicetree, Krzysztof Kozlowski, Jonas Karlman, David Airlie,
	dri-devel, Neil Armstrong, linux-kernel, Jernej Skrabec,
	Robert Foss, Andrzej Hajda

Hi Rob,

Thank you for the patch.

On Tue, Aug 23, 2022 at 09:56:43AM -0500, Rob Herring wrote:
> DT bindings using the graph binding must have references to the graph
> binding schema. These are missing from the adi,adv7511 and adi,adv7533
> bindings, so add them.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
>  .../bindings/display/bridge/adi,adv7511.yaml       | 14 ++++++--------
>  .../bindings/display/bridge/adi,adv7533.yaml       | 14 ++++++--------
>  2 files changed, 12 insertions(+), 16 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/display/bridge/adi,adv7511.yaml b/Documentation/devicetree/bindings/display/bridge/adi,adv7511.yaml
> index f08a01dfedf3..5bbe81862c8f 100644
> --- a/Documentation/devicetree/bindings/display/bridge/adi,adv7511.yaml
> +++ b/Documentation/devicetree/bindings/display/bridge/adi,adv7511.yaml
> @@ -117,23 +117,21 @@ properties:
>  
>    ports:
>      description:
> -      The ADV7511(W)/13 has two video ports and one audio port. This node
> -      models their connections as documented in
> -      Documentation/devicetree/bindings/media/video-interfaces.txt
> -      Documentation/devicetree/bindings/graph.txt
> -    type: object
> +      The ADV7511(W)/13 has two video ports and one audio port.
> +    $ref: /schemas/graph.yaml#/properties/ports
> +
>      properties:
>        port@0:
>          description: Video port for the RGB or YUV input.
> -        type: object
> +        $ref: /schemas/graph.yaml#/properties/port
>  
>        port@1:
>          description: Video port for the HDMI output.
> -        type: object
> +        $ref: /schemas/graph.yaml#/properties/port
>  
>        port@2:
>          description: Audio port for the HDMI output.
> -        type: object
> +        $ref: /schemas/graph.yaml#/properties/port
>  
>  # adi,input-colorspace and adi,input-clock are required except in
>  # "rgb 1x" and "yuv444 1x" modes, in which case they must not be
> diff --git a/Documentation/devicetree/bindings/display/bridge/adi,adv7533.yaml b/Documentation/devicetree/bindings/display/bridge/adi,adv7533.yaml
> index f36209137c8a..987aa83c2649 100644
> --- a/Documentation/devicetree/bindings/display/bridge/adi,adv7533.yaml
> +++ b/Documentation/devicetree/bindings/display/bridge/adi,adv7533.yaml
> @@ -91,25 +91,23 @@ properties:
>  
>    ports:
>      description:
> -      The ADV7533/35 has two video ports and one audio port. This node
> -      models their connections as documented in
> -      Documentation/devicetree/bindings/media/video-interfaces.txt
> -      Documentation/devicetree/bindings/graph.txt
> -    type: object
> +      The ADV7533/35 has two video ports and one audio port.
> +    $ref: /schemas/graph.yaml#/properties/ports
> +
>      properties:
>        port@0:
>          description:
>            Video port for the DSI input. The remote endpoint phandle
>            should be a reference to a valid mipi_dsi_host_device.
> -        type: object
> +        $ref: /schemas/graph.yaml#/properties/port
>  
>        port@1:
>          description: Video port for the HDMI output.
> -        type: object
> +        $ref: /schemas/graph.yaml#/properties/port
>  
>        port@2:
>          description: Audio port for the HDMI output.
> -        type: object
> +        $ref: /schemas/graph.yaml#/properties/port
>  
>  required:
>    - compatible

-- 
Regards,

Laurent Pinchart

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: display: adi,adv75xx: Add missing graph schema references
  2022-08-23 14:56 [PATCH] dt-bindings: display: adi, adv75xx: Add missing graph schema references Rob Herring
  2022-08-25  8:22 ` [PATCH] dt-bindings: display: adi,adv75xx: " Krzysztof Kozlowski
  2022-08-25  8:26 ` Laurent Pinchart
@ 2022-08-25 20:03 ` Rob Herring
  2 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2022-08-25 20:03 UTC (permalink / raw)
  To: Rob Herring
  Cc: devicetree, Jonas Karlman, David Airlie, Robert Foss, dri-devel,
	Neil Armstrong, linux-kernel, Jernej Skrabec, Andrzej Hajda,
	Laurent Pinchart, Krzysztof Kozlowski

On Tue, 23 Aug 2022 09:56:43 -0500, Rob Herring wrote:
> DT bindings using the graph binding must have references to the graph
> binding schema. These are missing from the adi,adv7511 and adi,adv7533
> bindings, so add them.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  .../bindings/display/bridge/adi,adv7511.yaml       | 14 ++++++--------
>  .../bindings/display/bridge/adi,adv7533.yaml       | 14 ++++++--------
>  2 files changed, 12 insertions(+), 16 deletions(-)
> 

Applied, thanks!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-25 20:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-23 14:56 [PATCH] dt-bindings: display: adi, adv75xx: Add missing graph schema references Rob Herring
2022-08-25  8:22 ` [PATCH] dt-bindings: display: adi,adv75xx: " Krzysztof Kozlowski
2022-08-25  8:26 ` Laurent Pinchart
2022-08-25 20:03 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).