Skip to content

Commit 36125ee

Browse files
ZhengShunQianmchehab
authored andcommitted
media: dt-bindings: media: Add bindings for OV2685
Add device tree binding documentation for the OV2685 sensor. Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.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>
1 parent 8a77009 commit 36125ee

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

  • Documentation/devicetree/bindings/media/i2c
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
* Omnivision OV2685 MIPI CSI-2 sensor
2+
3+
Required Properties:
4+
- compatible: shall be "ovti,ov2685"
5+
- clocks: reference to the xvclk input clock
6+
- clock-names: shall be "xvclk"
7+
- avdd-supply: Analog voltage supply, 2.8 volts
8+
- dovdd-supply: Digital I/O voltage supply, 1.8 volts
9+
- dvdd-supply: Digital core voltage supply, 1.8 volts
10+
- reset-gpios: Low active reset gpio
11+
12+
The device node shall contain one 'port' child node with an
13+
'endpoint' subnode for its digital output video port,
14+
in accordance with the video interface bindings defined in
15+
Documentation/devicetree/bindings/media/video-interfaces.txt.
16+
The endpoint optional property 'data-lanes' shall be "<1>".
17+
18+
Example:
19+
&i2c7 {
20+
ov2685: camera-sensor@3c {
21+
compatible = "ovti,ov2685";
22+
reg = <0x3c>;
23+
pinctrl-names = "default";
24+
pinctrl-0 = <&clk_24m_cam>;
25+
26+
clocks = <&cru SCLK_TESTCLKOUT1>;
27+
clock-names = "xvclk";
28+
29+
avdd-supply = <&pp2800_cam>;
30+
dovdd-supply = <&pp1800>;
31+
dvdd-supply = <&pp1800>;
32+
reset-gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
33+
34+
port {
35+
ucam_out: endpoint {
36+
remote-endpoint = <&mipi_in_ucam>;
37+
data-lanes = <1>;
38+
};
39+
};
40+
};
41+
};

0 commit comments

Comments
 (0)