Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | }; |