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

media: ov9650: add device tree binding

Now the ov9650 driver supports device tree probing. So this adds a
device tree binding documentation.

Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
Cc: Jacopo Mondi <jacopo@jmondi.org>
Cc: H. Nikolaus Schaller <hns@goldelico.com>
Cc: Hugues Fruchet <hugues.fruchet@st.com>
Cc: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>

authored by

Akinobu Mita and committed by
Mauro Carvalho Chehab
7b05db63 be5f18ce

+37
+36
Documentation/devicetree/bindings/media/i2c/ov9650.txt
··· 1 + * Omnivision OV9650/OV9652 CMOS sensor 2 + 3 + Required Properties: 4 + - compatible: shall be one of 5 + "ovti,ov9650" 6 + "ovti,ov9652" 7 + - clocks: reference to the xvclk input clock. 8 + 9 + Optional Properties: 10 + - reset-gpios: reference to the GPIO connected to the resetb pin, if any. 11 + Active is high. 12 + - powerdown-gpios: reference to the GPIO connected to the pwdn pin, if any. 13 + Active is high. 14 + 15 + The device node shall contain one 'port' child node with one child 'endpoint' 16 + subnode for its digital output video port, in accordance with the video 17 + interface bindings defined in Documentation/devicetree/bindings/media/ 18 + video-interfaces.txt. 19 + 20 + Example: 21 + 22 + &i2c0 { 23 + ov9650: camera@30 { 24 + compatible = "ovti,ov9650"; 25 + reg = <0x30>; 26 + reset-gpios = <&axi_gpio_0 0 GPIO_ACTIVE_HIGH>; 27 + powerdown-gpios = <&axi_gpio_0 1 GPIO_ACTIVE_HIGH>; 28 + clocks = <&xclk>; 29 + 30 + port { 31 + ov9650_0: endpoint { 32 + remote-endpoint = <&vcap1_in0>; 33 + }; 34 + }; 35 + }; 36 + };
+1
MAINTAINERS
··· 10224 10224 T: git git://linuxtv.org/media_tree.git 10225 10225 S: Maintained 10226 10226 F: drivers/media/i2c/ov9650.c 10227 + F: Documentation/devicetree/bindings/media/i2c/ov9650.txt 10227 10228 10228 10229 ONENAND FLASH DRIVER 10229 10230 M: Kyungmin Park <kyungmin.park@samsung.com>