exynos_dp.txt 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. The Exynos display port interface should be configured based on
  2. the type of panel connected to it.
  3. We use two nodes:
  4. -dp-controller node
  5. -dptx-phy node(defined inside dp-controller node)
  6. For the DP-PHY initialization, we use the dptx-phy node.
  7. Required properties for dptx-phy:
  8. -reg:
  9. Base address of DP PHY register.
  10. -samsung,enable-mask:
  11. The bit-mask used to enable/disable DP PHY.
  12. For the Panel initialization, we read data from dp-controller node.
  13. Required properties for dp-controller:
  14. -compatible:
  15. should be "samsung,exynos5-dp".
  16. -reg:
  17. physical base address of the controller and length
  18. of memory mapped region.
  19. -interrupts:
  20. interrupt combiner values.
  21. -clocks:
  22. from common clock binding: handle to dp clock.
  23. -clock-names:
  24. from common clock binding: Shall be "dp".
  25. -interrupt-parent:
  26. phandle to Interrupt combiner node.
  27. -samsung,color-space:
  28. input video data format.
  29. COLOR_RGB = 0, COLOR_YCBCR422 = 1, COLOR_YCBCR444 = 2
  30. -samsung,dynamic-range:
  31. dynamic range for input video data.
  32. VESA = 0, CEA = 1
  33. -samsung,ycbcr-coeff:
  34. YCbCr co-efficients for input video.
  35. COLOR_YCBCR601 = 0, COLOR_YCBCR709 = 1
  36. -samsung,color-depth:
  37. number of bits per colour component.
  38. COLOR_6 = 0, COLOR_8 = 1, COLOR_10 = 2, COLOR_12 = 3
  39. -samsung,link-rate:
  40. link rate supported by the panel.
  41. LINK_RATE_1_62GBPS = 0x6, LINK_RATE_2_70GBPS = 0x0A
  42. -samsung,lane-count:
  43. number of lanes supported by the panel.
  44. LANE_COUNT1 = 1, LANE_COUNT2 = 2, LANE_COUNT4 = 4
  45. Optional properties for dp-controller:
  46. -interlaced:
  47. interlace scan mode.
  48. Progressive if defined, Interlaced if not defined
  49. -vsync-active-high:
  50. VSYNC polarity configuration.
  51. High if defined, Low if not defined
  52. -hsync-active-high:
  53. HSYNC polarity configuration.
  54. High if defined, Low if not defined
  55. Example:
  56. SOC specific portion:
  57. dp-controller {
  58. compatible = "samsung,exynos5-dp";
  59. reg = <0x145b0000 0x10000>;
  60. interrupts = <10 3>;
  61. interrupt-parent = <&combiner>;
  62. clocks = <&clock 342>;
  63. clock-names = "dp";
  64. dptx-phy {
  65. reg = <0x10040720>;
  66. samsung,enable-mask = <1>;
  67. };
  68. };
  69. Board Specific portion:
  70. dp-controller {
  71. samsung,color-space = <0>;
  72. samsung,dynamic-range = <0>;
  73. samsung,ycbcr-coeff = <0>;
  74. samsung,color-depth = <1>;
  75. samsung,link-rate = <0x0a>;
  76. samsung,lane-count = <4>;
  77. };