xref: /linux/Documentation/devicetree/bindings/display/samsung/samsung,exynos5-dp.yaml (revision 06f054b1fee83415fe35204845708988fc16ef22)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/samsung/samsung,exynos5-dp.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Samsung Exynos5250/Exynos5420 SoC Display Port
8
9maintainers:
10  - Inki Dae <inki.dae@samsung.com>
11  - Seung-Woo Kim <sw0312.kim@samsung.com>
12  - Kyungmin Park <kyungmin.park@samsung.com>
13  - Krzysztof Kozlowski <krzk@kernel.org>
14
15properties:
16  compatible:
17    const: samsung,exynos5-dp
18
19  reg:
20    maxItems: 1
21
22  clocks:
23    maxItems: 1
24
25  clock-names:
26    items:
27      - const: dp
28
29  display-timings:
30    $ref: /schemas/display/panel/display-timings.yaml#
31
32  interrupts:
33    maxItems: 1
34
35  hpd-gpios:
36    description:
37      Hotplug detect GPIO.
38      Indicates which GPIO should be used for hotplug detection
39
40  phys:
41    maxItems: 1
42
43  phy-names:
44    items:
45      - const: dp
46
47  power-domains:
48    maxItems: 1
49
50  interlaced:
51    type: boolean
52    deprecated: true
53    description:
54      Interlace scan mode. Progressive if defined, interlaced if not defined.
55
56  vsync-active-high:
57    type: boolean
58    deprecated: true
59    description:
60      VSYNC polarity configuration. High if defined, low if not defined
61
62  hsync-active-high:
63    type: boolean
64    deprecated: true
65    description:
66      HSYNC polarity configuration. High if defined, low if not defined
67
68  ports:
69    $ref: /schemas/graph.yaml#/properties/ports
70
71    properties:
72      port:
73        $ref: /schemas/graph.yaml#/properties/port
74        description:
75          Port node with one endpoint connected to a dp-connector node.
76
77    required:
78      - port
79
80  samsung,hpd-gpios:
81    maxItems: 1
82    deprecated: true
83
84  samsung,ycbcr-coeff:
85    $ref: /schemas/types.yaml#/definitions/uint32
86    deprecated: true
87    description:
88      Deprecated prop that can parsed from drm_display_mode.
89
90  samsung,dynamic-range:
91    $ref: /schemas/types.yaml#/definitions/uint32
92    deprecated: true
93    description:
94      Deprecated prop that can parsed from drm_display_mode.
95
96  samsung,color-space:
97    $ref: /schemas/types.yaml#/definitions/uint32
98    deprecated: true
99    description:
100      Deprecated prop that can parsed from drm_display_info.
101
102  samsung,color-depth:
103    $ref: /schemas/types.yaml#/definitions/uint32
104    deprecated: true
105    description:
106      Deprecated prop that can parsed from drm_display_info.
107
108  samsung,link-rate:
109    $ref: /schemas/types.yaml#/definitions/uint32
110    deprecated: true
111    description:
112      Deprecated prop that can reading from monitor by dpcd method.
113
114  samsung,lane-count:
115    $ref: /schemas/types.yaml#/definitions/uint32
116    deprecated: true
117    description:
118      Deprecated prop that can reading from monitor by dpcd method.
119
120required:
121  - compatible
122  - reg
123  - clocks
124  - clock-names
125  - interrupts
126  - phys
127  - phy-names
128
129additionalProperties: false
130
131examples:
132  - |
133    #include <dt-bindings/clock/exynos5250.h>
134    #include <dt-bindings/gpio/gpio.h>
135    #include <dt-bindings/interrupt-controller/arm-gic.h>
136
137    dp-controller@145b0000 {
138        compatible = "samsung,exynos5-dp";
139        reg = <0x145b0000 0x1000>;
140        clocks = <&clock CLK_DP>;
141        clock-names = "dp";
142        interrupts = <10 3>;
143        interrupt-parent = <&combiner>;
144        phys = <&dp_phy>;
145        phy-names = "dp";
146        pinctrl-0 = <&dp_hpd>;
147        pinctrl-names = "default";
148        power-domains = <&pd_disp1>;
149
150        samsung,color-space = <0>;
151        samsung,color-depth = <1>;
152        samsung,link-rate = <0x0a>;
153        samsung,lane-count = <2>;
154        hpd-gpios = <&gpx0 7 GPIO_ACTIVE_HIGH>;
155
156        ports {
157            port {
158                dp_out: endpoint {
159                    remote-endpoint = <&bridge_in>;
160                };
161            };
162        };
163    };
164