All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: display: bridge: icn6211: Add support for RGB/BGR swap
@ 2022-08-01 13:19 ` Marek Vasut
  0 siblings, 0 replies; 15+ messages in thread
From: Marek Vasut @ 2022-08-01 13:19 UTC (permalink / raw)
  To: dri-devel
  Cc: robert.foss, Marek Vasut, Jagan Teki, Laurent Pinchart,
	Linus Walleij, Rob Herring, Sam Ravnborg, devicetree

The ICN6211 is capable of swapping the output DPI RGB/BGR color channels,
document a DT property to select this swap in DT. This can be useful on
hardware where such swap happens.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Rob Herring <robh@kernel.org>
Cc: Robert Foss <robert.foss@linaro.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: dri-devel@lists.freedesktop.org
Cc: devicetree@vger.kernel.org
---
 .../devicetree/bindings/display/bridge/chipone,icn6211.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/display/bridge/chipone,icn6211.yaml b/Documentation/devicetree/bindings/display/bridge/chipone,icn6211.yaml
index 18563ebed1a96..e721dd76e6640 100644
--- a/Documentation/devicetree/bindings/display/bridge/chipone,icn6211.yaml
+++ b/Documentation/devicetree/bindings/display/bridge/chipone,icn6211.yaml
@@ -33,6 +33,12 @@ properties:
         Optional external clock connected to REF_CLK input.
         The clock rate must be in 10..154 MHz range.
 
+  blue-and-red-swap:
+    description:
+      If defined, the DPI output blue and red channels are swapped,
+      i.e. RGB becomes BGR.
+    type: boolean
+
   enable-gpios:
     description: Bridge EN pin, chip is reset when EN is low.
 
-- 
2.35.1


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

end of thread, other threads:[~2022-08-26 11:54 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-01 13:19 [PATCH 1/2] dt-bindings: display: bridge: icn6211: Add support for RGB/BGR swap Marek Vasut
2022-08-01 13:19 ` Marek Vasut
2022-08-01 13:19 ` [PATCH 2/2] drm: " Marek Vasut
2022-08-01 16:32 ` [PATCH 1/2] dt-bindings: display: " Rob Herring
2022-08-01 16:32   ` Rob Herring
2022-08-02 11:33   ` Marek Vasut
2022-08-02 11:33     ` Marek Vasut
2022-08-03 22:41     ` Rob Herring
2022-08-03 22:41       ` Rob Herring
2022-08-08  1:57       ` Marek Vasut
2022-08-08  1:57         ` Marek Vasut
2022-08-26 11:52         ` Linus Walleij
2022-08-26 11:52           ` Linus Walleij
2022-08-26 11:54           ` Marek Vasut
2022-08-26 11:54             ` Marek Vasut

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.