Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1419965

[PATCH v2 2/2] media: et8ek8: Add documentation

Path csiph.com!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Newsgroups linux.kernel
Subject [PATCH v2 2/2] media: et8ek8: Add documentation
Date Sat, 11 Jun 2016 13:20:02 +0200
Message-ID <rIP7k-2nz-5@gated-at.bofh.it> (permalink)
References <rIP7k-2nz-7@gated-at.bofh.it>
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)
X-Mailer git-send-email 1.9.1
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 66
Organization linux.* mail to news gateway
X-Original-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 <ivo.g.dimitrov.75@gmail.com>
X-Original-Date Sat, 11 Jun 2016 14:14:40 +0300
X-Original-Message-ID <1465643680-21866-3-git-send-email-ivo.g.dimitrov.75@gmail.com>
X-Original-References <1465643680-21866-1-git-send-email-ivo.g.dimitrov.75@gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1419965

Show key headers only | View raw


Add DT bindings description

Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
---
 .../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>;
+			};
+		};
+	};
+};
-- 
1.9.1

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v2 2/2] media: et8ek8: Add documentation Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> - 2016-06-11 13:20 +0200

csiph-web