Skip to content

Commit

Permalink
imx274: device tree binding file
Browse files Browse the repository at this point in the history
The binding file for imx274 CMOS sensor V4l2 driver

Signed-off-by: Leon Luo <[email protected]>
Acked-by: Sören Brinkmann <[email protected]>
Acked-by: Rob Herring <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
(cherry picked from commit 49b4f20dbe4bd17d9f1b22bf0b481fe4c2d2ca83)
Signed-off-by: Michal Simek <[email protected]>
  • Loading branch information
LI01 authored and Michal Simek committed Oct 9, 2017
1 parent dc97562 commit a551f3e
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions Documentation/devicetree/bindings/media/i2c/imx274.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
* Sony 1/2.5-Inch 8.51Mp CMOS Digital Image Sensor

The Sony imx274 is a 1/2.5-inch CMOS active pixel digital image sensor with
an active array size of 3864H x 2202V. It is programmable through I2C
interface. The I2C address is fixed to 0x1a as per sensor data sheet.
Image data is sent through MIPI CSI-2, which is configured as 4 lanes
at 1440 Mbps.


Required Properties:
- compatible: value should be "sony,imx274" for imx274 sensor
- reg: I2C bus address of the device

Optional Properties:
- reset-gpios: Sensor reset GPIO

The imx274 device node should contain one 'port' child node with
an 'endpoint' subnode. For further reading on port node refer to
Documentation/devicetree/bindings/media/video-interfaces.txt.

Example:
sensor@1a {
compatible = "sony,imx274";
reg = <0x1a>;
#address-cells = <1>;
#size-cells = <0>;
reset-gpios = <&gpio_sensor 0 0>;
port {
sensor_out: endpoint {
remote-endpoint = <&csiss_in>;
};
};
};

0 comments on commit a551f3e

Please sign in to comment.