exynos-fb.txt 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. samsung,disable-sysmmu: Define this if you want to disable FIMD sysmmu.
  55. (needed for Exynos5420 and newer versions)
  56. Add the required FIMD sysmmu nodes to be
  57. disabled with compatible string
  58. "samsung,sysmmu-v3.3", with a "reg" property
  59. holding the register address of FIMD sysmmu.
  60. samsung,pwm-out-gpio: PWM output GPIO.
  61. samsung,bl-en-gpio: backlight enable GPIO.
  62. Example:
  63. SOC specific part:
  64. fimd@14400000 {
  65. compatible = "samsung,exynos-fimd";
  66. reg = <0x14400000 0x10000>;
  67. #address-cells = <1>;
  68. #size-cells = <1>;
  69. };
  70. Board specific part:
  71. fimd@14400000 {
  72. samsung,vl-freq = <60>;
  73. samsung,vl-col = <2560>;
  74. samsung,vl-row = <1600>;
  75. samsung,vl-width = <2560>;
  76. samsung,vl-height = <1600>;
  77. samsung,vl-clkp;
  78. samsung,vl-dp;
  79. samsung,vl-bpix = <4>;
  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. samsung,winid = <3>;
  88. samsung,interface-mode = <1>;
  89. samsung,dp-enabled = <1>;
  90. samsung,dual-lcd-enabled = <0>;
  91. };