summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/media/pxa-camera.txt
blob: bc03ec096269dc60fb429bc4ef0409c472a39d4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Marvell PXA camera host interface

Required properties:
 - compatible: Should be "marvell,pxa270-qci"
 - reg: register base and size
 - interrupts: the interrupt number
 - any required generic properties defined in video-interfaces.txt

Optional properties:
 - clocks: input clock (see clock-bindings.txt)
 - clock-output-names: should contain the name of the clock driving the
                       sensor master clock MCLK
 - clock-frequency: host interface is driving MCLK, and MCLK rate is this rate

Example:

	pxa_camera: pxa_camera@50000000 {
		compatible = "marvell,pxa270-qci";
		reg = <0x50000000 0x1000>;
		interrupts = <33>;

		clocks = <&pxa2xx_clks 24>;
		clock-names = "ciclk";
		clock-frequency = <50000000>;
		clock-output-names = "qci_mclk";


		port {
			#address-cells = <1>;
			#size-cells = <0>;

			/* Parallel bus endpoint */
			qci: endpoint@0 {
				reg = <0>;		/* Local endpoint # */
				remote-endpoint = <&mt9m111_1>;
				bus-width = <8>;	/* Used data lines */
				hsync-active = <0>;	/* Active low */
				vsync-active = <0>;	/* Active low */
				pclk-sample = <1>;	/* Rising */
			};
		};
	};