Ajay Kumar | 21b893c | 2013-02-21 23:53:02 +0000 | [diff] [blame] | 1 | Exynos Display Controller |
| 2 | ========================= |
| 3 | Required properties: |
| 4 | SOC specific: |
| 5 | compatible: should be "samsung,exynos-fimd" |
| 6 | reg: Base address of FIMD IP. |
| 7 | |
| 8 | Board(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 | |
| 20 | Optional properties: |
| 21 | Board(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 Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 26 | CFG_SYS_LOW if defined, else CONFIG_SYS_HIGH |
Ajay Kumar | 21b893c | 2013-02-21 23:53:02 +0000 | [diff] [blame] | 27 | samsung,vl-oep: Output Enable polarity |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 28 | CFG_SYS_LOW if defined, else CONFIG_SYS_HIGH |
Ajay Kumar | 21b893c | 2013-02-21 23:53:02 +0000 | [diff] [blame] | 29 | samsung,vl-hsp: Horizontal Sync polarity |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 30 | CFG_SYS_LOW if defined, else CONFIG_SYS_HIGH |
Ajay Kumar | 21b893c | 2013-02-21 23:53:02 +0000 | [diff] [blame] | 31 | samsung,vl-vsp: Vertical Sync polarity |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 32 | CFG_SYS_LOW if defined, else CONFIG_SYS_HIGH |
Ajay Kumar | 21b893c | 2013-02-21 23:53:02 +0000 | [diff] [blame] | 33 | samsung,vl-dp: Data polarity |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 34 | CFG_SYS_LOW if defined, else CONFIG_SYS_HIGH |
Ajay Kumar | 21b893c | 2013-02-21 23:53:02 +0000 | [diff] [blame] | 35 | |
| 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 Kumar | e24c502 | 2014-09-05 16:53:33 +0530 | [diff] [blame] | 58 | 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 Kumar | 39ea08b | 2015-03-04 19:05:26 +0530 | [diff] [blame] | 64 | samsung,pwm-out-gpio: PWM output GPIO. |
| 65 | samsung,bl-en-gpio: backlight enable GPIO. |
Ajay Kumar | 21b893c | 2013-02-21 23:53:02 +0000 | [diff] [blame] | 66 | |
| 67 | Example: |
| 68 | SOC specific part: |
| 69 | fimd@14400000 { |
| 70 | compatible = "samsung,exynos-fimd"; |
| 71 | reg = <0x14400000 0x10000>; |
| 72 | #address-cells = <1>; |
| 73 | #size-cells = <1>; |
| 74 | }; |
| 75 | |
| 76 | Board 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 | }; |