Merge branch 'floppy'
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / media / marvell,mmp2-ccic.txt
1 Marvell MMP2 camera host interface
2
3 Required properties:
4  - compatible: Should be "marvell,mmp2-ccic".
5  - reg: Register base and size.
6  - interrupts: The interrupt number.
7  - #clock-cells: Must be 0.
8
9 Optional properties:
10  - clocks: Reference to the input clock as specified by
11            Documentation/devicetree/bindings/clock/clock-bindings.txt.
12  - clock-names: Names of the clocks used; "axi" for the AXI bus interface,
13                 "func" for the peripheral clock and "phy" for the parallel
14                 video bus interface.
15  - clock-output-names: Optional clock source for sensors. Shall be "mclk".
16
17 Required subnodes:
18  - port: The parallel bus interface port with a single endpoint linked to
19          the sensor's endpoint as described in
20          Documentation/devicetree/bindings/media/video-interfaces.txt.
21
22 Required endpoint properties:
23  - bus-type: data bus type, <5> or <6> for Parallel or Bt.656 respectively
24  - pclk-sample: pixel clock polarity
25  - hsync-active: horizontal synchronization polarity (only required for
26    parallel bus)
27  - vsync-active: vertical synchronization polarity (only required for
28    parallel bus)
29
30 Example:
31
32         camera0: camera@d420a000 {
33                 compatible = "marvell,mmp2-ccic";
34                 reg = <0xd420a000 0x800>;
35                 interrupts = <42>;
36                 clocks = <&soc_clocks MMP2_CLK_CCIC0>;
37                 clock-names = "axi";
38                 #clock-cells = <0>;
39                 clock-output-names = "mclk";
40
41                 port {
42                         camera0_0: endpoint {
43                                 remote-endpoint = <&ov7670_0>;
44                                 bus-type = <5>;      /* Parallel */
45                                 hsync-active = <1>;  /* Active high */
46                                 vsync-active = <1>;  /* Active high */
47                                 pclk-sample = <0>;   /* Falling */
48                         };
49                 };
50         };