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