xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/i2c/ov9650.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Omnivision OV9650/OV9652 CMOS sensor
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired Properties:
4*4882a593Smuzhiyun- compatible: shall be one of
5*4882a593Smuzhiyun	"ovti,ov9650"
6*4882a593Smuzhiyun	"ovti,ov9652"
7*4882a593Smuzhiyun- clocks: reference to the xvclk input clock.
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunOptional Properties:
10*4882a593Smuzhiyun- reset-gpios: reference to the GPIO connected to the resetb pin, if any.
11*4882a593Smuzhiyun  Active is high.
12*4882a593Smuzhiyun- powerdown-gpios: reference to the GPIO connected to the pwdn pin, if any.
13*4882a593Smuzhiyun  Active is high.
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunThe device node shall contain one 'port' child node with one child 'endpoint'
16*4882a593Smuzhiyunsubnode for its digital output video port, in accordance with the video
17*4882a593Smuzhiyuninterface bindings defined in Documentation/devicetree/bindings/media/
18*4882a593Smuzhiyunvideo-interfaces.txt.
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunExample:
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun&i2c0 {
23*4882a593Smuzhiyun	ov9650: camera@30 {
24*4882a593Smuzhiyun		compatible = "ovti,ov9650";
25*4882a593Smuzhiyun		reg = <0x30>;
26*4882a593Smuzhiyun		reset-gpios = <&axi_gpio_0 0 GPIO_ACTIVE_HIGH>;
27*4882a593Smuzhiyun		powerdown-gpios = <&axi_gpio_0 1 GPIO_ACTIVE_HIGH>;
28*4882a593Smuzhiyun		clocks = <&xclk>;
29*4882a593Smuzhiyun
30*4882a593Smuzhiyun		port {
31*4882a593Smuzhiyun			ov9650_0: endpoint {
32*4882a593Smuzhiyun				remote-endpoint = <&vcap1_in0>;
33*4882a593Smuzhiyun			};
34*4882a593Smuzhiyun		};
35*4882a593Smuzhiyun	};
36*4882a593Smuzhiyun};
37