Skip to content

Commit ec7743c

Browse files
Fabio Estevamsuperna9999
authored andcommitted
dt-bindings: samsung,mipi-dsim: Add 'lane-polarities'
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 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> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20230514114625.98372-1-festevam@gmail.com
1 parent 0dd5330 commit ec7743c

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,29 @@ properties:
105105
DSI output port node to the panel or the next bridge
106106
in the chain.
107107

108+
properties:
109+
endpoint:
110+
$ref: /schemas/media/video-interfaces.yaml#
111+
unevaluatedProperties: false
112+
113+
properties:
114+
data-lanes:
115+
minItems: 1
116+
maxItems: 4
117+
uniqueItems: true
118+
items:
119+
enum: [ 1, 2, 3, 4 ]
120+
121+
lane-polarities:
122+
minItems: 1
123+
maxItems: 5
124+
description:
125+
The Samsung MIPI DSI IP requires that all the data lanes have
126+
the same polarity.
127+
128+
dependencies:
129+
lane-polarities: [data-lanes]
130+
108131
required:
109132
- clock-names
110133
- clocks

0 commit comments

Comments
 (0)