xref: /freebsd/sys/contrib/device-tree/Bindings/media/i2c/micron,mt9m111.txt (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
1*ae5de77eSEmmanuel VadotMicron 1.3Mp CMOS Digital Image Sensor
2*ae5de77eSEmmanuel Vadot
3*ae5de77eSEmmanuel VadotThe Micron MT9M111 is a CMOS active pixel digital image sensor with an active
4*ae5de77eSEmmanuel Vadotarray size of 1280H x 1024V. It is programmable through a simple two-wire serial
5*ae5de77eSEmmanuel Vadotinterface.
6*ae5de77eSEmmanuel Vadot
7*ae5de77eSEmmanuel VadotRequired Properties:
8*ae5de77eSEmmanuel Vadot- compatible: value should be "micron,mt9m111"
9*ae5de77eSEmmanuel Vadot- clocks: reference to the master clock.
10*ae5de77eSEmmanuel Vadot- clock-names: shall be "mclk".
11*ae5de77eSEmmanuel Vadot
12*ae5de77eSEmmanuel VadotThe device node must contain one 'port' child node with one 'endpoint' child
13*ae5de77eSEmmanuel Vadotsub-node for its digital output video port, in accordance with the video
14*ae5de77eSEmmanuel Vadotinterface bindings defined in:
15*ae5de77eSEmmanuel VadotDocumentation/devicetree/bindings/media/video-interfaces.txt
16*ae5de77eSEmmanuel Vadot
17*ae5de77eSEmmanuel VadotOptional endpoint properties:
18*ae5de77eSEmmanuel Vadot- pclk-sample: For information see ../video-interfaces.txt. The value is set to
19*ae5de77eSEmmanuel Vadot  0 if it isn't specified.
20*ae5de77eSEmmanuel Vadot
21*ae5de77eSEmmanuel VadotExample:
22*ae5de77eSEmmanuel Vadot
23*ae5de77eSEmmanuel Vadot	i2c_master {
24*ae5de77eSEmmanuel Vadot		mt9m111@5d {
25*ae5de77eSEmmanuel Vadot			compatible = "micron,mt9m111";
26*ae5de77eSEmmanuel Vadot			reg = <0x5d>;
27*ae5de77eSEmmanuel Vadot			clocks = <&mclk>;
28*ae5de77eSEmmanuel Vadot			clock-names = "mclk";
29*ae5de77eSEmmanuel Vadot
30*ae5de77eSEmmanuel Vadot			port {
31*ae5de77eSEmmanuel Vadot				mt9m111_1: endpoint {
32*ae5de77eSEmmanuel Vadot					remote-endpoint = <&pxa_camera>;
33*ae5de77eSEmmanuel Vadot					pclk-sample = <1>;
34*ae5de77eSEmmanuel Vadot				};
35*ae5de77eSEmmanuel Vadot			};
36*ae5de77eSEmmanuel Vadot		};
37*ae5de77eSEmmanuel Vadot	};
38