From patchwork Sun Apr 24 21:08:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Dimitrov X-Patchwork-Id: 8921691 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 91E719F6CD for ; Sun, 24 Apr 2016 21:10:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C524020103 for ; Sun, 24 Apr 2016 21:10:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DC7A3201F2 for ; Sun, 24 Apr 2016 21:10:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753364AbcDXVKs (ORCPT ); Sun, 24 Apr 2016 17:10:48 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:34228 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753198AbcDXVK2 (ORCPT ); Sun, 24 Apr 2016 17:10:28 -0400 Received: by mail-wm0-f67.google.com with SMTP id n3so20028538wmn.1 for ; Sun, 24 Apr 2016 14:10:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fthQ1KMA5glfO+sIOtndLgXsm6KTI1XZ+vz9Uekiz3M=; b=EPvDASUelD2K3QBTbj8yhPnON36n57qnpu49oEMOKlwJy9GXx17pBphKUaZneB7okV d8BrUG6QrxTiE7CF4nH+6xNyYwzijNvKobPQ6DxMFjgfyfcChlOS9vMsgAv41xw3KelR YA3UOUGfcidswvCM6ZJvdQYRm+vKIXWTWzjkezlaWTJefvGI6Wng/tV2NOgFIUITArll 5PG8gViIorWxxFDFQg6m23aX5Q83bQL+roGU2kLQzVLmyOL90CFszn58rTsLPer/B70e 6fwzAjWJZeNu3GTMNUNVlD8Ma+Skv/cjvyEa7FI5tKwq/4hKIH5nhY7p4/3MTtlzls2t +/oA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=fthQ1KMA5glfO+sIOtndLgXsm6KTI1XZ+vz9Uekiz3M=; b=XbWMjVCpN+CyvRAcrXXmLShVDdiEP2Yjms04FkzuddddoKvQwy2YFEiuia4ojmg3w/ +IjjosXn6rj9sYCWo7/40YlKsk++dJ14RWoIaIaERA756Eqmp9XSUR7/zBJqpIgq/YL/ x0BZRFh9zm8jQarboS7CzHdyjdEGL4/bS4kNLPe9q+dcPHIqHKQlF89yPuabt6lFSD/+ /zUhncUw9u23k+K3YvJ70SeG3KqSseChYEppatxmgUgfYVbs/t3s2vWIcFs/uqN/eF5N Vmm0KGPD/8Ljbauz98hHzSOuPXHnr1mPFZdrN3h1QpHcNOtTi3dePPX1N5rWClYdofBE xsgQ== X-Gm-Message-State: AOPr4FUp6ZhKN0YrpCEyGaDTyKyLCWZVyN11K4EhiPyybUjLkZX5XBDO8HBrY9rXzUW50g== X-Received: by 10.28.18.81 with SMTP id 78mr7865269wms.59.1461532226886; Sun, 24 Apr 2016 14:10:26 -0700 (PDT) Received: from localhost.localdomain ([46.249.74.23]) by smtp.gmail.com with ESMTPSA id b2sm15440182wmb.9.2016.04.24.14.10.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 24 Apr 2016 14:10:26 -0700 (PDT) From: Ivaylo Dimitrov To: sakari.ailus@iki.fi Cc: sre@kernel.org, pali.rohar@gmail.com, pavel@ucw.cz, linux-media@vger.kernel.org Subject: [RFC PATCH 14/24] media: et8ek8: add device tree binding document Date: Mon, 25 Apr 2016 00:08:14 +0300 Message-Id: <1461532104-24032-15-git-send-email-ivo.g.dimitrov.75@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1461532104-24032-1-git-send-email-ivo.g.dimitrov.75@gmail.com> References: <20160420081427.GZ32125@valkosipuli.retiisi.org.uk> <1461532104-24032-1-git-send-email-ivo.g.dimitrov.75@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Sebastian Reichel Add the document for et8ek8 dt. --- .../bindings/media/i2c/toshiba,et8ek8.txt | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/toshiba,et8ek8.txt diff --git a/Documentation/devicetree/bindings/media/i2c/toshiba,et8ek8.txt b/Documentation/devicetree/bindings/media/i2c/toshiba,et8ek8.txt new file mode 100644 index 0000000..acb9290 --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/toshiba,et8ek8.txt @@ -0,0 +1,56 @@ +Toshiba ET8EK8 sensor + +Toshiba ET8EK8 is an image sensor used in the Nokia N900. + +Additional information about video interfaces in DT can be found in +Documentation/devicetree/bindings/media/video-interfaces.txt . + +Mandatory properties +-------------------- + +- compatible: "toshiba,et8ek8" +- reg: I2C address (0x3e, or an alternative address) +- vana-supply: Analogue voltage supply (VANA), typically 2.8 volts (sensor + dependent). +- clocks: External clock to the sensor +- clock-frequency: Frequency of the external clock to the sensor + +Optional properties +------------------- + +- reset-gpios: XSHUTDOWN GPIO + + +Endpoint node mandatory properties +---------------------------------- + +- clock-lanes: <0> +- data-lanes: <1> +- remote-endpoint: A phandle to the bus receiver's endpoint node. + +Example +------- + +&i2c2 { + clock-frequency = <400000>; + + cam1: camera@3e { + compatible = "toshiba,et8ek8"; + reg = <0x3e>; + + vana-supply = <&vaux4>; + + clocks = <&isp 0>; + clock-frequency = <9600000>; + + reset-gpio = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* 102 */ + + port { + cam1_1: endpoint { + clock-lanes = <0>; + data-lanes = <1>; + remote-endpoint = <&isp_csi>; + }; + }; + }; +};