WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / media / i2c / ov7251.txt
blob8281151f7493e3f5c28006002c80de97dd0b3646
1 * Omnivision 1/7.5-Inch B&W VGA CMOS Digital Image Sensor
3 The Omnivision OV7251 is a 1/7.5-Inch CMOS active pixel digital image sensor
4 with an active array size of 640H x 480V. It is programmable through a serial
5 I2C interface.
7 Required Properties:
8 - compatible: Value should be "ovti,ov7251".
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 XSHUTDOWN which is physically active low.
14 - vdddo-supply: Chip digital IO regulator.
15 - vdda-supply: Chip analog regulator.
16 - vddd-supply: Chip digital core regulator.
18 The device node shall contain one 'port' child node with a single 'endpoint'
19 subnode for its digital output video port, in accordance with the video
20 interface bindings defined in
21 Documentation/devicetree/bindings/media/video-interfaces.txt.
23 Example:
25         &i2c1 {
26                 ...
28                 ov7251: camera-sensor@60 {
29                         compatible = "ovti,ov7251";
30                         reg = <0x60>;
32                         enable-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
33                         pinctrl-names = "default";
34                         pinctrl-0 = <&camera_bw_default>;
36                         clocks = <&clks 200>;
37                         clock-names = "xclk";
38                         clock-frequency = <24000000>;
40                         vdddo-supply = <&camera_dovdd_1v8>;
41                         vdda-supply = <&camera_avdd_2v8>;
42                         vddd-supply = <&camera_dvdd_1v2>;
44                         port {
45                                 ov7251_ep: endpoint {
46                                         clock-lanes = <1>;
47                                         data-lanes = <0>;
48                                         remote-endpoint = <&csi0_ep>;
49                                 };
50                         };
51                 };
52         };