devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: display: exynos: dsim: Add 'lane-polarities'
@ 2023-03-29 14:41 Fabio Estevam
  2023-03-29 14:41 ` [PATCH 2/2] drm/exynos: Implement support for DSI clock and data lane polarity swap Fabio Estevam
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Fabio Estevam @ 2023-03-29 14:41 UTC (permalink / raw)
  To: neil.armstrong
  Cc: inki.dae, marex, jagan, dri-devel, devicetree, robh+dt,
	krzysztof.kozlowski+dt, Fabio Estevam

From: Fabio Estevam <festevam@denx.de>

The Samsung DSIM IP block allows the inversion of the clock and
data lanes.

Add an optional property called 'lane-polarities' that describes the
polarities of the MIPI DSI clock and data lanes.

This is property is useful for properly describing the hardware
when the board designer decided to switch the polarities of the MIPI DSI
clock and/or data lanes.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 .../devicetree/bindings/display/exynos/exynos_dsim.txt      | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/display/exynos/exynos_dsim.txt b/Documentation/devicetree/bindings/display/exynos/exynos_dsim.txt
index 2a5f0889ec32..65ed8ef7aed7 100644
--- a/Documentation/devicetree/bindings/display/exynos/exynos_dsim.txt
+++ b/Documentation/devicetree/bindings/display/exynos/exynos_dsim.txt
@@ -29,6 +29,12 @@ Required properties:
 
 Optional properties:
   - power-domains: a phandle to DSIM power domain node
+  - lane-polarities: Array that describes the polarities of the clock and data lanes.
+    1: inverted polarity
+    0: normal polarity
+    The first entry corresponds to the clock lanes. Subsequent entries correspond to the data lanes.
+    Example of a 4-lane system with only the clock lanes inverted:
+    lane-polarities = <1 0 0 0 0>;
 
 Child nodes:
   Should contain DSI peripheral nodes (see MIPI DSI bindings [1]).
-- 
2.34.1


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

end of thread, other threads:[~2023-03-30 13:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-29 14:41 [PATCH 1/2] dt-bindings: display: exynos: dsim: Add 'lane-polarities' Fabio Estevam
2023-03-29 14:41 ` [PATCH 2/2] drm/exynos: Implement support for DSI clock and data lane polarity swap Fabio Estevam
2023-03-29 15:42   ` Jagan Teki
2023-03-29 15:42 ` [PATCH 1/2] dt-bindings: display: exynos: dsim: Add 'lane-polarities' Jagan Teki
2023-03-30  7:37 ` Krzysztof Kozlowski
2023-03-30  7:55   ` Jagan Teki
2023-03-30 11:09     ` Fabio Estevam
2023-03-30 13:41       ` Jagan Teki

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).