xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/i2c/ov5695.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Omnivision OV5695 MIPI CSI-2 sensor
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired Properties:
4*4882a593Smuzhiyun- compatible: shall be "ovti,ov5695"
5*4882a593Smuzhiyun- clocks: reference to the xvclk input clock
6*4882a593Smuzhiyun- clock-names: shall be "xvclk"
7*4882a593Smuzhiyun- avdd-supply: Analog voltage supply, 2.8 volts
8*4882a593Smuzhiyun- dovdd-supply: Digital I/O voltage supply, 1.8 volts
9*4882a593Smuzhiyun- dvdd-supply: Digital core voltage supply, 1.2 volts
10*4882a593Smuzhiyun- reset-gpios: Low active reset gpio
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunThe device node shall contain one 'port' child node with an
13*4882a593Smuzhiyun'endpoint' subnode for its digital output video port,
14*4882a593Smuzhiyunin accordance with the video interface bindings defined in
15*4882a593SmuzhiyunDocumentation/devicetree/bindings/media/video-interfaces.txt.
16*4882a593SmuzhiyunThe endpoint optional property 'data-lanes' shall be "<1 2>".
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunExample:
19*4882a593Smuzhiyun&i2c7 {
20*4882a593Smuzhiyun	ov5695: camera-sensor@36 {
21*4882a593Smuzhiyun		compatible = "ovti,ov5695";
22*4882a593Smuzhiyun		reg = <0x36>;
23*4882a593Smuzhiyun		pinctrl-names = "default";
24*4882a593Smuzhiyun		pinctrl-0 = <&clk_24m_cam>;
25*4882a593Smuzhiyun
26*4882a593Smuzhiyun		clocks = <&cru SCLK_TESTCLKOUT1>;
27*4882a593Smuzhiyun		clock-names = "xvclk";
28*4882a593Smuzhiyun
29*4882a593Smuzhiyun		avdd-supply = <&pp2800_cam>;
30*4882a593Smuzhiyun		dovdd-supply = <&pp1800>;
31*4882a593Smuzhiyun		dvdd-supply = <&pp1250_cam>;
32*4882a593Smuzhiyun		reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
33*4882a593Smuzhiyun
34*4882a593Smuzhiyun		port {
35*4882a593Smuzhiyun			wcam_out: endpoint {
36*4882a593Smuzhiyun				remote-endpoint = <&mipi_in_wcam>;
37*4882a593Smuzhiyun				data-lanes = <1 2>;
38*4882a593Smuzhiyun			};
39*4882a593Smuzhiyun		};
40*4882a593Smuzhiyun	};
41*4882a593Smuzhiyun};
42