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 |
| 58 | |
| 59 | Example: |
| 60 | SOC specific part: |
| 61 | fimd@14400000 { |
| 62 | compatible = "samsung,exynos-fimd"; |
| 63 | reg = <0x14400000 0x10000>; |
| 64 | #address-cells = <1>; |
| 65 | #size-cells = <1>; |
| 66 | }; |
| 67 | |
| 68 | Board specific part: |
| 69 | fimd@14400000 { |
| 70 | samsung,vl-freq = <60>; |
| 71 | samsung,vl-col = <2560>; |
| 72 | samsung,vl-row = <1600>; |
| 73 | samsung,vl-width = <2560>; |
| 74 | samsung,vl-height = <1600>; |
| 75 | |
| 76 | samsung,vl-clkp; |
| 77 | samsung,vl-dp; |
| 78 | samsung,vl-bpix = <4>; |
| 79 | |
| 80 | samsung,vl-hspw = <32>; |
| 81 | samsung,vl-hbpd = <80>; |
| 82 | samsung,vl-hfpd = <48>; |
| 83 | samsung,vl-vspw = <6>; |
| 84 | samsung,vl-vbpd = <37>; |
| 85 | samsung,vl-vfpd = <3>; |
| 86 | samsung,vl-cmd-allow-len = <0xf>; |
| 87 | |
| 88 | samsung,winid = <3>; |
| 89 | samsung,interface-mode = <1>; |
| 90 | samsung,dp-enabled = <1>; |
| 91 | samsung,dual-lcd-enabled = <0>; |
| 92 | }; |