panel-lvds.txt 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. LVDS Display Panel
  2. ==================
  3. LVDS is a physical layer specification defined in ANSI/TIA/EIA-644-A. Multiple
  4. incompatible data link layers have been used over time to transmit image data
  5. to LVDS panels. This bindings supports display panels compatible with the
  6. following specifications.
  7. [JEIDA] "Digital Interface Standards for Monitor", JEIDA-59-1999, February
  8. 1999 (Version 1.0), Japan Electronic Industry Development Association (JEIDA)
  9. [LDI] "Open LVDS Display Interface", May 1999 (Version 0.95), National
  10. Semiconductor
  11. [VESA] "VESA Notebook Panel Standard", October 2007 (Version 1.0), Video
  12. Electronics Standards Association (VESA)
  13. Device compatible with those specifications have been marketed under the
  14. FPD-Link and FlatLink brands.
  15. Required properties:
  16. - compatible: Shall contain "panel-lvds" in addition to a mandatory
  17. panel-specific compatible string defined in individual panel bindings. The
  18. "panel-lvds" value shall never be used on its own.
  19. - width-mm: See panel-common.txt.
  20. - height-mm: See panel-common.txt.
  21. - data-mapping: The color signals mapping order, "jeida-18", "jeida-24"
  22. or "vesa-24".
  23. Optional properties:
  24. - label: See panel-common.txt.
  25. - gpios: See panel-common.txt.
  26. - backlight: See panel-common.txt.
  27. - power-supply: See panel-common.txt.
  28. - data-mirror: If set, reverse the bit order described in the data mappings
  29. below on all data lanes, transmitting bits for slots 6 to 0 instead of
  30. 0 to 6.
  31. Required nodes:
  32. - panel-timing: See panel-common.txt.
  33. - ports: See panel-common.txt. These bindings require a single port subnode
  34. corresponding to the panel LVDS input.
  35. LVDS data mappings are defined as follows.
  36. - "jeida-18" - 18-bit data mapping compatible with the [JEIDA], [LDI] and
  37. [VESA] specifications. Data are transferred as follows on 3 LVDS lanes.
  38. Slot 0 1 2 3 4 5 6
  39. ________________ _________________
  40. Clock \_______________________/
  41. ______ ______ ______ ______ ______ ______ ______
  42. DATA0 ><__G0__><__R5__><__R4__><__R3__><__R2__><__R1__><__R0__><
  43. DATA1 ><__B1__><__B0__><__G5__><__G4__><__G3__><__G2__><__G1__><
  44. DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B5__><__B4__><__B3__><__B2__><
  45. - "jeida-24" - 24-bit data mapping compatible with the [DSIM] and [LDI]
  46. specifications. Data are transferred as follows on 4 LVDS lanes.
  47. Slot 0 1 2 3 4 5 6
  48. ________________ _________________
  49. Clock \_______________________/
  50. ______ ______ ______ ______ ______ ______ ______
  51. DATA0 ><__G2__><__R7__><__R6__><__R5__><__R4__><__R3__><__R2__><
  52. DATA1 ><__B3__><__B2__><__G7__><__G6__><__G5__><__G4__><__G3__><
  53. DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B7__><__B6__><__B5__><__B4__><
  54. DATA3 ><_CTL3_><__B1__><__B0__><__G1__><__G0__><__R1__><__R0__><
  55. - "vesa-24" - 24-bit data mapping compatible with the [VESA] specification.
  56. Data are transferred as follows on 4 LVDS lanes.
  57. Slot 0 1 2 3 4 5 6
  58. ________________ _________________
  59. Clock \_______________________/
  60. ______ ______ ______ ______ ______ ______ ______
  61. DATA0 ><__G0__><__R5__><__R4__><__R3__><__R2__><__R1__><__R0__><
  62. DATA1 ><__B1__><__B0__><__G5__><__G4__><__G3__><__G2__><__G1__><
  63. DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B5__><__B4__><__B3__><__B2__><
  64. DATA3 ><_CTL3_><__B7__><__B6__><__G7__><__G6__><__R7__><__R6__><
  65. Control signals are mapped as follows.
  66. CTL0: HSync
  67. CTL1: VSync
  68. CTL2: Data Enable
  69. CTL3: 0
  70. Example
  71. -------
  72. panel {
  73. compatible = "mitsubishi,aa121td01", "panel-lvds";
  74. width-mm = <261>;
  75. height-mm = <163>;
  76. data-mapping = "jeida-24";
  77. panel-timing {
  78. /* 1280x800 @60Hz */
  79. clock-frequency = <71000000>;
  80. hactive = <1280>;
  81. vactive = <800>;
  82. hsync-len = <70>;
  83. hfront-porch = <20>;
  84. hback-porch = <70>;
  85. vsync-len = <5>;
  86. vfront-porch = <3>;
  87. vback-porch = <15>;
  88. };
  89. port {
  90. panel_in: endpoint {
  91. remote-endpoint = <&lvds_encoder>;
  92. };
  93. };
  94. };