All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] media:imx274 device tree binding file
@ 2017-08-29  1:40 ` Soren Brinkmann
  0 siblings, 0 replies; 10+ messages in thread
From: Soren Brinkmann @ 2017-08-29  1:40 UTC (permalink / raw)
  To: mchehab, robh+dt, mark.rutland, hans.verkuil, sakari.ailus
  Cc: linux-media, devicetree, linux-kernel, Leon Luo, Sören Brinkmann

From: Leon Luo <leonl@leopardimaging.com>

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>
---
 .../devicetree/bindings/media/i2c/imx274.txt       | 32 ++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/i2c/imx274.txt

diff --git a/Documentation/devicetree/bindings/media/i2c/imx274.txt b/Documentation/devicetree/bindings/media/i2c/imx274.txt
new file mode 100644
index 000000000000..9154666d1149
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/i2c/imx274.txt
@@ -0,0 +1,32 @@
+* 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
+
+Optional Properties:
+- reset-gpios: Sensor reset GPIO
+
+For further reading on port node refer to
+Documentation/devicetree/bindings/media/video-interfaces.txt.
+
+Example:
+	imx274: sensor@1a{
+		compatible = "sony,imx274";
+		reg = <0x1a>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		reset-gpios = <&gpio_sensor 0 0>;
+		port@0 {
+			reg = <0>;
+			sensor_out: endpoint {
+				remote-endpoint = <&csiss_in>;
+			};
+		};
+	};
-- 
2.14.1.3.g5766cf452

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-08-31 10:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-29  1:40 [PATCH v2 1/2] media:imx274 device tree binding file Soren Brinkmann
2017-08-29  1:40 ` Soren Brinkmann
2017-08-29  1:40 ` [PATCH v2 2/2] media:imx274 V4l2 driver for Sony imx274 CMOS sensor Soren Brinkmann
2017-08-29  1:40   ` Soren Brinkmann
2017-08-29  9:35   ` Sakari Ailus
2017-08-31 10:42   ` kbuild test robot
2017-08-31 10:42     ` kbuild test robot
2017-08-31 10:56   ` kbuild test robot
2017-08-31 10:56     ` kbuild test robot
2017-08-29  8:58 ` [PATCH v2 1/2] media:imx274 device tree binding file Sakari Ailus

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.