Commit | Line | Data |
---|---|---|
ff493eef RJ |
1 | Marvell PXA camera host interface |
2 | ||
3 | Required properties: | |
4 | - compatible: Should be "marvell,pxa270-qci" | |
5 | - reg: register base and size | |
6 | - interrupts: the interrupt number | |
7 | - any required generic properties defined in video-interfaces.txt | |
8 | ||
9 | Optional properties: | |
10 | - clocks: input clock (see clock-bindings.txt) | |
11 | - clock-output-names: should contain the name of the clock driving the | |
12 | sensor master clock MCLK | |
13 | - clock-frequency: host interface is driving MCLK, and MCLK rate is this rate | |
14 | ||
15 | Example: | |
16 | ||
17 | pxa_camera: pxa_camera@50000000 { | |
18 | compatible = "marvell,pxa270-qci"; | |
19 | reg = <0x50000000 0x1000>; | |
20 | interrupts = <33>; | |
21 | ||
22 | clocks = <&pxa2xx_clks 24>; | |
23 | clock-names = "ciclk"; | |
24 | clock-frequency = <50000000>; | |
25 | clock-output-names = "qci_mclk"; | |
26 | ||
27 | status = "okay"; | |
28 | ||
29 | port { | |
30 | #address-cells = <1>; | |
31 | #size-cells = <0>; | |
32 | ||
33 | /* Parallel bus endpoint */ | |
34 | qci: endpoint@0 { | |
35 | reg = <0>; /* Local endpoint # */ | |
36 | remote-endpoint = <&mt9m111_1>; | |
37 | bus-width = <8>; /* Used data lines */ | |
38 | hsync-active = <0>; /* Active low */ | |
39 | vsync-active = <0>; /* Active low */ | |
40 | pclk-sample = <1>; /* Rising */ | |
41 | }; | |
42 | }; | |
43 | }; |