Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: imx274: device tree binding file

The binding file for imx274 CMOS sensor V4l2 driver

Signed-off-by: Leon Luo <leonl@leopardimaging.com>
Acked-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>

authored by

Leon Luo and committed by
Mauro Carvalho Chehab
b2b60bcc f7480ad0

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