-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dt-bindings: display: move LVDS data-mapping definition to separate file
As the LVDS data-mapping property is required in multiple bindings: move it to separate file and include instead of duplicating it. Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Johannes Zink <j.zink@pengutronix.de> Link: https://lore.kernel.org/r/20230523-simplepanel_support_nondefault_datamapping-v5-1-0d7928edafab@pengutronix.de Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20230523-simplepanel_support_nondefault_datamapping-v5-1-0d7928edafab@pengutronix.de
- Loading branch information
Johannes Zink
authored and
Neil Armstrong
committed
Oct 9, 2023
1 parent
6acb691
commit 5437d66
Showing
2 changed files
with
93 additions
and
68 deletions.
There are no files selected for viewing
84 changes: 84 additions & 0 deletions
84
Documentation/devicetree/bindings/display/lvds-data-mapping.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/display/lvds-data-mapping.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: LVDS Data Mapping | ||
|
||
maintainers: | ||
- Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | ||
- Thierry Reding <thierry.reding@gmail.com> | ||
|
||
description: | | ||
LVDS is a physical layer specification defined in ANSI/TIA/EIA-644-A. Multiple | ||
incompatible data link layers have been used over time to transmit image data | ||
to LVDS devices. This bindings supports devices compatible with the following | ||
specifications. | ||
[JEIDA] "Digital Interface Standards for Monitor", JEIDA-59-1999, February | ||
1999 (Version 1.0), Japan Electronic Industry Development Association (JEIDA) | ||
[LDI] "Open LVDS Display Interface", May 1999 (Version 0.95), National | ||
Semiconductor | ||
[VESA] "VESA Notebook Panel Standard", October 2007 (Version 1.0), Video | ||
Electronics Standards Association (VESA) | ||
Device compatible with those specifications have been marketed under the | ||
FPD-Link and FlatLink brands. | ||
properties: | ||
data-mapping: | ||
enum: | ||
- jeida-18 | ||
- jeida-24 | ||
- vesa-24 | ||
description: | | ||
The color signals mapping order. | ||
LVDS data mappings are defined as follows. | ||
- "jeida-18" - 18-bit data mapping compatible with the [JEIDA], [LDI] and | ||
[VESA] specifications. Data are transferred as follows on 3 LVDS lanes. | ||
Slot 0 1 2 3 4 5 6 | ||
________________ _________________ | ||
Clock \_______________________/ | ||
______ ______ ______ ______ ______ ______ ______ | ||
DATA0 ><__G0__><__R5__><__R4__><__R3__><__R2__><__R1__><__R0__>< | ||
DATA1 ><__B1__><__B0__><__G5__><__G4__><__G3__><__G2__><__G1__>< | ||
DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B5__><__B4__><__B3__><__B2__>< | ||
- "jeida-24" - 24-bit data mapping compatible with the [DSIM] and [LDI] | ||
specifications. Data are transferred as follows on 4 LVDS lanes. | ||
Slot 0 1 2 3 4 5 6 | ||
________________ _________________ | ||
Clock \_______________________/ | ||
______ ______ ______ ______ ______ ______ ______ | ||
DATA0 ><__G2__><__R7__><__R6__><__R5__><__R4__><__R3__><__R2__>< | ||
DATA1 ><__B3__><__B2__><__G7__><__G6__><__G5__><__G4__><__G3__>< | ||
DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B7__><__B6__><__B5__><__B4__>< | ||
DATA3 ><_CTL3_><__B1__><__B0__><__G1__><__G0__><__R1__><__R0__>< | ||
- "vesa-24" - 24-bit data mapping compatible with the [VESA] specification. | ||
Data are transferred as follows on 4 LVDS lanes. | ||
Slot 0 1 2 3 4 5 6 | ||
________________ _________________ | ||
Clock \_______________________/ | ||
______ ______ ______ ______ ______ ______ ______ | ||
DATA0 ><__G0__><__R5__><__R4__><__R3__><__R2__><__R1__><__R0__>< | ||
DATA1 ><__B1__><__B0__><__G5__><__G4__><__G3__><__G2__><__G1__>< | ||
DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B5__><__B4__><__B3__><__B2__>< | ||
DATA3 ><_CTL3_><__B7__><__B6__><__G7__><__G6__><__R7__><__R6__>< | ||
Control signals are mapped as follows. | ||
CTL0: HSync | ||
CTL1: VSync | ||
CTL2: Data Enable | ||
CTL3: 0 | ||
additionalProperties: true | ||
|
||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters