dt-bindings: add document for analogix display port driver
[deliverable/linux.git] / Documentation / devicetree / bindings / display / exynos / exynos_dp.txt
CommitLineData
825e90d0
AK
1The Exynos display port interface should be configured based on
2the type of panel connected to it.
3
4We use two nodes:
5 -dp-controller node
6 -dptx-phy node(defined inside dp-controller node)
7
8For the DP-PHY initialization, we use the dptx-phy node.
8114fabc
JH
9Required properties for dptx-phy: deprecated, use phys and phy-names
10 -reg: deprecated
825e90d0 11 Base address of DP PHY register.
8114fabc 12 -samsung,enable-mask: deprecated
825e90d0
AK
13 The bit-mask used to enable/disable DP PHY.
14
15For the Panel initialization, we read data from dp-controller node.
16Required properties for dp-controller:
17 -compatible:
18 should be "samsung,exynos5-dp".
19 -reg:
20 physical base address of the controller and length
21 of memory mapped region.
22 -interrupts:
23 interrupt combiner values.
60e69858
JH
24 -clocks:
25 from common clock binding: handle to dp clock.
26 -clock-names:
27 from common clock binding: Shall be "dp".
825e90d0
AK
28 -interrupt-parent:
29 phandle to Interrupt combiner node.
8114fabc
JH
30 -phys:
31 from general PHY binding: the phandle for the PHY device.
32 -phy-names:
33 from general PHY binding: Should be "dp".
825e90d0
AK
34
35Optional properties for dp-controller:
36 -interlaced:
37 interlace scan mode.
38 Progressive if defined, Interlaced if not defined
39 -vsync-active-high:
40 VSYNC polarity configuration.
41 High if defined, Low if not defined
42 -hsync-active-high:
43 HSYNC polarity configuration.
44 High if defined, Low if not defined
b8b52471
AB
45 -samsung,hpd-gpio:
46 Hotplug detect GPIO.
47 Indicates which GPIO should be used for hotplug
48 detection
70433061
YY
49 -video interfaces: Device node can contain video interface port
50 nodes according to [1].
51 - display-timings: timings for the connected panel as described by
52 Documentation/devicetree/bindings/display/panel/display-timing.txt
53
54For the below properties, please refer to Analogix DP binding document:
55 * Documentation/devicetree/bindings/display/bridge/analogix_dp.txt
56 -phys (required)
57 -phy-names (required)
58 -hpd-gpios (optional)
59
60Deprecated properties for DisplayPort:
61-interlaced: deprecated prop that can parsed from drm_display_mode.
62-vsync-active-high: deprecated prop that can parsed from drm_display_mode.
63-hsync-active-high: deprecated prop that can parsed from drm_display_mode.
64-samsung,ycbcr-coeff: deprecated prop that can parsed from drm_display_mode.
65-samsung,dynamic-range: deprecated prop that can parsed from drm_display_mode.
66-samsung,color-space: deprecated prop that can parsed from drm_display_info.
67-samsung,color-depth: deprecated prop that can parsed from drm_display_info.
68-samsung,link-rate: deprecated prop that can reading from monitor by dpcd method.
69-samsung,lane-count: deprecated prop that can reading from monitor by dpcd method.
70-samsung,hpd-gpio: deprecated name for hpd-gpios.
71
72-------------------------------------------------------------------------------
825e90d0
AK
73
74Example:
75
76SOC specific portion:
77 dp-controller {
78 compatible = "samsung,exynos5-dp";
79 reg = <0x145b0000 0x10000>;
80 interrupts = <10 3>;
81 interrupt-parent = <&combiner>;
60e69858
JH
82 clocks = <&clock 342>;
83 clock-names = "dp";
825e90d0 84
8114fabc
JH
85 phys = <&dp_phy>;
86 phy-names = "dp";
825e90d0
AK
87 };
88
89Board Specific portion:
90 dp-controller {
1417f109
SP
91 display-timings {
92 native-mode = <&lcd_timing>;
93 lcd_timing: 1366x768 {
94 clock-frequency = <70589280>;
95 hactive = <1366>;
96 vactive = <768>;
97 hfront-porch = <40>;
98 hback-porch = <40>;
99 hsync-len = <32>;
100 vback-porch = <10>;
101 vfront-porch = <12>;
102 vsync-len = <6>;
103 };
104 };
80185567
AK
105
106 ports {
70433061 107 port@0 {
80185567 108 dp_out: endpoint {
70433061 109 remote-endpoint = <&bridge_in>;
80185567
AK
110 };
111 };
112 };
825e90d0 113 };
This page took 0.156785 seconds and 5 git commands to generate.