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