WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / media / i2c / ov5645.txt
blob72ad992f77be04cfedb110e288416bcd01ae4e3e
1 * Omnivision 1/4-Inch 5Mp CMOS Digital Image Sensor
3 The Omnivision OV5645 is a 1/4-Inch CMOS active pixel digital image sensor with
4 an active array size of 2592H x 1944V. It is programmable through a serial I2C
5 interface.
7 Required Properties:
8 - compatible: Value should be "ovti,ov5645".
9 - clocks: Reference to the xclk clock.
10 - clock-names: Should be "xclk".
11 - clock-frequency: Frequency of the xclk clock.
12 - enable-gpios: Chip enable GPIO. Polarity is GPIO_ACTIVE_HIGH. This corresponds
13   to the hardware pin PWDNB which is physically active low.
14 - reset-gpios: Chip reset GPIO. Polarity is GPIO_ACTIVE_LOW. This corresponds to
15   the hardware pin RESETB.
16 - vdddo-supply: Chip digital IO regulator.
17 - vdda-supply: Chip analog regulator.
18 - vddd-supply: Chip digital core regulator.
20 The device node must contain one 'port' child node for its digital output
21 video port, in accordance with the video interface bindings defined in
22 Documentation/devicetree/bindings/media/video-interfaces.txt.
24 Example:
26         &i2c1 {
27                 ...
29                 ov5645: ov5645@3c {
30                         compatible = "ovti,ov5645";
31                         reg = <0x3c>;
33                         enable-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
34                         reset-gpios = <&gpio5 20 GPIO_ACTIVE_LOW>;
35                         pinctrl-names = "default";
36                         pinctrl-0 = <&camera_rear_default>;
38                         clocks = <&clks 200>;
39                         clock-names = "xclk";
40                         clock-frequency = <24000000>;
42                         vdddo-supply = <&camera_dovdd_1v8>;
43                         vdda-supply = <&camera_avdd_2v8>;
44                         vddd-supply = <&camera_dvdd_1v2>;
46                         port {
47                                 ov5645_ep: endpoint {
48                                         clock-lanes = <1>;
49                                         data-lanes = <0 2>;
50                                         remote-endpoint = <&csi0_ep>;
51                                 };
52                         };
53                 };
54         };