From patchwork Sat Jun 11 15:39:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Dimitrov X-Patchwork-Id: 9171063 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 A95BB604DB for ; Sat, 11 Jun 2016 15:40:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9BD8E26E1A for ; Sat, 11 Jun 2016 15:40:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 906912780C; Sat, 11 Jun 2016 15:40:31 +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 3ED76271E0 for ; Sat, 11 Jun 2016 15:40:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752602AbcFKPkO (ORCPT ); Sat, 11 Jun 2016 11:40:14 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:34997 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752556AbcFKPkK (ORCPT ); Sat, 11 Jun 2016 11:40:10 -0400 Received: by mail-wm0-f67.google.com with SMTP id k184so5022544wme.2; Sat, 11 Jun 2016 08:40:10 -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=mPQDVS+onF/7P9hmHmy9YEyoXr2fgRKupvSPWfKowfL6RyfOxUMMuCsOPGOrBZolSl 3k0B7RsDONae2CrUIeV8QbfD5A1UrBykxl6YbzAgeGBy/wwXOD7kY0PEO8pP4sjJS8ED 9iZAH3+2L3DHaMo1EWXSUO2LE80RHv+MDF9SUm/iGFx3yauREjSB+hE/3e0cIrcy9YF6 kLNHLEIEtDn1fZ6nK0pdsNCdnCxmkYxF/Fy6DzDx9rZi92EYhQkLIWCmluggqAMeoX3b z8g9xR+0o4jdBUwlR5jT/qv6sDmAqmOeqXbK2EvegbEz3R5rv7NIQlcP64QGGSr/Sl55 NFWA== 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=Y9FIez6z/vEt50FA77zIy7k+HduA1qyQjOwXy5EoNO7AAWE2scegh76eJoae69ELbs vm2BYqG3mhzqWTar1YvLqykB6kyxesjphjmWrndvd/ADyVGNJ96Pg1aScWwn3CXpHrw8 C9CY2sp8nKBRNBTWlNv8rmJ07eTzRqExVUuVkoJVCXTD0wBb1JQqncFyQg+OFB3ibIB4 cDF16uOulQ8LTd//luWV0CtCB6LcjfHyTfjtvCglhbdn0IOQ+5/mP0lhEmDuOrx7BmTA mTQ543NuQvyH9ZJ8wLHOT2FCffag2MHlnfNjyWBRnQuFPI5gqsN/gU5jx9bz6aSh2O45 IZWg== X-Gm-Message-State: ALyK8tITAk1i0lXQMUIP9ROnoEu7b26voWOKZTXAgCeknEU1MD/1jUgkpPwq7acD1WidUw== X-Received: by 10.194.8.3 with SMTP id n3mr6884172wja.120.1465659604138; Sat, 11 Jun 2016 08:40:04 -0700 (PDT) Received: from localhost.localdomain ([46.249.74.23]) by smtp.gmail.com with ESMTPSA id xs9sm15019163wjc.11.2016.06.11.08.40.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 11 Jun 2016 08:40:03 -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 v3 2/2] media: et8ek8: Add documentation Date: Sat, 11 Jun 2016 18:39:53 +0300 Message-Id: <1465659593-16858-3-git-send-email-ivo.g.dimitrov.75@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1465659593-16858-1-git-send-email-ivo.g.dimitrov.75@gmail.com> References: <1465659593-16858-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>; + }; + }; + }; +};