dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: display: bridge: lvds-codec: Document LVDS data mapping select
@ 2021-05-15 20:46 Marek Vasut
  2021-05-15 20:46 ` [PATCH 2/2] drm/bridge: lvds-codec: Add support for " Marek Vasut
  2021-05-17 23:02 ` [PATCH 1/2] dt-bindings: display: bridge: lvds-codec: Document " Laurent Pinchart
  0 siblings, 2 replies; 9+ messages in thread
From: Marek Vasut @ 2021-05-15 20:46 UTC (permalink / raw)
  To: dri-devel
  Cc: Marek Vasut, devicetree, ch, Rob Herring, Laurent Pinchart, Sam Ravnborg

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@denx.de>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: devicetree@vger.kernel.org
To: dri-devel@lists.freedesktop.org
---
 .../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 f4dd16bd69d2..f0abb94f8f2e 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@0
       - port@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
+
   pclk-sample:
     description:
       Data sampling on rising or falling edge.
@@ -79,6 +88,16 @@ properties:
 
   power-supply: true
 
+if:
+  not:
+    properties:
+      compatible:
+        contains:
+          const: lvds-decoder
+then:
+  properties:
+    data-mapping: false
+
 if:
   not:
     properties:
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-06-14 18:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-15 20:46 [PATCH 1/2] dt-bindings: display: bridge: lvds-codec: Document LVDS data mapping select Marek Vasut
2021-05-15 20:46 ` [PATCH 2/2] drm/bridge: lvds-codec: Add support for " Marek Vasut
2021-05-17 23:03   ` Laurent Pinchart
2021-05-25 10:38     ` Marek Vasut
2021-06-14 18:02       ` Laurent Pinchart
2021-05-17 23:02 ` [PATCH 1/2] dt-bindings: display: bridge: lvds-codec: Document " Laurent Pinchart
2021-05-17 23:03   ` Laurent Pinchart
2021-05-25 10:33     ` Marek Vasut
2021-05-25 10:31   ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).