vdpa: Use simpler version of ida allocation
[linux-2.6-microblaze.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" or "fsl,imx6ul-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 "mclk";
18
19 The device node shall contain one 'port' child node with one child 'endpoint'
20 node, according to the bindings defined in:
21 Documentation/devicetree/bindings/media/video-interfaces.txt.
22
23 In the following example a remote endpoint is a video multiplexer.
24
25 example:
26
27                 csi: csi@30710000 {
28                         #address-cells = <1>;
29                         #size-cells = <0>;
30
31                         compatible = "fsl,imx7-csi";
32                         reg = <0x30710000 0x10000>;
33                         interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
34                         clocks = <&clks IMX7D_CSI_MCLK_ROOT_CLK>;
35                         clock-names = "mclk";
36
37                         port {
38                                 csi_from_csi_mux: endpoint {
39                                         remote-endpoint = <&csi_mux_to_csi>;
40                                 };
41                         };
42                 };