xref: /linux/Documentation/devicetree/bindings/media/i2c/ov7740.txt (revision bfd5bb6f90af092aa345b15cd78143956a13c2a8)
1* Omnivision OV7740 CMOS image sensor
2
3The Omnivision OV7740 image sensor supports multiple output image
4size, such as VGA, and QVGA, CIF and any size smaller. It also
5supports the RAW RGB and YUV output formats.
6
7The common video interfaces bindings (see video-interfaces.txt) should
8be used to specify link to the image data receiver. The OV7740 device
9node should contain one 'port' child node with an 'endpoint' subnode.
10
11Required Properties:
12- compatible:	"ovti,ov7740".
13- reg:		I2C slave address of the sensor.
14- clocks:	Reference to the xvclk input clock.
15- clock-names:	"xvclk".
16
17Optional Properties:
18- reset-gpios: Rreference to the GPIO connected to the reset_b pin,
19  if any. Active low with pull-ip resistor.
20- powerdown-gpios: Reference to the GPIO connected to the pwdn pin,
21  if any. Active high with pull-down resistor.
22
23Endpoint node mandatory properties:
24- remote-endpoint: A phandle to the bus receiver's endpoint node.
25
26Example:
27
28	i2c1: i2c@fc028000 {
29		ov7740: camera@21 {
30			compatible = "ovti,ov7740";
31			reg = <0x21>;
32			pinctrl-names = "default";
33			pinctrl-0 = <&pinctrl_sensor_power &pinctrl_sensor_reset>;
34			clocks = <&isc>;
35			clock-names = "xvclk";
36			assigned-clocks = <&isc>;
37			assigned-clock-rates = <24000000>;
38			reset-gpios = <&pioA 43 GPIO_ACTIVE_LOW>;
39			powerdown-gpios = <&pioA 44 GPIO_ACTIVE_HIGH>;
40
41			port {
42				ov7740_0: endpoint {
43					remote-endpoint = <&isc_0>;
44				};
45			};
46		};
47	};
48