18c2ecf20Sopenharmony_ci* Sony 1/3.06-Inch 13.13Mp CMOS Digital Image Sensor
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciThe Sony imx214 is a 1/3.06-inch CMOS active pixel digital image sensor with
48c2ecf20Sopenharmony_cian active array size of 4224H x 3200V. It is programmable through an I2C
58c2ecf20Sopenharmony_ciinterface.
68c2ecf20Sopenharmony_ciImage data is sent through MIPI CSI-2, through 2 or 4 lanes at a maximum
78c2ecf20Sopenharmony_cithroughput of 1.2Gbps/lane.
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciRequired Properties:
118c2ecf20Sopenharmony_ci- compatible: Shall be "sony,imx214".
128c2ecf20Sopenharmony_ci- reg: I2C bus address of the device. Depending on how the sensor is wired,
138c2ecf20Sopenharmony_ci       it shall be <0x10> or <0x1a>;
148c2ecf20Sopenharmony_ci- enable-gpios: GPIO descriptor for the enable pin.
158c2ecf20Sopenharmony_ci- vdddo-supply: Chip digital IO regulator (1.8V).
168c2ecf20Sopenharmony_ci- vdda-supply: Chip analog regulator (2.7V).
178c2ecf20Sopenharmony_ci- vddd-supply: Chip digital core regulator (1.12V).
188c2ecf20Sopenharmony_ci- clocks: Reference to the xclk clock.
198c2ecf20Sopenharmony_ci- clock-frequency: Frequency of the xclk clock.
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ciOptional Properties:
228c2ecf20Sopenharmony_ci- flash-leds: See ../video-interfaces.txt
238c2ecf20Sopenharmony_ci- lens-focus: See ../video-interfaces.txt
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ciThe imx214 device node shall contain one 'port' child node with
268c2ecf20Sopenharmony_cian 'endpoint' subnode. For further reading on port node refer to
278c2ecf20Sopenharmony_ciDocumentation/devicetree/bindings/media/video-interfaces.txt.
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ciRequired Properties on endpoint:
308c2ecf20Sopenharmony_ci- data-lanes: check ../video-interfaces.txt
318c2ecf20Sopenharmony_ci- link-frequencies: check ../video-interfaces.txt
328c2ecf20Sopenharmony_ci- remote-endpoint: check ../video-interfaces.txt
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ciExample:
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ci	camera-sensor@1a {
378c2ecf20Sopenharmony_ci		compatible = "sony,imx214";
388c2ecf20Sopenharmony_ci		reg = <0x1a>;
398c2ecf20Sopenharmony_ci		vdddo-supply = <&pm8994_lvs1>;
408c2ecf20Sopenharmony_ci		vddd-supply = <&camera_vddd_1v12>;
418c2ecf20Sopenharmony_ci		vdda-supply = <&pm8994_l17>;
428c2ecf20Sopenharmony_ci		lens-focus = <&ad5820>;
438c2ecf20Sopenharmony_ci		enable-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>;
448c2ecf20Sopenharmony_ci		clocks = <&mmcc CAMSS_MCLK0_CLK>;
458c2ecf20Sopenharmony_ci		clock-frequency = <24000000>;
468c2ecf20Sopenharmony_ci		port {
478c2ecf20Sopenharmony_ci			imx214_ep: endpoint {
488c2ecf20Sopenharmony_ci				data-lanes = <1 2 3 4>;
498c2ecf20Sopenharmony_ci				link-frequencies = /bits/ 64 <480000000>;
508c2ecf20Sopenharmony_ci				remote-endpoint = <&csiphy0_ep>;
518c2ecf20Sopenharmony_ci			};
528c2ecf20Sopenharmony_ci		};
538c2ecf20Sopenharmony_ci	};
54