xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/i2c/imx290.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Sony IMX290 1/2.8-Inch CMOS Image Sensor
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThe Sony IMX290 is a 1/2.8-Inch CMOS Solid-state image sensor with
4*4882a593SmuzhiyunSquare Pixel for Color Cameras. It is programmable through I2C and 4-wire
5*4882a593Smuzhiyuninterfaces. The sensor output is available via CMOS logic parallel SDR output,
6*4882a593SmuzhiyunLow voltage LVDS DDR output and CSI-2 serial data output. The CSI-2 bus is the
7*4882a593Smuzhiyundefault. No bindings have been defined for the other busses.
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunRequired Properties:
10*4882a593Smuzhiyun- compatible: Should be "sony,imx290"
11*4882a593Smuzhiyun- reg: I2C bus address of the device
12*4882a593Smuzhiyun- clocks: Reference to the xclk clock.
13*4882a593Smuzhiyun- clock-names: Should be "xclk".
14*4882a593Smuzhiyun- clock-frequency: Frequency of the xclk clock in Hz.
15*4882a593Smuzhiyun- vdddo-supply: Sensor digital IO regulator.
16*4882a593Smuzhiyun- vdda-supply: Sensor analog regulator.
17*4882a593Smuzhiyun- vddd-supply: Sensor digital core regulator.
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunOptional Properties:
20*4882a593Smuzhiyun- reset-gpios: Sensor reset GPIO
21*4882a593Smuzhiyun
22*4882a593SmuzhiyunThe imx290 device node should contain one 'port' child node with
23*4882a593Smuzhiyunan 'endpoint' subnode. For further reading on port node refer to
24*4882a593SmuzhiyunDocumentation/devicetree/bindings/media/video-interfaces.txt.
25*4882a593Smuzhiyun
26*4882a593SmuzhiyunRequired Properties on endpoint:
27*4882a593Smuzhiyun- data-lanes: check ../video-interfaces.txt
28*4882a593Smuzhiyun- link-frequencies: check ../video-interfaces.txt
29*4882a593Smuzhiyun- remote-endpoint: check ../video-interfaces.txt
30*4882a593Smuzhiyun
31*4882a593SmuzhiyunExample:
32*4882a593Smuzhiyun	&i2c1 {
33*4882a593Smuzhiyun		...
34*4882a593Smuzhiyun		imx290: camera-sensor@1a {
35*4882a593Smuzhiyun			compatible = "sony,imx290";
36*4882a593Smuzhiyun			reg = <0x1a>;
37*4882a593Smuzhiyun
38*4882a593Smuzhiyun			reset-gpios = <&msmgpio 35 GPIO_ACTIVE_LOW>;
39*4882a593Smuzhiyun			pinctrl-names = "default";
40*4882a593Smuzhiyun			pinctrl-0 = <&camera_rear_default>;
41*4882a593Smuzhiyun
42*4882a593Smuzhiyun			clocks = <&gcc GCC_CAMSS_MCLK0_CLK>;
43*4882a593Smuzhiyun			clock-names = "xclk";
44*4882a593Smuzhiyun			clock-frequency = <37125000>;
45*4882a593Smuzhiyun
46*4882a593Smuzhiyun			vdddo-supply = <&camera_vdddo_1v8>;
47*4882a593Smuzhiyun			vdda-supply = <&camera_vdda_2v8>;
48*4882a593Smuzhiyun			vddd-supply = <&camera_vddd_1v5>;
49*4882a593Smuzhiyun
50*4882a593Smuzhiyun			port {
51*4882a593Smuzhiyun				imx290_ep: endpoint {
52*4882a593Smuzhiyun					data-lanes = <1 2 3 4>;
53*4882a593Smuzhiyun					link-frequencies = /bits/ 64 <445500000>;
54*4882a593Smuzhiyun					remote-endpoint = <&csiphy0_ep>;
55*4882a593Smuzhiyun				};
56*4882a593Smuzhiyun			};
57*4882a593Smuzhiyun		};
58