From patchwork Wed Aug 30 18:18:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leon Luo X-Patchwork-Id: 9930547 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 482AC6032A for ; Wed, 30 Aug 2017 18:27:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 41A9B28755 for ; Wed, 30 Aug 2017 18:27:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 35F7228757; Wed, 30 Aug 2017 18:27:04 +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.4 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 D0F9C28755 for ; Wed, 30 Aug 2017 18:27:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752017AbdH3S0b (ORCPT ); Wed, 30 Aug 2017 14:26:31 -0400 Received: from p3plsmtpa06-05.prod.phx3.secureserver.net ([173.201.192.106]:57615 "EHLO p3plsmtpa06-05.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751854AbdH3S0a (ORCPT ); Wed, 30 Aug 2017 14:26:30 -0400 X-Greylist: delayed 438 seconds by postgrey-1.27 at vger.kernel.org; Wed, 30 Aug 2017 14:26:30 EDT Received: from localhost.localdomain ([75.84.179.146]) by :SMTPAUTH: with SMTP id n7ZUdasXTwawjn7ZYdqL99; Wed, 30 Aug 2017 11:18:41 -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 v3 1/2] media:imx274 device tree binding file Date: Wed, 30 Aug 2017 11:18:19 -0700 Message-Id: <20170830181820.3167-1-leonl@leopardimaging.com> X-Mailer: git-send-email 2.14.0.rc1 MIME-Version: 1.0 X-CMAE-Envelope: MS4wfJwDHuwf+xUKohyTAZufgQlFbTS5y8U3L0mdLCGlkREv+ZuojtPPmTD7i+g7RJeq7i5ywbWousCl6VwE+zwk+sO//mxjEzFlC92lcjxNNV/OpNkZ5Nba 6W1+DQ77Rh7Jt1rWJE2FH4n3uQs0YmFrQoL/D9GdzcAb8DUHRo0QnS5zs+e5AxjpWWrN4epqNl/qHtiG2CJ3zM9LRvz1ls+yyJeuzv+LmuehWOTHGN5WQhMJ WynchY+c7P/5w4wjxEMHIH8uE+wIByYx4frpJyI3aupXmNBDPBKCuLv0LmcFz4LJ+ftKgvHz7jv25YQdfRceEqshrB7E/4i4uzRtssF74QBbYkEhkfhio0cw jFLnc+4kFdFZxwT5wgDgwwP60StwRIeR2E4Bg2uaNseBOZay4RsyWHdzTcLEvRXahD3uo00wjuQRVodFEUPLCJ96sGovWVhxkPDZCvP/2VB4uhmqrjwZ1Lud OZvo05opuoxTzpG59rNBBTjTSa8j4UPuybfSsEoPSegVVxn9+jN6lXRJpvM= 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: 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>; + }; + }; + };