exynos-fb.txt 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. Board(panel specific):
  8. samsung,vl-col: X resolution of the panel
  9. samsung,vl-row: Y resolution of the panel
  10. samsung,vl-freq: Refresh rate
  11. samsung,vl-bpix: Bits per pixel
  12. samsung,vl-hspw: Hsync value
  13. samsung,vl-hfpd: Right margin
  14. samsung,vl-hbpd: Left margin
  15. samsung,vl-vspw: Vsync value
  16. samsung,vl-vfpd: Lower margin
  17. samsung,vl-vbpd: Upper margin
  18. Optional properties:
  19. Board(panel specific):
  20. samsung,vl-width: width of display area in mm
  21. samsung,vl-height: Height of display area in mm
  22. samsung,vl-clkp: Clock polarity
  23. CONFIG_SYS_LOW if defined, else CONFIG_SYS_HIGH
  24. samsung,vl-oep: Output Enable polarity
  25. CONFIG_SYS_LOW if defined, else CONFIG_SYS_HIGH
  26. samsung,vl-hsp: Horizontal Sync polarity
  27. CONFIG_SYS_LOW if defined, else CONFIG_SYS_HIGH
  28. samsung,vl-vsp: Vertical Sync polarity
  29. CONFIG_SYS_LOW if defined, else CONFIG_SYS_HIGH
  30. samsung,vl-dp: Data polarity
  31. CONFIG_SYS_LOW if defined, else CONFIG_SYS_HIGH
  32. samsung,vl-cmd-allow-len: Wait end of frame
  33. samsung,winid: Window number on which data is to be displayed
  34. samsung,init-delay: Delay before LCD initialization starts
  35. samsung,power-on-delay: Delay after LCD is powered on
  36. samsung,reset-delay: Delay after LCD is reset
  37. samsung,interface-mode: 1(FIMD_RGB_INTERFACE), 2(FIMD_CPU_INTERFACE)
  38. samsung,mipi-enabled: 1 if you want to use MIPI, else 0
  39. samsung,dp-enabled: 1is you want to use DP, else 0
  40. samsung,cs-setup: cs_setup value in FIMD_CPU_INTERFACE mode.
  41. samsung,wr-setup: wr_setup value in FIMD_CPU_INTERFACE mode.
  42. samsung,wr-act: wr_act value in FIMD_CPU_INTERFACE mode.
  43. samsung,wr-hold: wr_hold value in FIMD_CPU_INTERFACE mode.
  44. samsung,logo-on: 1 if you want to use custom logo.
  45. 0 if you want LCD console.
  46. samsung,logo-width: pixel width of logo image. Valid if logo_on = 1
  47. samsung,logo-height: pixel height of logo image. Valid if logo_on = 1
  48. samsung,logo-addr: Address of logo image. Valid if logo_on = 1
  49. samsung,rgb-mode: 0(MODE_RGB_P), 1(MODE_BGR_P),
  50. 2(MODE_RGB_S), 3(MODE_BGR_S)
  51. samsung,pclk-name: parent clock identifier: 1(MPLL), 2(EPLL), 3(VPLL)
  52. samsung,sclk-div: parent_clock/source_clock ratio
  53. samsung,dual-lcd-enabled: 1 if you support two LCD, else 0
  54. Example:
  55. SOC specific part:
  56. fimd@14400000 {
  57. compatible = "samsung,exynos-fimd";
  58. reg = <0x14400000 0x10000>;
  59. #address-cells = <1>;
  60. #size-cells = <1>;
  61. };
  62. Board specific part:
  63. fimd@14400000 {
  64. samsung,vl-freq = <60>;
  65. samsung,vl-col = <2560>;
  66. samsung,vl-row = <1600>;
  67. samsung,vl-width = <2560>;
  68. samsung,vl-height = <1600>;
  69. samsung,vl-clkp;
  70. samsung,vl-dp;
  71. samsung,vl-bpix = <4>;
  72. samsung,vl-hspw = <32>;
  73. samsung,vl-hbpd = <80>;
  74. samsung,vl-hfpd = <48>;
  75. samsung,vl-vspw = <6>;
  76. samsung,vl-vbpd = <37>;
  77. samsung,vl-vfpd = <3>;
  78. samsung,vl-cmd-allow-len = <0xf>;
  79. samsung,winid = <3>;
  80. samsung,interface-mode = <1>;
  81. samsung,dp-enabled = <1>;
  82. samsung,dual-lcd-enabled = <0>;
  83. };