From patchwork Sat Jun 11 11:14:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Dimitrov X-Patchwork-Id: 9171001 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 209F6604DB for ; Sat, 11 Jun 2016 11:16:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 10B4D26B57 for ; Sat, 11 Jun 2016 11:16:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 054102832C; Sat, 11 Jun 2016 11:16:07 +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.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham 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 9FBCA26B57 for ; Sat, 11 Jun 2016 11:16:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752033AbcFKLPl (ORCPT ); Sat, 11 Jun 2016 07:15:41 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:34017 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751873AbcFKLPY (ORCPT ); Sat, 11 Jun 2016 07:15:24 -0400 Received: by mail-wm0-f67.google.com with SMTP id n184so3975579wmn.1; Sat, 11 Jun 2016 04:15:23 -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=ptWma5/bcPYw8ECJGRb6OiKbXKyBWti5meXXnVN981k=; b=R6nnyYoFNMDr5Cct3T4dxB2AwWQUww1EGySVZjIjaktSWx22tL+5WerTmNsL/bPV/1 dZ1AQxz870YF8Ux0hDwskVHiXE72jpf3NB4xkUmWNnkX4Vetq2kCFR2IzSxvDj3j9nTI uhz9GB3QLoXfNWBF9KjR7/Mg/eppMl/WXL7Y17OSjYKHZ2Rk3UMQNvd1jsJjXgTeG9Yn jE3hQUqG0VvBeB4sOWQMxQOudSeqk5AhAJHzBpNt8jeLPkkIbCbxN/MlK55EBCn/skja q7qPG+Iqgo8nLLefNcqW9cGJL1CVY+aMd1kOGKmD8KTj4baP/ydIr9t9GQxSJPme7IiN D5uQ== 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=ptWma5/bcPYw8ECJGRb6OiKbXKyBWti5meXXnVN981k=; b=TMaLm8vCgDfLqMixktrB78CAbKqZYpHhmSIQoz3GAyZYWijDXSASeEFcHnVyU2z0Jk UQAVrD39V6akLJY6ZafTtQ1n+G7TRxuCHAkGEd7XX9AnEdlLTLyz7NWRJ2VmDneYqN9K d2jU84w0udJ/Y5aYpb/Km/h1iLSQjexdmlWtgkG5CVsJ6tXnvEfDCgnc1OXy83M8UGKO w0xkfWP0gpHn736ddwFQHAAWB1zY+Z6MX7OYc+vNxyQZwPp8KqVHV3uok1YV1ioqWLT8 hwgWIdqRTqczw8lUXoXmO11QNaHJ+btw1hIv9Qul/3ACAcIe3k09znTe+uuAyVdzoVjd 7yPA== X-Gm-Message-State: ALyK8tIm7ZuHRRzKSSLccWIcB/URq26LKvTVXYCZbUNpP/7N2dHc4I29AIMb22TNo9aiiQ== X-Received: by 10.28.229.66 with SMTP id c63mr2947874wmh.65.1465643722616; Sat, 11 Jun 2016 04:15:22 -0700 (PDT) Received: from localhost.localdomain ([46.249.74.23]) by smtp.gmail.com with ESMTPSA id k127sm3627505wmf.21.2016.06.11.04.15.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 11 Jun 2016 04:15:22 -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, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, mchehab@osg.samsung.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Ivaylo Dimitrov Subject: [PATCH v2 2/2] media: et8ek8: Add documentation Date: Sat, 11 Jun 2016 14:14:40 +0300 Message-Id: <1465643680-21866-3-git-send-email-ivo.g.dimitrov.75@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1465643680-21866-1-git-send-email-ivo.g.dimitrov.75@gmail.com> References: <1465643680-21866-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-Virus-Scanned: ClamAV using ClamSMTP Add DT bindings description Signed-off-by: Ivaylo Dimitrov --- .../bindings/media/i2c/toshiba,et8ek8.txt | 50 ++++++++++++++++++++++ 1 file changed, 50 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..997d268 --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/toshiba,et8ek8.txt @@ -0,0 +1,50 @@ +Toshiba et8ek8 5MP sensor + +Toshiba et8ek8 5MP sensor is an image sensor found in Nokia N900 device + +More detailed documentation 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), 2.8 volts +- clocks: External clock to the sensor +- clock-frequency: Frequency of the external clock to the sensor +- reset-gpios: XSHUTDOWN GPIO + + +Endpoint node mandatory properties +---------------------------------- + +- remote-endpoint: A phandle to the bus receiver's endpoint node. + +Endpoint node optional properties +---------------------------------- + +- clock-lanes: <0> +- data-lanes: <1..n> + +Example +------- + +&i2c3 { + 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 { + csi_cam1: endpoint { + remote-endpoint = <&csi_out1>; + }; + }; + }; +};