Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / media / imx.txt
1 Freescale i.MX Media Video Device
2 =================================
3
4 Video Media Controller node
5 ---------------------------
6
7 This is the media controller node for video capture support. It is a
8 virtual device that lists the camera serial interface nodes that the
9 media device will control.
10
11 Required properties:
12 - compatible : "fsl,imx-capture-subsystem";
13 - ports      : Should contain a list of phandles pointing to camera
14                 sensor interface ports of IPU devices
15
16 example:
17
18 capture-subsystem {
19         compatible = "fsl,imx-capture-subsystem";
20         ports = <&ipu1_csi0>, <&ipu1_csi1>;
21 };
22
23
24 mipi_csi2 node
25 --------------
26
27 This is the device node for the MIPI CSI-2 Receiver core in the i.MX
28 SoC. This is a Synopsys Designware MIPI CSI-2 host controller core
29 combined with a D-PHY core mixed into the same register block. In
30 addition this device consists of an i.MX-specific "CSI2IPU gasket"
31 glue logic, also controlled from the same register block. The CSI2IPU
32 gasket demultiplexes the four virtual channel streams from the host
33 controller's 32-bit output image bus onto four 16-bit parallel busses
34 to the i.MX IPU CSIs.
35
36 Required properties:
37 - compatible    : "fsl,imx6-mipi-csi2";
38 - reg           : physical base address and length of the register set;
39 - clocks        : the MIPI CSI-2 receiver requires three clocks: hsi_tx
40                   (the D-PHY clock), video_27m (D-PHY PLL reference
41                   clock), and eim_podf;
42 - clock-names   : must contain "dphy", "ref", "pix";
43 - port@*        : five port nodes must exist, containing endpoints
44                   connecting to the source and sink devices according to
45                   of_graph bindings. The first port is an input port,
46                   connecting with a MIPI CSI-2 source, and ports 1
47                   through 4 are output ports connecting with parallel
48                   bus sink endpoint nodes and correspond to the four
49                   MIPI CSI-2 virtual channel outputs.
50
51 Optional properties:
52 - interrupts    : must contain two level-triggered interrupts,
53                   in order: 100 and 101;