lvds-data-mapping.yaml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/display/lvds-data-mapping.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: LVDS Data Mapping
  7. maintainers:
  8. - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
  9. - Thierry Reding <thierry.reding@gmail.com>
  10. description: |
  11. LVDS is a physical layer specification defined in ANSI/TIA/EIA-644-A. Multiple
  12. incompatible data link layers have been used over time to transmit image data
  13. to LVDS devices. This bindings supports devices compatible with the following
  14. specifications.
  15. [JEIDA] "Digital Interface Standards for Monitor", JEIDA-59-1999, February
  16. 1999 (Version 1.0), Japan Electronic Industry Development Association (JEIDA)
  17. [LDI] "Open LVDS Display Interface", May 1999 (Version 0.95), National
  18. Semiconductor
  19. [VESA] "VESA Notebook Panel Standard", October 2007 (Version 1.0), Video
  20. Electronics Standards Association (VESA)
  21. Device compatible with those specifications have been marketed under the
  22. FPD-Link and FlatLink brands.
  23. This bindings also supports 30-bit data mapping compatible with JEIDA and
  24. VESA.
  25. properties:
  26. data-mapping:
  27. enum:
  28. - jeida-18
  29. - jeida-24
  30. - jeida-30
  31. - vesa-24
  32. - vesa-30
  33. description: |
  34. The color signals mapping order.
  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. - "jeida-30" - 30-bit data mapping compatible with JEIDA and VESA. Data
  56. are transferred as follows on 5 LVDS lanes.
  57. Slot 0 1 2 3 4 5 6
  58. ________________ _________________
  59. Clock \_______________________/
  60. ______ ______ ______ ______ ______ ______ ______
  61. DATA0 ><__G4__><__R9__><__R8__><__R7__><__R6__><__R5__><__R4__><
  62. DATA1 ><__B5__><__B4__><__G9__><__G8__><__G7__><__G6__><__G5__><
  63. DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B9__><__B8__><__B7__><__B6__><
  64. DATA3 ><_CTL3_><__B3__><__B2__><__G3__><__G2__><__R3__><__R2__><
  65. DATA4 ><_CTL3_><__B1__><__B0__><__G1__><__G0__><__R1__><__R0__><
  66. - "vesa-24" - 24-bit data mapping compatible with the [VESA] specification.
  67. Data are transferred as follows on 4 LVDS lanes.
  68. Slot 0 1 2 3 4 5 6
  69. ________________ _________________
  70. Clock \_______________________/
  71. ______ ______ ______ ______ ______ ______ ______
  72. DATA0 ><__G0__><__R5__><__R4__><__R3__><__R2__><__R1__><__R0__><
  73. DATA1 ><__B1__><__B0__><__G5__><__G4__><__G3__><__G2__><__G1__><
  74. DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B5__><__B4__><__B3__><__B2__><
  75. DATA3 ><_CTL3_><__B7__><__B6__><__G7__><__G6__><__R7__><__R6__><
  76. - "vesa-30" - 30-bit data mapping compatible with VESA. Data are
  77. transferred as follows on 5 LVDS lanes.
  78. Slot 0 1 2 3 4 5 6
  79. ________________ _________________
  80. Clock \_______________________/
  81. ______ ______ ______ ______ ______ ______ ______
  82. DATA0 ><__G0__><__R5__><__R4__><__R3__><__R2__><__R1__><__R0__><
  83. DATA1 ><__B1__><__B0__><__G5__><__G4__><__G3__><__G2__><__G1__><
  84. DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B5__><__B4__><__B3__><__B2__><
  85. DATA3 ><_CTL3_><__B7__><__B6__><__G7__><__G6__><__R7__><__R6__><
  86. DATA4 ><_CTL3_><__B9__><__B8__><__G9__><__G8__><__R9__><__R8__><
  87. Control signals are mapped as follows.
  88. CTL0: HSync
  89. CTL1: VSync
  90. CTL2: Data Enable
  91. CTL3: 0
  92. additionalProperties: true
  93. ...