summaryrefslogtreecommitdiffstats
path: root/qemu/roms/u-boot/doc/device-tree-bindings/video/exynos-dp.txt
blob: 464a85302ecf459f6c883e037693975250d053d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Exynos Display port controller
==============================

Required properties:
SOC specific:
	compatible: should be "samsung,exynos5-dp"
	reg: Base address of DP IP

Optional properties:
	samsung,h-res: X resolution of the panel
	samsung,h-sync-width: hsync value
	samsung,h-back-porch: left margin
	samsung,h-front-porch right margin
	samsung,v-res: Y resolution of the panel
	samsung,v-sync-width: vsync value
	samsung,v-back-porch: upper margin
	samsung,v-front-porch: lower margin
	samsung,v-sync-rate: refresh rate

	samsung,lt-status: Link training status
		0(DP_LT_NONE), 1(DP_LT_START), 2(DP_LT_CR), 3(DP_LT_ET),
		4(DP_LT_FINISHED), 5(DP_LT_FAIL)

	samsung,master-mode: 1 if you want to run DP as master, else 0
	samsung,bist-mode: 1 to enable video bist mode, else 0
	samsung,bist-pattern: bist mode pattern type
		0(NO_PATTERN), 1(COLOR_RAMP), 2(BALCK_WHITE_V_LINES),
		3(COLOR_SQUARE), 4(INVALID_PATTERN), 5(COLORBAR_32),
		6(COLORBAR_64),7(WHITE_GRAY_BALCKBAR_32),
		8(WHITE_GRAY_BALCKBAR_64),9(MOBILE_WHITEBAR_32),
		10(MOBILE_WHITEBAR_64)
	samsung,h-sync-polarity: Horizontal Sync polarity
			CONFIG_SYS_LOW if defined, else CONFIG_SYS_HIGH
	samsung,v-sync-polarity: Vertical Sync polarity
			CONFIG_SYS_LOW if defined, else CONFIG_SYS_HIGH
	samsung,interlaced: Progressive if 0, else Interlaced
	samsung,color-space: input video data format
		COLOR_RGB = 0, COLOR_YCBCR422 = 1, COLOR_YCBCR444 = 2
	samsung,dynamic-range: dynamic range for input video data
		VESA = 0, CEA = 1
	samsung,ycbcr-coeff: YCbCr co-efficients for input video
		COLOR_YCBCR601 = 0, COLOR_YCBCR709 = 1
	samsung,color-depth: number of bits per colour component
		COLOR_6 = 0, COLOR_8 = 1, COLOR_10 = 2, COLOR_12 = 3

Example:
SOC specific part:
	dp@145b0000 {
		compatible = "samsung,exynos5-dp";
		reg = <0x145b0000 0x1000>;
		#address-cells = <1>;
		#size-cells = <1>;
	};

Board(panel) specific part:
	dp@145b0000 {
		samsung,lt-status = <0>;

		samsung,master-mode = <0>;
		samsung,bist-mode = <0>;
		samsung,bist-pattern = <0>;
		samsung,h-sync-polarity = <0>;
		samsung,v-sync-polarity = <0>;
		samsung,interlaced = <0>;
		samsung,color-space = <0>;
		samsung,dynamic-range = <0>;
		samsung,ycbcr-coeff = <0>;
		samsung,color-depth = <1>;
	};