blob: 84f10c16cb383497b0fc5a736d4ce03a59668c4c [file] [log] [blame]
Ajay Kumar825e90d2012-10-13 05:48:00 +09001The 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:
10 -reg:
11 Base address of DP PHY register.
12 -samsung,enable-mask:
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.
Jingoo Han60e69852013-06-10 17:38:32 +090024 -clocks:
25 from common clock binding: handle to dp clock.
26 -clock-names:
27 from common clock binding: Shall be "dp".
Ajay Kumar825e90d2012-10-13 05:48:00 +090028 -interrupt-parent:
29 phandle to Interrupt combiner node.
30 -samsung,color-space:
31 input video data format.
32 COLOR_RGB = 0, COLOR_YCBCR422 = 1, COLOR_YCBCR444 = 2
33 -samsung,dynamic-range:
34 dynamic range for input video data.
35 VESA = 0, CEA = 1
36 -samsung,ycbcr-coeff:
37 YCbCr co-efficients for input video.
38 COLOR_YCBCR601 = 0, COLOR_YCBCR709 = 1
39 -samsung,color-depth:
40 number of bits per colour component.
41 COLOR_6 = 0, COLOR_8 = 1, COLOR_10 = 2, COLOR_12 = 3
42 -samsung,link-rate:
43 link rate supported by the panel.
44 LINK_RATE_1_62GBPS = 0x6, LINK_RATE_2_70GBPS = 0x0A
45 -samsung,lane-count:
46 number of lanes supported by the panel.
47 LANE_COUNT1 = 1, LANE_COUNT2 = 2, LANE_COUNT4 = 4
48
49Optional properties for dp-controller:
50 -interlaced:
51 interlace scan mode.
52 Progressive if defined, Interlaced if not defined
53 -vsync-active-high:
54 VSYNC polarity configuration.
55 High if defined, Low if not defined
56 -hsync-active-high:
57 HSYNC polarity configuration.
58 High if defined, Low if not defined
59
60Example:
61
62SOC specific portion:
63 dp-controller {
64 compatible = "samsung,exynos5-dp";
65 reg = <0x145b0000 0x10000>;
66 interrupts = <10 3>;
67 interrupt-parent = <&combiner>;
Jingoo Han60e69852013-06-10 17:38:32 +090068 clocks = <&clock 342>;
69 clock-names = "dp";
Ajay Kumar825e90d2012-10-13 05:48:00 +090070
71 dptx-phy {
72 reg = <0x10040720>;
73 samsung,enable-mask = <1>;
74 };
75
76 };
77
78Board Specific portion:
79 dp-controller {
80 samsung,color-space = <0>;
81 samsung,dynamic-range = <0>;
82 samsung,ycbcr-coeff = <0>;
83 samsung,color-depth = <1>;
84 samsung,link-rate = <0x0a>;
85 samsung,lane-count = <4>;
86 };