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.
9Required properties for dptx-phy: deprecated, use phys and phy-names
10	-reg: deprecated
11		Base address of DP PHY register.
12	-samsung,enable-mask: deprecated
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.
24	-clocks:
25		from common clock binding: handle to dp clock.
26	-clock-names:
27		from common clock binding: Shall be "dp".
28	-interrupt-parent:
29		phandle to Interrupt combiner node.
30	-phys:
31		from general PHY binding: the phandle for the PHY device.
32	-phy-names:
33		from general PHY binding: Should be "dp".
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
45	-samsung,hpd-gpio:
46		Hotplug detect GPIO.
47			Indicates which GPIO should be used for hotplug
48			detection
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	 force-hpd (optional)
60
61Deprecated properties for DisplayPort:
62-interlaced:            deprecated prop that can parsed from drm_display_mode.
63-vsync-active-high:     deprecated prop that can parsed from drm_display_mode.
64-hsync-active-high:     deprecated prop that can parsed from drm_display_mode.
65-samsung,ycbcr-coeff:   deprecated prop that can parsed from drm_display_mode.
66-samsung,dynamic-range: deprecated prop that can parsed from drm_display_mode.
67-samsung,color-space:   deprecated prop that can parsed from drm_display_info.
68-samsung,color-depth:   deprecated prop that can parsed from drm_display_info.
69-samsung,link-rate:     deprecated prop that can reading from monitor by dpcd method.
70-samsung,lane-count:    deprecated prop that can reading from monitor by dpcd method.
71-samsung,hpd-gpio:      deprecated name for hpd-gpios.
72
73-------------------------------------------------------------------------------
74
75Example:
76
77SOC specific portion:
78	dp-controller {
79		compatible = "samsung,exynos5-dp";
80		reg = <0x145b0000 0x10000>;
81		interrupts = <10 3>;
82		interrupt-parent = <&combiner>;
83		clocks = <&clock 342>;
84		clock-names = "dp";
85
86		phys = <&dp_phy>;
87		phy-names = "dp";
88	};
89
90Board Specific portion:
91	dp-controller {
92		display-timings {
93			native-mode = <&lcd_timing>;
94			lcd_timing: 1366x768 {
95				clock-frequency = <70589280>;
96				hactive = <1366>;
97				vactive = <768>;
98				hfront-porch = <40>;
99				hback-porch = <40>;
100				hsync-len = <32>;
101				vback-porch = <10>;
102				vfront-porch = <12>;
103				vsync-len = <6>;
104			};
105		};
106
107		ports {
108			port@0 {
109				dp_out: endpoint {
110					remote-endpoint = <&bridge_in>;
111				};
112			};
113		};
114	};
115