Merge branch 'drm-next-4.12' of git://people.freedesktop.org/~agd5f/linux into drm...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / media / i2c / ov5647.txt
1 Omnivision OV5647 raw image sensor
2 ---------------------------------
3
4 OV5647 is a raw image sensor with MIPI CSI-2 and CCP2 image data interfaces
5 and CCI (I2C compatible) control bus.
6
7 Required properties:
8
9 - compatible            : "ovti,ov5647".
10 - reg                   : I2C slave address of the sensor.
11 - clocks                : Reference to the xclk clock.
12
13 The common video interfaces bindings (see video-interfaces.txt) should be
14 used to specify link to the image data receiver. The OV5647 device
15 node should contain one 'port' child node with an 'endpoint' subnode.
16
17 Endpoint node mandatory properties:
18
19 - remote-endpoint: A phandle to the bus receiver's endpoint node.
20
21 Example:
22
23         i2c@2000 {
24                 ...
25                 ov: camera@36 {
26                         compatible = "ovti,ov5647";
27                         reg = <0x36>;
28                         clocks = <&camera_clk>;
29                         port {
30                                 camera_1: endpoint {
31                                         remote-endpoint = <&csi1_ep1>;
32                                 };
33                         };
34                 };
35         };