From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932194AbdJZGvW (ORCPT ); Thu, 26 Oct 2017 02:51:22 -0400 Received: from p3plsmtpa11-01.prod.phx3.secureserver.net ([68.178.252.102]:44838 "EHLO p3plsmtpa11-01.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751027AbdJZGvT (ORCPT ); Thu, 26 Oct 2017 02:51:19 -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: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, leonl@leopardimaging.com, soren.brinkmann@xilinx.com Subject: [PATCH v9 1/2] media:imx274 device tree binding file Date: Wed, 25 Oct 2017 23:51:02 -0700 Message-Id: <20171026065103.28213-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: MS4wfN82UWeDbnulCXuKQaulXShXS0ZxCtirc+Fa+4+LP/L9WlBXLreDXzFD/EF5O7rWUeiIEnFgA6nGiuPhNItDen2Jre44jAE5bPz+9cRq2VtRswHPKZCa mblx90FRAIbBjz9Gqs0p5jg57FlDIYT//3VhyM6W+SHirHZxhP3U029bvtT3oLeyT64K9g/sPAXusl71bProHUtDQOQnVG2pcd4nOQy1+LpBN0uBJC4EVpG0 AxnZCNRf/nKcX0Mwfs/ZgZxW6wV/SV6jhqU1K+gXXpKd22iQ5SQV7HerBCqvw7noA4ytEi9/oZ1NJFz8Q++ATVQ0WZhXktlf1w5azBqBsHsKV0FM0kUxuyQQ FlFZlsz4/tJIgFXFuVroML2lmYwVl3M1n/VBPFrLMJKwk25JjAcnINSS+ukEKCLMOykHUP5ku8rRjqqGAl+iFoPDsSL99mZ83xs88/usCkGd/2Sw540fVO8A UF5Vp/F/2BYA2216pconsnZF3hMaIh6QLVYXXZXd2Akp0HrdGhmowec4RuM= 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 Acked-by: Rob Herring --- v9: - add an entry in MAINTAINERS v8: - no changes v7: - no changes v6: - no changes v5: - add 'port' and 'endpoint' information v4: - no changes v3: - remove redundant properties and references - document 'reg' property v2: - no changes --- .../devicetree/bindings/media/i2c/imx274.txt | 33 ++++++++++++++++++++++ MAINTAINERS | 8 ++++++ 2 files changed, 41 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..80f2e89568e1 --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/imx274.txt @@ -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>; + }; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 90230fe020f3..b5927bd4fe1e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12486,6 +12486,14 @@ S: Maintained F: drivers/ssb/ F: include/linux/ssb/ +SONY IMX274 SENSOR DRIVER +M: Leon Luo +L: linux-media@vger.kernel.org +T: git git://linuxtv.org/media_tree.git +S: Maintained +F: drivers/media/i2c/imx274.c +F: Documentation/devicetree/bindings/media/i2c/imx274.txt + SONY MEMORYSTICK CARD SUPPORT M: Alex Dubov W: http://tifmxx.berlios.de/ -- 2.14.0.rc1