diff mbox series

dt-bindings: display: mediatek, dpi: Convert to use graph schema

Message ID 20210223215057.125708-1-robh@kernel.org
State Accepted
Commit be7507bdd705bd28c8e6091e1717b4a53dbd7b8c
Headers show
Series dt-bindings: display: mediatek, dpi: Convert to use graph schema | expand

Commit Message

Rob Herring Feb. 23, 2021, 9:50 p.m. UTC
Update the mediatek,dpi binding to use the graph schema. Missed
this one from the mass conversion since it's not part of drm-misc.

Cc: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: CK Hu <ck.hu@mediatek.com>
Cc: Jitao shi <jitao.shi@mediatek.com>
Cc: dri-devel@lists.freedesktop.org
Cc: linux-mediatek@lists.infradead.org
Signed-off-by: Rob Herring <robh@kernel.org>

---
 .../bindings/display/mediatek/mediatek,dpi.yaml       | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

-- 
2.27.0

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Comments

Chun-Kuang Hu March 3, 2021, 11:51 p.m. UTC | #1
Hi, Rob:

Rob Herring <robh@kernel.org> 於 2021年2月24日 週三 上午5:51寫道:
>
> Update the mediatek,dpi binding to use the graph schema. Missed
> this one from the mass conversion since it's not part of drm-misc.

Applied to mediatek-drm-next [1], thanks.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-next

Regards,
Chun-Kuang.

>
> Cc: Chun-Kuang Hu <chunkuang.hu@kernel.org>
> Cc: Philipp Zabel <p.zabel@pengutronix.de>
> Cc: Matthias Brugger <matthias.bgg@gmail.com>
> Cc: CK Hu <ck.hu@mediatek.com>
> Cc: Jitao shi <jitao.shi@mediatek.com>
> Cc: dri-devel@lists.freedesktop.org
> Cc: linux-mediatek@lists.infradead.org
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  .../bindings/display/mediatek/mediatek,dpi.yaml       | 11 +++--------
>  1 file changed, 3 insertions(+), 8 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml
> index 6cdb734c91a9..eb84b53cabb1 100644
> --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml
> +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml
> @@ -50,15 +50,10 @@ properties:
>        - const: sleep
>
>    port:
> -    type: object
> +    $ref: /schemas/graph.yaml#/properties/port
>      description:
> -      Output port node with endpoint definitions as described in
> -      Documentation/devicetree/bindings/graph.txt. This port should be connected
> -      to the input port of an attached HDMI or LVDS encoder chip.
> -
> -    properties:
> -      endpoint:
> -        type: object
> +      Output port node. This port should be connected to the input port of an
> +      attached HDMI or LVDS encoder chip.
>
>  required:
>    - compatible
> --
> 2.27.0
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml
index 6cdb734c91a9..eb84b53cabb1 100644
--- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml
+++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml
@@ -50,15 +50,10 @@  properties:
       - const: sleep
 
   port:
-    type: object
+    $ref: /schemas/graph.yaml#/properties/port
     description:
-      Output port node with endpoint definitions as described in
-      Documentation/devicetree/bindings/graph.txt. This port should be connected
-      to the input port of an attached HDMI or LVDS encoder chip.
-
-    properties:
-      endpoint:
-        type: object
+      Output port node. This port should be connected to the input port of an
+      attached HDMI or LVDS encoder chip.
 
 required:
   - compatible