# Re: \[PATCH\] dt-bindings: display: mediatek,dpi: Convert to use graph schema

- From: Chun-Kuang Hu \<chunkuang.hu@kernel.org\>
- Date: 2021-03-04 00:17:02 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2021/03/6287483
- Thread: https://ratatoskr.run/linux-devicetree/2021/02/6277135/t.md

```text
Hi, Rob:

Rob Herring [ref] 於 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 <redacted>
> Cc: Jitao shi <redacted>
> Cc: <redacted>
> Cc: <redacted>
> 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
>
```
