xref: /linux/Documentation/devicetree/bindings/media/xilinx/video.txt (revision 4b4193256c8d3bc3a5397b5cd9494c2ad386317d)
1df330515SLaurent PinchartDT bindings for Xilinx video IP cores
2df330515SLaurent Pinchart-------------------------------------
3df330515SLaurent Pinchart
4df330515SLaurent PinchartXilinx video IP cores process video streams by acting as video sinks and/or
5df330515SLaurent Pinchartsources. They are connected by links through their input and output ports,
6df330515SLaurent Pinchartcreating a video pipeline.
7df330515SLaurent Pinchart
8df330515SLaurent PinchartEach video IP core is represented by an AMBA bus child node in the device
9df330515SLaurent Pincharttree using bindings documented in this directory. Connections between the IP
10df330515SLaurent Pinchartcores are represented as defined in ../video-interfaces.txt.
11df330515SLaurent Pinchart
12df330515SLaurent PinchartThe whole  pipeline is represented by an AMBA bus child node in the device
13df330515SLaurent Pincharttree using bindings documented in ./xlnx,video.txt.
14df330515SLaurent Pinchart
15df330515SLaurent PinchartCommon properties
16df330515SLaurent Pinchart-----------------
17df330515SLaurent Pinchart
18df330515SLaurent PinchartThe following properties are common to all Xilinx video IP cores.
19df330515SLaurent Pinchart
20df330515SLaurent Pinchart- xlnx,video-format: This property represents a video format transmitted on an
21df330515SLaurent Pinchart  AXI bus between video IP cores, using its VF code as defined in "AXI4-Stream
22df330515SLaurent Pinchart  Video IP and System Design Guide" [UG934]. How the format relates to the IP
23511257e6SEric Engestrom  core is described in the IP core bindings documentation.
24df330515SLaurent Pinchart
25df330515SLaurent Pinchart- xlnx,video-width: This property qualifies the video format with the sample
26df330515SLaurent Pinchart  width expressed as a number of bits per pixel component. All components must
27df330515SLaurent Pinchart  use the same width.
28df330515SLaurent Pinchart
29df330515SLaurent Pinchart- xlnx,cfa-pattern: When the video format is set to Mono/Sensor, this property
30df330515SLaurent Pinchart  describes the sensor's color filter array pattern. Supported values are
31df330515SLaurent Pinchart  "bggr", "gbrg", "grbg", "rggb" and "mono". If not specified, the pattern
32df330515SLaurent Pinchart  defaults to "mono".
33df330515SLaurent Pinchart
34df330515SLaurent Pinchart
35*54b0e2ebSAlexander A. Klimov[UG934] https://www.xilinx.com/support/documentation/ip_documentation/axi_videoip/v1_0/ug934_axi_videoIP.pdf
36