Ajay Kumar | 9a1313e | 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 |
| 26 | CONFIG_SYS_LOW if defined, else CONFIG_SYS_HIGH |
| 27 | samsung,vl-oep: Output Enable polarity |
| 28 | CONFIG_SYS_LOW if defined, else CONFIG_SYS_HIGH |
| 29 | samsung,vl-hsp: Horizontal Sync polarity |
| 30 | CONFIG_SYS_LOW if defined, else CONFIG_SYS_HIGH |
| 31 | samsung,vl-vsp: Vertical Sync polarity |
| 32 | CONFIG_SYS_LOW if defined, else CONFIG_SYS_HIGH |
| 33 | samsung,vl-dp: Data polarity |
| 34 | CONFIG_SYS_LOW if defined, else CONFIG_SYS_HIGH |
| 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 | 45c480c | 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 | 9a1313e | 2013-02-21 23:53:02 +0000 | [diff] [blame] | 64 | |
| 65 | Example: |
| 66 | SOC specific part: |
| 67 | fimd@14400000 { |
| 68 | compatible = "samsung,exynos-fimd"; |
| 69 | reg = <0x14400000 0x10000>; |
| 70 | #address-cells = <1>; |
| 71 | #size-cells = <1>; |
| 72 | }; |
| 73 | |
| 74 | Board specific part: |
| 75 | fimd@14400000 { |
| 76 | samsung,vl-freq = <60>; |
| 77 | samsung,vl-col = <2560>; |
| 78 | samsung,vl-row = <1600>; |
| 79 | samsung,vl-width = <2560>; |
| 80 | samsung,vl-height = <1600>; |
| 81 | |
| 82 | samsung,vl-clkp; |
| 83 | samsung,vl-dp; |
| 84 | samsung,vl-bpix = <4>; |
| 85 | |
| 86 | samsung,vl-hspw = <32>; |
| 87 | samsung,vl-hbpd = <80>; |
| 88 | samsung,vl-hfpd = <48>; |
| 89 | samsung,vl-vspw = <6>; |
| 90 | samsung,vl-vbpd = <37>; |
| 91 | samsung,vl-vfpd = <3>; |
| 92 | samsung,vl-cmd-allow-len = <0xf>; |
| 93 | |
| 94 | samsung,winid = <3>; |
| 95 | samsung,interface-mode = <1>; |
| 96 | samsung,dp-enabled = <1>; |
| 97 | samsung,dual-lcd-enabled = <0>; |
| 98 | }; |