Merge tag 'drm-misc-next-fixes-2018-06-15' of git://anongit.freedesktop.org/drm/drm...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / media / i2c / ov772x.txt
1 * Omnivision OV7720/OV7725 CMOS sensor
2
3 The Omnivision OV7720/OV7725 sensor supports multiple resolutions output,
4 such as VGA, QVGA, and any size scaling down from CIF to 40x30. It also can
5 support the YUV422, RGB565/555/444, GRB422 or raw RGB output formats.
6
7 Required Properties:
8 - compatible: shall be one of
9         "ovti,ov7720"
10         "ovti,ov7725"
11 - clocks: reference to the xclk input clock.
12
13 Optional Properties:
14 - reset-gpios: reference to the GPIO connected to the RSTB pin which is
15   active low, if any.
16 - powerdown-gpios: reference to the GPIO connected to the PWDN pin which is
17   active high, if any.
18
19 The device node shall contain one 'port' child node with one child 'endpoint'
20 subnode for its digital output video port, in accordance with the video
21 interface bindings defined in Documentation/devicetree/bindings/media/
22 video-interfaces.txt.
23
24 Example:
25
26 &i2c0 {
27         ov772x: camera@21 {
28                 compatible = "ovti,ov7725";
29                 reg = <0x21>;
30                 reset-gpios = <&axi_gpio_0 0 GPIO_ACTIVE_LOW>;
31                 powerdown-gpios = <&axi_gpio_0 1 GPIO_ACTIVE_LOW>;
32                 clocks = <&xclk>;
33
34                 port {
35                         ov772x_0: endpoint {
36                                 remote-endpoint = <&vcap1_in0>;
37                         };
38                 };
39         };
40 };