Merge tag 'perf-core-for-mingo-5.1-20190321' of git://git.kernel.org/pub/scm/linux...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / media / imx7-csi.txt
1 Freescale i.MX7 CMOS Sensor Interface
2 =====================================
3
4 csi node
5 --------
6
7 This is device node for the CMOS Sensor Interface (CSI) which enables the chip
8 to connect directly to external CMOS image sensors.
9
10 Required properties:
11
12 - compatible    : "fsl,imx7-csi";
13 - reg           : base address and length of the register set for the device;
14 - interrupts    : should contain CSI interrupt;
15 - clocks        : list of clock specifiers, see
16         Documentation/devicetree/bindings/clock/clock-bindings.txt for details;
17 - clock-names   : must contain "axi", "mclk" and "dcic" entries, matching
18                  entries in the clock property;
19
20 The device node shall contain one 'port' child node with one child 'endpoint'
21 node, according to the bindings defined in:
22 Documentation/devicetree/bindings/media/video-interfaces.txt.
23
24 In the following example a remote endpoint is a video multiplexer.
25
26 example:
27
28                 csi: csi@30710000 {
29                         #address-cells = <1>;
30                         #size-cells = <0>;
31
32                         compatible = "fsl,imx7-csi";
33                         reg = <0x30710000 0x10000>;
34                         interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
35                         clocks = <&clks IMX7D_CLK_DUMMY>,
36                                         <&clks IMX7D_CSI_MCLK_ROOT_CLK>,
37                                         <&clks IMX7D_CLK_DUMMY>;
38                         clock-names = "axi", "mclk", "dcic";
39
40                         port {
41                                 csi_from_csi_mux: endpoint {
42                                         remote-endpoint = <&csi_mux_to_csi>;
43                                 };
44                         };
45                 };