xref: /linux/Documentation/devicetree/bindings/media/i2c/ov2659.txt (revision c95baf12f5077419db01313ab61c2aac007d40cd)
1c4c0283aSBenoit Parrot* OV2659 1/5-Inch 2Mp SOC Camera
2c4c0283aSBenoit Parrot
3c4c0283aSBenoit ParrotThe Omnivision OV2659 is a 1/5-inch SOC camera, with an active array size of
4c4c0283aSBenoit Parrot1632H x 1212V. It is programmable through a SCCB. The OV2659 sensor supports
5c4c0283aSBenoit Parrotmultiple resolutions output, such as UXGA, SVGA, 720p. It also can support
6c4c0283aSBenoit ParrotYUV422, RGB565/555 or raw RGB output formats.
7c4c0283aSBenoit Parrot
8c4c0283aSBenoit ParrotRequired Properties:
9c4c0283aSBenoit Parrot- compatible: Must be "ovti,ov2659"
10c4c0283aSBenoit Parrot- reg: I2C slave address
11c4c0283aSBenoit Parrot- clocks: reference to the xvclk input clock.
12c4c0283aSBenoit Parrot- clock-names: should be "xvclk".
13c4c0283aSBenoit Parrot- link-frequencies: target pixel clock frequency.
14c4c0283aSBenoit Parrot
15*341f0960SBenoit ParrotOptional Properties:
16*341f0960SBenoit Parrot- powerdown-gpios: reference to the GPIO connected to the pwdn pin, if any.
17*341f0960SBenoit Parrot  Active high with internal pull down resistor.
18*341f0960SBenoit Parrot- reset-gpios: reference to the GPIO connected to the resetb pin, if any.
19*341f0960SBenoit Parrot  Active low with internal pull up resistor.
20*341f0960SBenoit Parrot
21c4c0283aSBenoit ParrotFor further reading on port node refer to
22c4c0283aSBenoit ParrotDocumentation/devicetree/bindings/media/video-interfaces.txt.
23c4c0283aSBenoit Parrot
24c4c0283aSBenoit ParrotExample:
25c4c0283aSBenoit Parrot
26c4c0283aSBenoit Parrot	i2c0@1c22000 {
27c4c0283aSBenoit Parrot		...
28c4c0283aSBenoit Parrot		...
29c4c0283aSBenoit Parrot		 ov2659@30 {
30c4c0283aSBenoit Parrot			compatible = "ovti,ov2659";
31c4c0283aSBenoit Parrot			reg = <0x30>;
32c4c0283aSBenoit Parrot
33c4c0283aSBenoit Parrot			clocks = <&clk_ov2659 0>;
34c4c0283aSBenoit Parrot			clock-names = "xvclk";
35c4c0283aSBenoit Parrot
36*341f0960SBenoit Parrot			powerdown-gpios = <&gpio6 14 GPIO_ACTIVE_HIGH>;
37*341f0960SBenoit Parrot			reset-gpios = <&gpio6 15 GPIO_ACTIVE_LOW>;
38*341f0960SBenoit Parrot
39c4c0283aSBenoit Parrot			port {
40c4c0283aSBenoit Parrot				ov2659_0: endpoint {
41c4c0283aSBenoit Parrot					remote-endpoint = <&vpfe_ep>;
42c4c0283aSBenoit Parrot					link-frequencies = /bits/ 64 <70000000>;
43c4c0283aSBenoit Parrot				};
44c4c0283aSBenoit Parrot			};
45c4c0283aSBenoit Parrot		};
46c4c0283aSBenoit Parrot		...
47c4c0283aSBenoit Parrot	};
48