Skip to content

Commit 3ab7801

Browse files
Jacopo Mondimchehab
authored andcommitted
media: dt-bindings: media: rcar-vin: Describe optional ep properties
Describe the optional endpoint properties for endpoint nodes of the R-Car VIN interface device tree bindings documentation. Signed-off-by: Jacopo Mondi <[email protected]> Acked-by: Niklas Söderlund <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 4c471ff commit 3ab7801

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Documentation/devicetree/bindings/media/rcar_vin.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,17 @@ The per-board settings Gen2 platforms:
4545
Only the first one will be considered as each vin interface has one
4646
input port.
4747

48+
- Optional properties for endpoint nodes:
49+
- hsync-active: see [1] for description. Default is active high.
50+
- vsync-active: see [1] for description. Default is active high.
51+
If both HSYNC and VSYNC polarities are not specified, embedded
52+
synchronization is selected.
53+
- field-active-even: see [1] for description. Default is active high.
54+
- bus-width: see [1] for description. The selected bus width depends on
55+
the SoC type and selected input image format.
56+
Valid values are: 8, 10, 12, 16, 24 and 32.
57+
- data-shift: see [1] for description. Valid values are 0 and 8.
58+
4859
The per-board settings Gen3 platforms:
4960

5061
Gen3 platforms can support both a single connected parallel input source
@@ -57,6 +68,10 @@ from local SoC CSI-2 receivers (port@1) depending on SoC.
5768
from external SoC pins as described in video-interfaces.txt[1].
5869
Describing more than one endpoint in port@0 is invalid. Only VIN
5970
instances that are connected to external pins should have port@0.
71+
72+
Endpoint nodes of port@0 support the optional properties listed in
73+
the Gen2 per-board settings description.
74+
6075
- port@1 - sub-nodes describing one or more endpoints connected to
6176
the VIN from local SoC CSI-2 receivers. The endpoint numbers must
6277
use the following schema.
@@ -66,6 +81,8 @@ from local SoC CSI-2 receivers (port@1) depending on SoC.
6681
- endpoint@2 - sub-node describing the endpoint connected to CSI40
6782
- endpoint@3 - sub-node describing the endpoint connected to CSI41
6883

84+
Endpoint nodes of port@1 do not support any optional endpoint property.
85+
6986
Device node example for Gen2 platforms
7087
--------------------------------------
7188

0 commit comments

Comments
 (0)