lvds-data-mapping.yaml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. properties:
  24. data-mapping:
  25. enum:
  26. - jeida-18
  27. - jeida-24
  28. - vesa-24
  29. description: |
  30. The color signals mapping order.
  31. LVDS data mappings are defined as follows.
  32. - "jeida-18" - 18-bit data mapping compatible with the [JEIDA], [LDI] and
  33. [VESA] specifications. Data are transferred as follows on 3 LVDS lanes.
  34. Slot 0 1 2 3 4 5 6
  35. ________________ _________________
  36. Clock \_______________________/
  37. ______ ______ ______ ______ ______ ______ ______
  38. DATA0 ><__G0__><__R5__><__R4__><__R3__><__R2__><__R1__><__R0__><
  39. DATA1 ><__B1__><__B0__><__G5__><__G4__><__G3__><__G2__><__G1__><
  40. DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B5__><__B4__><__B3__><__B2__><
  41. - "jeida-24" - 24-bit data mapping compatible with the [DSIM] and [LDI]
  42. specifications. Data are transferred as follows on 4 LVDS lanes.
  43. Slot 0 1 2 3 4 5 6
  44. ________________ _________________
  45. Clock \_______________________/
  46. ______ ______ ______ ______ ______ ______ ______
  47. DATA0 ><__G2__><__R7__><__R6__><__R5__><__R4__><__R3__><__R2__><
  48. DATA1 ><__B3__><__B2__><__G7__><__G6__><__G5__><__G4__><__G3__><
  49. DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B7__><__B6__><__B5__><__B4__><
  50. DATA3 ><_CTL3_><__B1__><__B0__><__G1__><__G0__><__R1__><__R0__><
  51. - "vesa-24" - 24-bit data mapping compatible with the [VESA] specification.
  52. Data are transferred as follows on 4 LVDS lanes.
  53. Slot 0 1 2 3 4 5 6
  54. ________________ _________________
  55. Clock \_______________________/
  56. ______ ______ ______ ______ ______ ______ ______
  57. DATA0 ><__G0__><__R5__><__R4__><__R3__><__R2__><__R1__><__R0__><
  58. DATA1 ><__B1__><__B0__><__G5__><__G4__><__G3__><__G2__><__G1__><
  59. DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B5__><__B4__><__B3__><__B2__><
  60. DATA3 ><_CTL3_><__B7__><__B6__><__G7__><__G6__><__R7__><__R6__><
  61. Control signals are mapped as follows.
  62. CTL0: HSync
  63. CTL1: VSync
  64. CTL2: Data Enable
  65. CTL3: 0
  66. additionalProperties: true
  67. ...