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