exynos-dp.txt 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. Exynos Display port controller
  2. ==============================
  3. Required properties:
  4. SOC specific:
  5. compatible: should be "samsung,exynos5-dp"
  6. reg: Base address of DP IP
  7. Optional properties:
  8. samsung,h-res: X resolution of the panel
  9. samsung,h-sync-width: hsync value
  10. samsung,h-back-porch: left margin
  11. samsung,h-front-porch right margin
  12. samsung,v-res: Y resolution of the panel
  13. samsung,v-sync-width: vsync value
  14. samsung,v-back-porch: upper margin
  15. samsung,v-front-porch: lower margin
  16. samsung,v-sync-rate: refresh rate
  17. samsung,lt-status: Link training status
  18. 0(DP_LT_NONE), 1(DP_LT_START), 2(DP_LT_CR), 3(DP_LT_ET),
  19. 4(DP_LT_FINISHED), 5(DP_LT_FAIL)
  20. samsung,master-mode: 1 if you want to run DP as master, else 0
  21. samsung,bist-mode: 1 to enable video bist mode, else 0
  22. samsung,bist-pattern: bist mode pattern type
  23. 0(NO_PATTERN), 1(COLOR_RAMP), 2(BALCK_WHITE_V_LINES),
  24. 3(COLOR_SQUARE), 4(INVALID_PATTERN), 5(COLORBAR_32),
  25. 6(COLORBAR_64),7(WHITE_GRAY_BALCKBAR_32),
  26. 8(WHITE_GRAY_BALCKBAR_64),9(MOBILE_WHITEBAR_32),
  27. 10(MOBILE_WHITEBAR_64)
  28. samsung,h-sync-polarity: Horizontal Sync polarity
  29. CONFIG_SYS_LOW if defined, else CONFIG_SYS_HIGH
  30. samsung,v-sync-polarity: Vertical Sync polarity
  31. CONFIG_SYS_LOW if defined, else CONFIG_SYS_HIGH
  32. samsung,interlaced: Progressive if 0, else Interlaced
  33. samsung,color-space: input video data format
  34. COLOR_RGB = 0, COLOR_YCBCR422 = 1, COLOR_YCBCR444 = 2
  35. samsung,dynamic-range: dynamic range for input video data
  36. VESA = 0, CEA = 1
  37. samsung,ycbcr-coeff: YCbCr co-efficients for input video
  38. COLOR_YCBCR601 = 0, COLOR_YCBCR709 = 1
  39. samsung,color-depth: number of bits per colour component
  40. COLOR_6 = 0, COLOR_8 = 1, COLOR_10 = 2, COLOR_12 = 3
  41. Example:
  42. SOC specific part:
  43. dp@145b0000 {
  44. compatible = "samsung,exynos5-dp";
  45. reg = <0x145b0000 0x1000>;
  46. #address-cells = <1>;
  47. #size-cells = <1>;
  48. };
  49. Board(panel) specific part:
  50. dp@145b0000 {
  51. samsung,lt-status = <0>;
  52. samsung,master-mode = <0>;
  53. samsung,bist-mode = <0>;
  54. samsung,bist-pattern = <0>;
  55. samsung,h-sync-polarity = <0>;
  56. samsung,v-sync-polarity = <0>;
  57. samsung,interlaced = <0>;
  58. samsung,color-space = <0>;
  59. samsung,dynamic-range = <0>;
  60. samsung,ycbcr-coeff = <0>;
  61. samsung,color-depth = <1>;
  62. };