From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752338AbdH3R7B (ORCPT ); Wed, 30 Aug 2017 13:59:01 -0400 Received: from p3plsmtpa09-10.prod.phx3.secureserver.net ([173.201.193.239]:58747 "EHLO p3plsmtpa09-10.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751741AbdH3R67 (ORCPT ); Wed, 30 Aug 2017 13:58:59 -0400 From: Leon Luo To: mchehab@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, hans.verkuil@cisco.com, sakari.ailus@linux.intel.com Cc: inux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, leonl@leopardimaging.com, soren.brinkmann@xilinx.com Subject: [PATCH v3 1/2] media:imx274 device tree binding file Date: Wed, 30 Aug 2017 10:50:52 -0700 Message-Id: <20170830175053.31332-1-leonl@leopardimaging.com> X-Mailer: git-send-email 2.14.0.rc1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfHyUTpfcHMdggWDjLTsh5P6w0vwVzZVnus6G9+BUwVPcZI94e4um4zLUyhHvCmGwhIPLO4Sz3MrdXjtp5zhUViBj9GsHdLeDWIRpnnsLyHExHI5H5pT2 FW7l+0YluSYnwWB4Bf3j5niFdTKy12fCpgDmSVgUxHCOX7gZeOBGidYK7BibCBdpC1g3dsUhCb/wBd17YSsuYqmFyVQERrIq6ruOp6bA6NaBV8MOZrGY1MlI naoIvQVEMqJfBjhJnK+TWT6N9v1XUIml7mqsYnFS5T71nzNZoM68M5SjRJycN23LSC9o47qOk441E91aFD6ULk8+pBROlwVGgsYMtF7HXQtHa5BvUKoKQbk9 oP2Xcjv7UdOib6ojhgl/bNE8qlvIfpPfhHf02Nk6GdUPPhEBc32tDiaEICRks2pZWdwec3zO1xMEJ6nV/dAfe75PczJXSdR/7xUMTm+Lh0OuSyhctQuls+sf 6PrL+81uhnVC9lQiuYLpffGq3uRnpw5SEeYslkrJb0vVrDvA0iHStzKki8g= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The binding file for imx274 CMOS sensor V4l2 driver Signed-off-by: Leon Luo Acked-by: Sören Brinkmann --- v3: - remove redundant properties and references - document 'reg' property v2: - no changes --- .../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..1f03256b35db --- /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 +- reg: I2C bus address of the device + +Optional Properties: +- reset-gpios: Sensor reset GPIO + +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>; + }; + }; + }; -- 2.14.0.rc1