xref: /freebsd-src/sys/contrib/device-tree/Bindings/display/panel/lvds.yaml (revision 5956d97f4b3204318ceb6aa9c77bd0bc6ea87a41)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/display/panel/lvds.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel Vadottitle: LVDS Display Panel
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
11c66ec88fSEmmanuel Vadot  - Thierry Reding <thierry.reding@gmail.com>
12c66ec88fSEmmanuel Vadot
13c66ec88fSEmmanuel Vadotdescription: |+
14c66ec88fSEmmanuel Vadot  LVDS is a physical layer specification defined in ANSI/TIA/EIA-644-A. Multiple
15c66ec88fSEmmanuel Vadot  incompatible data link layers have been used over time to transmit image data
16c66ec88fSEmmanuel Vadot  to LVDS panels. This bindings supports display panels compatible with the
17c66ec88fSEmmanuel Vadot  following specifications.
18c66ec88fSEmmanuel Vadot
19c66ec88fSEmmanuel Vadot  [JEIDA] "Digital Interface Standards for Monitor", JEIDA-59-1999, February
20c66ec88fSEmmanuel Vadot  1999 (Version 1.0), Japan Electronic Industry Development Association (JEIDA)
21c66ec88fSEmmanuel Vadot  [LDI] "Open LVDS Display Interface", May 1999 (Version 0.95), National
22c66ec88fSEmmanuel Vadot  Semiconductor
23c66ec88fSEmmanuel Vadot  [VESA] "VESA Notebook Panel Standard", October 2007 (Version 1.0), Video
24c66ec88fSEmmanuel Vadot  Electronics Standards Association (VESA)
25c66ec88fSEmmanuel Vadot
26c66ec88fSEmmanuel Vadot  Device compatible with those specifications have been marketed under the
27c66ec88fSEmmanuel Vadot  FPD-Link and FlatLink brands.
28c66ec88fSEmmanuel Vadot
29c66ec88fSEmmanuel VadotallOf:
30c66ec88fSEmmanuel Vadot  - $ref: panel-common.yaml#
31c66ec88fSEmmanuel Vadot
32c66ec88fSEmmanuel Vadotproperties:
33c66ec88fSEmmanuel Vadot  compatible:
34c66ec88fSEmmanuel Vadot    contains:
35c66ec88fSEmmanuel Vadot      const: panel-lvds
36c66ec88fSEmmanuel Vadot    description:
37c66ec88fSEmmanuel Vadot      Shall contain "panel-lvds" in addition to a mandatory panel-specific
38c66ec88fSEmmanuel Vadot      compatible string defined in individual panel bindings. The "panel-lvds"
39c66ec88fSEmmanuel Vadot      value shall never be used on its own.
40c66ec88fSEmmanuel Vadot
41c66ec88fSEmmanuel Vadot  data-mapping:
42c66ec88fSEmmanuel Vadot    enum:
43c66ec88fSEmmanuel Vadot      - jeida-18
44c66ec88fSEmmanuel Vadot      - jeida-24
45c66ec88fSEmmanuel Vadot      - vesa-24
46c66ec88fSEmmanuel Vadot    description: |
47c66ec88fSEmmanuel Vadot      The color signals mapping order.
48c66ec88fSEmmanuel Vadot
49c66ec88fSEmmanuel Vadot      LVDS data mappings are defined as follows.
50c66ec88fSEmmanuel Vadot
51c66ec88fSEmmanuel Vadot      - "jeida-18" - 18-bit data mapping compatible with the [JEIDA], [LDI] and
52c66ec88fSEmmanuel Vadot        [VESA] specifications. Data are transferred as follows on 3 LVDS lanes.
53c66ec88fSEmmanuel Vadot
54c66ec88fSEmmanuel Vadot      Slot          0       1       2       3       4       5       6
55c66ec88fSEmmanuel Vadot                ________________                         _________________
56c66ec88fSEmmanuel Vadot      Clock                     \_______________________/
57c66ec88fSEmmanuel Vadot                  ______  ______  ______  ______  ______  ______  ______
58c66ec88fSEmmanuel Vadot      DATA0     ><__G0__><__R5__><__R4__><__R3__><__R2__><__R1__><__R0__><
59c66ec88fSEmmanuel Vadot      DATA1     ><__B1__><__B0__><__G5__><__G4__><__G3__><__G2__><__G1__><
60c66ec88fSEmmanuel Vadot      DATA2     ><_CTL2_><_CTL1_><_CTL0_><__B5__><__B4__><__B3__><__B2__><
61c66ec88fSEmmanuel Vadot
62c66ec88fSEmmanuel Vadot      - "jeida-24" - 24-bit data mapping compatible with the [DSIM] and [LDI]
63c66ec88fSEmmanuel Vadot        specifications. Data are transferred as follows on 4 LVDS lanes.
64c66ec88fSEmmanuel Vadot
65c66ec88fSEmmanuel Vadot      Slot          0       1       2       3       4       5       6
66c66ec88fSEmmanuel Vadot                ________________                         _________________
67c66ec88fSEmmanuel Vadot      Clock                     \_______________________/
68c66ec88fSEmmanuel Vadot                  ______  ______  ______  ______  ______  ______  ______
69c66ec88fSEmmanuel Vadot      DATA0     ><__G2__><__R7__><__R6__><__R5__><__R4__><__R3__><__R2__><
70c66ec88fSEmmanuel Vadot      DATA1     ><__B3__><__B2__><__G7__><__G6__><__G5__><__G4__><__G3__><
71c66ec88fSEmmanuel Vadot      DATA2     ><_CTL2_><_CTL1_><_CTL0_><__B7__><__B6__><__B5__><__B4__><
72c66ec88fSEmmanuel Vadot      DATA3     ><_CTL3_><__B1__><__B0__><__G1__><__G0__><__R1__><__R0__><
73c66ec88fSEmmanuel Vadot
74c66ec88fSEmmanuel Vadot      - "vesa-24" - 24-bit data mapping compatible with the [VESA] specification.
75c66ec88fSEmmanuel Vadot        Data are transferred as follows on 4 LVDS lanes.
76c66ec88fSEmmanuel Vadot
77c66ec88fSEmmanuel Vadot      Slot          0       1       2       3       4       5       6
78c66ec88fSEmmanuel Vadot                ________________                         _________________
79c66ec88fSEmmanuel Vadot      Clock                     \_______________________/
80c66ec88fSEmmanuel Vadot                  ______  ______  ______  ______  ______  ______  ______
81c66ec88fSEmmanuel Vadot      DATA0     ><__G0__><__R5__><__R4__><__R3__><__R2__><__R1__><__R0__><
82c66ec88fSEmmanuel Vadot      DATA1     ><__B1__><__B0__><__G5__><__G4__><__G3__><__G2__><__G1__><
83c66ec88fSEmmanuel Vadot      DATA2     ><_CTL2_><_CTL1_><_CTL0_><__B5__><__B4__><__B3__><__B2__><
84c66ec88fSEmmanuel Vadot      DATA3     ><_CTL3_><__B7__><__B6__><__G7__><__G6__><__R7__><__R6__><
85c66ec88fSEmmanuel Vadot
86c66ec88fSEmmanuel Vadot      Control signals are mapped as follows.
87c66ec88fSEmmanuel Vadot
88c66ec88fSEmmanuel Vadot      CTL0: HSync
89c66ec88fSEmmanuel Vadot      CTL1: VSync
90c66ec88fSEmmanuel Vadot      CTL2: Data Enable
91c66ec88fSEmmanuel Vadot      CTL3: 0
92c66ec88fSEmmanuel Vadot
93c66ec88fSEmmanuel Vadot  data-mirror:
94c66ec88fSEmmanuel Vadot    type: boolean
95c66ec88fSEmmanuel Vadot    description:
96c66ec88fSEmmanuel Vadot      If set, reverse the bit order described in the data mappings below on all
97c66ec88fSEmmanuel Vadot      data lanes, transmitting bits for slots 6 to 0 instead of 0 to 6.
98c66ec88fSEmmanuel Vadot
99c66ec88fSEmmanuel Vadot  port: true
100c66ec88fSEmmanuel Vadot  ports: true
101c66ec88fSEmmanuel Vadot
102c66ec88fSEmmanuel Vadotrequired:
103c66ec88fSEmmanuel Vadot  - compatible
104c66ec88fSEmmanuel Vadot  - data-mapping
105c66ec88fSEmmanuel Vadot  - width-mm
106c66ec88fSEmmanuel Vadot  - height-mm
107c66ec88fSEmmanuel Vadot  - panel-timing
108c66ec88fSEmmanuel Vadot
109c66ec88fSEmmanuel VadotoneOf:
110c66ec88fSEmmanuel Vadot  - required:
111c66ec88fSEmmanuel Vadot      - port
112c66ec88fSEmmanuel Vadot  - required:
113c66ec88fSEmmanuel Vadot      - ports
114c66ec88fSEmmanuel Vadot
115*6be33864SEmmanuel VadotadditionalProperties: true
116*6be33864SEmmanuel Vadot
117c66ec88fSEmmanuel Vadot...
118