[PATCH V2 1/2] dt-bindings: display: bridge: lvds-codec: Document LVDS data mapping select
Marek Vasut
marex at denx.de
Mon Jul 26 20:16:47 UTC 2021
Decoder input LVDS format is a property of the decoder chip or even
its strapping. Add DT property data-mapping the same way lvds-panel
does, to define the LVDS data mapping.
Signed-off-by: Marek Vasut <marex at denx.de>
Cc: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Cc: Rob Herring <robh+dt at kernel.org>
Cc: Sam Ravnborg <sam at ravnborg.org>
Cc: devicetree at vger.kernel.org
To: dri-devel at lists.freedesktop.org
---
V2: Rebase on latest next
---
.../bindings/display/bridge/lvds-codec.yaml | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml b/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml
index 304a1367faaa7..33e0c08933b72 100644
--- a/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml
+++ b/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml
@@ -64,6 +64,15 @@ properties:
- port at 0
- port at 1
+ data-mapping:
+ enum:
+ - jeida-18
+ - jeida-24
+ - vesa-24
+ description: |
+ The color signals mapping order. See details in
+ Documentation/devicetree/bindings/display/panel/lvds.yaml
+
powerdown-gpios:
description:
The GPIO used to control the power down line of this device.
@@ -71,6 +80,16 @@ properties:
power-supply: true
+if:
+ not:
+ properties:
+ compatible:
+ contains:
+ const: lvds-decoder
+then:
+ properties:
+ data-mapping: false
+
required:
- compatible
- ports
--
2.30.2
More information about the dri-devel
mailing list