Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: dt-bindings: ov772x: add device tree binding

This adds a device tree binding documentation for OV7720/OV7725 sensor.

Cc: Jacopo Mondi <jacopo+renesas@jmondi.org>
Cc: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Cc: Rob Herring <robh+dt@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>

authored by

Akinobu Mita and committed by
Mauro Carvalho Chehab
f12de5e9 66a1e187

+41
+40
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 + };
+1
MAINTAINERS
··· 10364 10364 S: Odd fixes 10365 10365 F: drivers/media/i2c/ov772x.c 10366 10366 F: include/media/i2c/ov772x.h 10367 + F: Documentation/devicetree/bindings/media/i2c/ov772x.txt 10367 10368 10368 10369 OMNIVISION OV7740 SENSOR DRIVER 10369 10370 M: Wenyou Yang <wenyou.yang@microchip.com>