xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/i2c/sony,imx214.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Sony 1/3.06-Inch 13.13Mp CMOS Digital Image Sensor
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThe Sony imx214 is a 1/3.06-inch CMOS active pixel digital image sensor with
4*4882a593Smuzhiyunan active array size of 4224H x 3200V. It is programmable through an I2C
5*4882a593Smuzhiyuninterface.
6*4882a593SmuzhiyunImage data is sent through MIPI CSI-2, through 2 or 4 lanes at a maximum
7*4882a593Smuzhiyunthroughput of 1.2Gbps/lane.
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunRequired Properties:
11*4882a593Smuzhiyun- compatible: Shall be "sony,imx214".
12*4882a593Smuzhiyun- reg: I2C bus address of the device. Depending on how the sensor is wired,
13*4882a593Smuzhiyun       it shall be <0x10> or <0x1a>;
14*4882a593Smuzhiyun- enable-gpios: GPIO descriptor for the enable pin.
15*4882a593Smuzhiyun- vdddo-supply: Chip digital IO regulator (1.8V).
16*4882a593Smuzhiyun- vdda-supply: Chip analog regulator (2.7V).
17*4882a593Smuzhiyun- vddd-supply: Chip digital core regulator (1.12V).
18*4882a593Smuzhiyun- clocks: Reference to the xclk clock.
19*4882a593Smuzhiyun- clock-frequency: Frequency of the xclk clock.
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunOptional Properties:
22*4882a593Smuzhiyun- flash-leds: See ../video-interfaces.txt
23*4882a593Smuzhiyun- lens-focus: See ../video-interfaces.txt
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunThe imx214 device node shall contain one 'port' child node with
26*4882a593Smuzhiyunan 'endpoint' subnode. For further reading on port node refer to
27*4882a593SmuzhiyunDocumentation/devicetree/bindings/media/video-interfaces.txt.
28*4882a593Smuzhiyun
29*4882a593SmuzhiyunRequired Properties on endpoint:
30*4882a593Smuzhiyun- data-lanes: check ../video-interfaces.txt
31*4882a593Smuzhiyun- link-frequencies: check ../video-interfaces.txt
32*4882a593Smuzhiyun- remote-endpoint: check ../video-interfaces.txt
33*4882a593Smuzhiyun
34*4882a593SmuzhiyunExample:
35*4882a593Smuzhiyun
36*4882a593Smuzhiyun	camera-sensor@1a {
37*4882a593Smuzhiyun		compatible = "sony,imx214";
38*4882a593Smuzhiyun		reg = <0x1a>;
39*4882a593Smuzhiyun		vdddo-supply = <&pm8994_lvs1>;
40*4882a593Smuzhiyun		vddd-supply = <&camera_vddd_1v12>;
41*4882a593Smuzhiyun		vdda-supply = <&pm8994_l17>;
42*4882a593Smuzhiyun		lens-focus = <&ad5820>;
43*4882a593Smuzhiyun		enable-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>;
44*4882a593Smuzhiyun		clocks = <&mmcc CAMSS_MCLK0_CLK>;
45*4882a593Smuzhiyun		clock-frequency = <24000000>;
46*4882a593Smuzhiyun		port {
47*4882a593Smuzhiyun			imx214_ep: endpoint {
48*4882a593Smuzhiyun				data-lanes = <1 2 3 4>;
49*4882a593Smuzhiyun				link-frequencies = /bits/ 64 <480000000>;
50*4882a593Smuzhiyun				remote-endpoint = <&csiphy0_ep>;
51*4882a593Smuzhiyun			};
52*4882a593Smuzhiyun		};
53*4882a593Smuzhiyun	};
54