Merge tag 'drm-next-2019-03-15' of git://anongit.freedesktop.org/drm/drm
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / media / i2c / mt9m001.txt
1 MT9M001: 1/2-Inch Megapixel Digital Image Sensor
2
3 The MT9M001 is an SXGA-format with a 1/2-inch CMOS active-pixel digital
4 image sensor. It is programmable through I2C interface.
5
6 Required Properties:
7
8 - compatible: shall be "onnn,mt9m001".
9 - clocks: reference to the master clock into sensor
10
11 Optional Properties:
12
13 - reset-gpios: GPIO handle which is connected to the reset pin of the chip.
14   Active low.
15 - standby-gpios: GPIO handle which is connected to the standby pin of the chip.
16   Active high.
17
18 The device node must contain one 'port' child node with one 'endpoint' child
19 sub-node for its digital output video port, in accordance with the video
20 interface bindings defined in:
21 Documentation/devicetree/bindings/media/video-interfaces.txt
22
23 Example:
24
25         &i2c1 {
26                 camera-sensor@5d {
27                         compatible = "onnn,mt9m001";
28                         reg = <0x5d>;
29                         reset-gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
30                         standby-gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
31                         clocks = <&camera_clk>;
32                         port {
33                                 mt9m001_out: endpoint {
34                                         remote-endpoint = <&vcap_in>;
35                                 };
36                         };
37                 };
38         };