From patchwork Fri Sep 1 20:32:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Luo X-Patchwork-Id: 9935245 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 778786021C for ; Fri, 1 Sep 2017 20:40:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6C0F0283ED for ; Fri, 1 Sep 2017 20:40:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6A80A28408; Fri, 1 Sep 2017 20:40:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EC621283ED for ; Fri, 1 Sep 2017 20:40:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752367AbdIAUks (ORCPT ); Fri, 1 Sep 2017 16:40:48 -0400 Received: from p3plsmtpa09-04.prod.phx3.secureserver.net ([173.201.193.233]:54548 "EHLO p3plsmtpa09-04.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752423AbdIAUkr (ORCPT ); Fri, 1 Sep 2017 16:40:47 -0400 X-Greylist: delayed 438 seconds by postgrey-1.27 at vger.kernel.org; Fri, 01 Sep 2017 16:40:47 EDT Received: from leon-ThinkCentre-M93p.socal.rr.com ([75.84.179.146]) by :SMTPAUTH: with SMTP id nscXdNH1N8YOwnscbdoCUT; Fri, 01 Sep 2017 13:32:58 -0700 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 v4 1/2] media:imx274 device tree binding file Date: Fri, 1 Sep 2017 13:32:42 -0700 Message-Id: <20170901203243.25694-1-leonl@leopardimaging.com> X-Mailer: git-send-email 2.14.1.145.gb3622a4 X-CMAE-Envelope: MS4wfM+gyxoZavXTsjL/lVKsdgTcE3mkath7SvxcDPI6oZa2Vh8g91sgH+ws1SJRsDCOFpRNZxiv/rsKe+L4gBtqLKjpAjaSR0hMtXUkznsuT0LO13UFEUVp R1LVM/Dp84L1Yp0tMgDpDpGFyFfENIwdob+zZErd7WAmiERzj/vc/12GlKNVLszR0HJnN1BXb/FfaZ+zXISWvmwVk/LhoFT4gRgFm14VH0ljdvCdlN1Wz1aV hgACa73ELpRfpsuZvbE91evQzlNU/0oao7HyJnMZ/zeJJh6FKjTd1lFdDL88Bv5EP3ZBZuERYI6nHPS3NGzlWme++mg2wsFQh6YmF+u1jAEvNZCbzDIqH/P8 JnhRWfg/GUa42I8jIdqibeVdgpf6l1D2aHA/Dc7iPm21zclztJ3StTC8jeU98C3VCVhHtad/h1jU/z90y4rnL7Gswdb4a/jrDT11QGhYL4FQBwZakO+vm5qp LUGISMbeUnY7brNf98isF1TO8zsQUFciV5d64NduWetVD/OmBUSyKF2+yqYfo4/fXDWhzMj1JCkHh7Ah Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The binding file for imx274 CMOS sensor V4l2 driver Signed-off-by: Leon Luo Acked-by: Rob Herring --- v4: - no changes 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>; + }; + }; + };