Skip to content

Commit d7df394

Browse files
Marek VasutThomas Zimmermann
authored andcommitted
dt-bindings: display: bridge: lvds-codec: Document pixel data sampling edge select
The OnSemi FIN3385 Parallel-to-LVDS encoder has a dedicated input line to select input pixel data sampling edge. Add DT property "pclk-sample", not the same as the one used by display timings but rather the same as used by media, to define the pixel data sampling edge. Signed-off-by: Marek Vasut <[email protected]> Cc: Laurent Pinchart <[email protected]> Cc: Rob Herring <[email protected]> Cc: Sam Ravnborg <[email protected]> Cc: [email protected] To: [email protected] Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Thomas Zimmermann <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 43d5ac7 commit d7df394

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,14 @@ properties:
7979
- port@0
8080
- port@1
8181

82+
pclk-sample:
83+
description:
84+
Data sampling on rising or falling edge.
85+
enum:
86+
- 0 # Falling edge
87+
- 1 # Rising edge
88+
default: 0
89+
8290
powerdown-gpios:
8391
description:
8492
The GPIO used to control the power down line of this device.
@@ -102,6 +110,16 @@ then:
102110
properties:
103111
data-mapping: false
104112

113+
if:
114+
not:
115+
properties:
116+
compatible:
117+
contains:
118+
const: lvds-encoder
119+
then:
120+
properties:
121+
pclk-sample: false
122+
105123
required:
106124
- compatible
107125
- ports

0 commit comments

Comments
 (0)