xref: /freebsd/sys/contrib/device-tree/Bindings/media/i2c/imx274.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Sony 1/2.5-Inch 8.51Mp CMOS Digital Image Sensor
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThe Sony imx274 is a 1/2.5-inch CMOS active pixel digital image sensor with
4*c66ec88fSEmmanuel Vadotan active array size of 3864H x 2202V. It is programmable through I2C
5*c66ec88fSEmmanuel Vadotinterface. The I2C address is fixed to 0x1a as per sensor data sheet.
6*c66ec88fSEmmanuel VadotImage data is sent through MIPI CSI-2, which is configured as 4 lanes
7*c66ec88fSEmmanuel Vadotat 1440 Mbps.
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel VadotRequired Properties:
11*c66ec88fSEmmanuel Vadot- compatible: value should be "sony,imx274" for imx274 sensor
12*c66ec88fSEmmanuel Vadot- reg: I2C bus address of the device
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotOptional Properties:
15*c66ec88fSEmmanuel Vadot- reset-gpios: Sensor reset GPIO
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel VadotThe imx274 device node should contain one 'port' child node with
18*c66ec88fSEmmanuel Vadotan 'endpoint' subnode. For further reading on port node refer to
19*c66ec88fSEmmanuel VadotDocumentation/devicetree/bindings/media/video-interfaces.txt.
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel VadotExample:
22*c66ec88fSEmmanuel Vadot	sensor@1a {
23*c66ec88fSEmmanuel Vadot		compatible = "sony,imx274";
24*c66ec88fSEmmanuel Vadot		reg = <0x1a>;
25*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
26*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
27*c66ec88fSEmmanuel Vadot		reset-gpios = <&gpio_sensor 0 0>;
28*c66ec88fSEmmanuel Vadot		port {
29*c66ec88fSEmmanuel Vadot			sensor_out: endpoint {
30*c66ec88fSEmmanuel Vadot				remote-endpoint = <&csiss_in>;
31*c66ec88fSEmmanuel Vadot			};
32*c66ec88fSEmmanuel Vadot		};
33*c66ec88fSEmmanuel Vadot	};
34