blob: bff0cecfcfbc0fe23cf1181ba7caacc05e2eee76 [file] [log] [blame]
Ajay Kumar21b893c2013-02-21 23:53:02 +00001Exynos Display Controller
2=========================
3Required properties:
4SOC specific:
5 compatible: should be "samsung,exynos-fimd"
6 reg: Base address of FIMD IP.
7
8Board(panel specific):
9 samsung,vl-col: X resolution of the panel
10 samsung,vl-row: Y resolution of the panel
11 samsung,vl-freq: Refresh rate
12 samsung,vl-bpix: Bits per pixel
13 samsung,vl-hspw: Hsync value
14 samsung,vl-hfpd: Right margin
15 samsung,vl-hbpd: Left margin
16 samsung,vl-vspw: Vsync value
17 samsung,vl-vfpd: Lower margin
18 samsung,vl-vbpd: Upper margin
19
20Optional properties:
21Board(panel specific):
22 samsung,vl-width: width of display area in mm
23 samsung,vl-height: Height of display area in mm
24
25 samsung,vl-clkp: Clock polarity
Tom Rini6a5dccc2022-11-16 13:10:41 -050026 CFG_SYS_LOW if defined, else CONFIG_SYS_HIGH
Ajay Kumar21b893c2013-02-21 23:53:02 +000027 samsung,vl-oep: Output Enable polarity
Tom Rini6a5dccc2022-11-16 13:10:41 -050028 CFG_SYS_LOW if defined, else CONFIG_SYS_HIGH
Ajay Kumar21b893c2013-02-21 23:53:02 +000029 samsung,vl-hsp: Horizontal Sync polarity
Tom Rini6a5dccc2022-11-16 13:10:41 -050030 CFG_SYS_LOW if defined, else CONFIG_SYS_HIGH
Ajay Kumar21b893c2013-02-21 23:53:02 +000031 samsung,vl-vsp: Vertical Sync polarity
Tom Rini6a5dccc2022-11-16 13:10:41 -050032 CFG_SYS_LOW if defined, else CONFIG_SYS_HIGH
Ajay Kumar21b893c2013-02-21 23:53:02 +000033 samsung,vl-dp: Data polarity
Tom Rini6a5dccc2022-11-16 13:10:41 -050034 CFG_SYS_LOW if defined, else CONFIG_SYS_HIGH
Ajay Kumar21b893c2013-02-21 23:53:02 +000035
36 samsung,vl-cmd-allow-len: Wait end of frame
37 samsung,winid: Window number on which data is to be displayed
38 samsung,init-delay: Delay before LCD initialization starts
39 samsung,power-on-delay: Delay after LCD is powered on
40 samsung,reset-delay: Delay after LCD is reset
41 samsung,interface-mode: 1(FIMD_RGB_INTERFACE), 2(FIMD_CPU_INTERFACE)
42 samsung,mipi-enabled: 1 if you want to use MIPI, else 0
43 samsung,dp-enabled: 1is you want to use DP, else 0
44 samsung,cs-setup: cs_setup value in FIMD_CPU_INTERFACE mode.
45 samsung,wr-setup: wr_setup value in FIMD_CPU_INTERFACE mode.
46 samsung,wr-act: wr_act value in FIMD_CPU_INTERFACE mode.
47 samsung,wr-hold: wr_hold value in FIMD_CPU_INTERFACE mode.
48 samsung,logo-on: 1 if you want to use custom logo.
49 0 if you want LCD console.
50 samsung,logo-width: pixel width of logo image. Valid if logo_on = 1
51 samsung,logo-height: pixel height of logo image. Valid if logo_on = 1
52 samsung,logo-addr: Address of logo image. Valid if logo_on = 1
53 samsung,rgb-mode: 0(MODE_RGB_P), 1(MODE_BGR_P),
54 2(MODE_RGB_S), 3(MODE_BGR_S)
55 samsung,pclk-name: parent clock identifier: 1(MPLL), 2(EPLL), 3(VPLL)
56 samsung,sclk-div: parent_clock/source_clock ratio
57 samsung,dual-lcd-enabled: 1 if you support two LCD, else 0
Ajay Kumare24c5022014-09-05 16:53:33 +053058 samsung,disable-sysmmu: Define this if you want to disable FIMD sysmmu.
59 (needed for Exynos5420 and newer versions)
60 Add the required FIMD sysmmu nodes to be
61 disabled with compatible string
62 "samsung,sysmmu-v3.3", with a "reg" property
63 holding the register address of FIMD sysmmu.
Ajay Kumar39ea08b2015-03-04 19:05:26 +053064 samsung,pwm-out-gpio: PWM output GPIO.
65 samsung,bl-en-gpio: backlight enable GPIO.
Ajay Kumar21b893c2013-02-21 23:53:02 +000066
67Example:
68SOC specific part:
69 fimd@14400000 {
70 compatible = "samsung,exynos-fimd";
71 reg = <0x14400000 0x10000>;
72 #address-cells = <1>;
73 #size-cells = <1>;
74 };
75
76Board specific part:
77 fimd@14400000 {
78 samsung,vl-freq = <60>;
79 samsung,vl-col = <2560>;
80 samsung,vl-row = <1600>;
81 samsung,vl-width = <2560>;
82 samsung,vl-height = <1600>;
83
84 samsung,vl-clkp;
85 samsung,vl-dp;
86 samsung,vl-bpix = <4>;
87
88 samsung,vl-hspw = <32>;
89 samsung,vl-hbpd = <80>;
90 samsung,vl-hfpd = <48>;
91 samsung,vl-vspw = <6>;
92 samsung,vl-vbpd = <37>;
93 samsung,vl-vfpd = <3>;
94 samsung,vl-cmd-allow-len = <0xf>;
95
96 samsung,winid = <3>;
97 samsung,interface-mode = <1>;
98 samsung,dp-enabled = <1>;
99 samsung,dual-lcd-enabled = <0>;
100 };