xref: /freebsd/sys/contrib/device-tree/Bindings/media/i2c/mt9m001.txt (revision 02e9120893770924227138ba49df1edb3896112a)
1MT9M001: 1/2-Inch Megapixel Digital Image Sensor
2
3The MT9M001 is an SXGA-format with a 1/2-inch CMOS active-pixel digital
4image sensor. It is programmable through I2C interface.
5
6Required Properties:
7
8- compatible: shall be "onnn,mt9m001".
9- clocks: reference to the master clock into sensor
10
11Optional 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
18The device node must contain one 'port' child node with one 'endpoint' child
19sub-node for its digital output video port, in accordance with the video
20interface bindings defined in:
21Documentation/devicetree/bindings/media/video-interfaces.txt
22
23Example:
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	};
39