drm/bridge: lvds-codec: Simplify panel DT node localisation
[linux-block.git] / Documentation / devicetree / bindings / display / bridge / lvds-transmitter.yaml
CommitLineData
a7738c08
FC
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/bridge/lvds-transmitter.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Parallel to LVDS Encoder
8
9maintainers:
10 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
11
12description: |
13 This binding supports the parallel to LVDS encoders that don't require any
14 configuration.
15
16 LVDS is a physical layer specification defined in ANSI/TIA/EIA-644-A. Multiple
17 incompatible data link layers have been used over time to transmit image data
18 to LVDS panels. This binding targets devices compatible with the following
19 specifications only.
20
21 [JEIDA] "Digital Interface Standards for Monitor", JEIDA-59-1999, February
22 1999 (Version 1.0), Japan Electronic Industry Development Association (JEIDA)
23 [LDI] "Open LVDS Display Interface", May 1999 (Version 0.95), National
24 Semiconductor
25 [VESA] "VESA Notebook Panel Standard", October 2007 (Version 1.0), Video
26 Electronics Standards Association (VESA)
27
28 Those devices have been marketed under the FPD-Link and FlatLink brand names
29 among others.
30
31properties:
32 compatible:
33 description: |
5240272d
FC
34 Must list the device specific compatible string first, followed by the
35 generic compatible string.
36 items:
37 - enum:
38 - ti,ds90c185 # For the TI DS90C185 FPD-Link Serializer
39 - ti,ds90c187 # For the TI DS90C187 FPD-Link Serializer
4788f4e1 40 - ti,sn75lvds83 # For the TI SN75LVDS83 FlatLink transmitter
5240272d 41 - const: lvds-encoder # Generic LVDS encoder compatible fallback
a7738c08
FC
42
43 ports:
44 type: object
45 description: |
46 This device has two video ports. Their connections are modeled using the
47 OF graph bindings specified in Documentation/devicetree/bindings/graph.txt
48 properties:
49 port@0:
50 type: object
51 description: |
52 Port 0 is for parallel input
53
54 port@1:
55 type: object
56 description: |
57 Port 1 is for LVDS output
58
59 required:
60 - port@0
61 - port@1
62
9acfa9d3
FC
63 powerdown-gpios:
64 description:
65 The GPIO used to control the power down line of this device.
66 maxItems: 1
67
a7738c08
FC
68required:
69 - compatible
70 - ports
71
72examples:
73 - |
74 lvds-encoder {
5240272d 75 compatible = "ti,ds90c185", "lvds-encoder";
a7738c08
FC
76
77 ports {
78 #address-cells = <1>;
79 #size-cells = <0>;
80
81 port@0 {
82 reg = <0>;
83
84 lvds_enc_in: endpoint {
85 remote-endpoint = <&display_out_rgb>;
86 };
87 };
88
89 port@1 {
90 reg = <1>;
91
92 lvds_enc_out: endpoint {
93 remote-endpoint = <&lvds_panel_in>;
94 };
95 };
96 };
97 };
98
99...