From patchwork Sun Dec 22 21:27:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sylwester Nawrocki X-Patchwork-Id: 21284 X-Patchwork-Delegate: sylvester.nawrocki@gmail.com Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from ) id 1VuqYS-0005hb-7P; Sun, 22 Dec 2013 22:27:20 +0100 X-tubIT-Incoming-IP: 209.132.180.67 Received: from vger.kernel.org ([209.132.180.67]) by mail.tu-berlin.de (exim-4.72/mailfrontend-6) with esmtp id 1VuqYP-0004v5-5Z; Sun, 22 Dec 2013 22:27:19 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755557Ab3LVV1O (ORCPT + 1 other); Sun, 22 Dec 2013 16:27:14 -0500 Received: from mail-we0-f178.google.com ([74.125.82.178]:34664 "EHLO mail-we0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754569Ab3LVV1N (ORCPT ); Sun, 22 Dec 2013 16:27:13 -0500 Received: by mail-we0-f178.google.com with SMTP id u57so4379767wes.9 for ; Sun, 22 Dec 2013 13:27:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=B3zvaT0MSgofUUi7mFBkqcXotrXvvnnVqIkjOZb4f1o=; b=Q0hNOH6PQwfuXjnnzA7d/g1djwAuiCcGuAMAHS5nVNPo4NdgNqdjBbtupX8NbBZ3Ky 3P93IMnDUkFkk20qLsGGUkKKBUmk8opwyWZyJQ1pKViLrhaGZ/X8Dq3hZavxf4KiJnzs gHTAhy7jya/tl9eZpv+5OCw3EyMogqPQw+Njw1Mjm5sXoc/o4oIliRWayaGM20clgHFG bTm9yKhGxzwW0Iu7N9I+Ptn9hALGh5xzEErwc8cQzGGSi4A9CMTUoNvdmB/6MeAxvNXI EXS8sSkSLvp+8tVzUrz4ysW/lY2RK6twMx0KpDlnU0EMI/67JLO9L0f+Wg4QW9pVq/lX +wrA== X-Received: by 10.194.23.201 with SMTP id o9mr242854wjf.67.1387747632325; Sun, 22 Dec 2013 13:27:12 -0800 (PST) Received: from localhost.localdomain (093105185086.warszawa.vectranet.pl. [93.105.185.86]) by mx.google.com with ESMTPSA id eh7sm17801765wic.2.2013.12.22.13.27.10 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 22 Dec 2013 13:27:11 -0800 (PST) From: Sylwester Nawrocki To: rob.herring@calxeda.com Cc: m.chehab@samsung.com, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Sylwester Nawrocki , Kyungmin Park Subject: [PATCH] V4L: s5k6a3: Add DT binding documentation Date: Sun, 22 Dec 2013 22:27:00 +0100 Message-Id: <1387747620-24676-1-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.4.1 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-PMX-Version: 6.0.0.2142326, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2013.12.22.212115 X-PMX-Spam: Gauge=IIIIIIIII, Probability=9%, Report=' FORGED_FROM_GMAIL 0.1, MULTIPLE_RCPTS 0.1, HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_2000_2999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, CHILD_EX_X3 0, DKIM_SIGNATURE 0, URI_ENDS_IN_HTML 0, __ANY_URI 0, __CP_MEDIA_BODY 0, __CP_NAME_BODY 0, __CP_URI_IN_BODY 0, __FRAUD_WEBMAIL 0, __FRAUD_WEBMAIL_FROM 0, __FROM_GMAIL 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __HAS_X_MAILING_LIST 0, __MIME_TEXT_ONLY 0, __MULTIPLE_RCPTS_CC_X2 0, __PHISH_SPEAR_STRUCTURE_1 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_NS , __YOUTUBE_RCVD 0' This patch adds DT binding documentation for the Samsung S5K6A3(YX) raw image sensor. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park Acked-by: Mark Rutland --- This patch adds missing documentation [1] for the "samsung,s5k6a3" compatible. Rob, can you please merge it through your tree if it looks OK ? Thanks, Sylwester [1] http://www.spinics.net/lists/devicetree/msg10693.html Changes since v3 (https://linuxtv.org/patch/20429): - rephrased 'clocks' and 'clock-names' properties' description. --- .../devicetree/bindings/media/samsung-s5k6a3.txt | 33 ++++++++++++++++++++ 1 files changed, 33 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/samsung-s5k6a3.txt diff --git a/Documentation/devicetree/bindings/media/samsung-s5k6a3.txt b/Documentation/devicetree/bindings/media/samsung-s5k6a3.txt new file mode 100644 index 0000000..cce01e8 --- /dev/null +++ b/Documentation/devicetree/bindings/media/samsung-s5k6a3.txt @@ -0,0 +1,33 @@ +Samsung S5K6A3(YX) raw image sensor +--------------------------------- + +S5K6A3(YX) is a raw image sensor with MIPI CSI-2 and CCP2 image data interfaces +and CCI (I2C compatible) control bus. + +Required properties: + +- compatible : "samsung,s5k6a3"; +- reg : I2C slave address of the sensor; +- svdda-supply : core voltage supply; +- svddio-supply : I/O voltage supply; +- afvdd-supply : AF (actuator) voltage supply; +- gpios : specifier of a GPIO connected to the RESET pin; +- clocks : should contain list of phandle and clock specifier pairs + according to common clock bindings for the clocks described + in the clock-names property; +- clock-names : should contain "extclk" entry for the sensor's EXTCLK clock; + +Optional properties: + +- clock-frequency : the frequency at which the "extclk" clock should be + configured to operate, in Hz; if this property is not + specified default 24 MHz value will be used. + +The common video interfaces bindings (see video-interfaces.txt) should be +used to specify link to the image data receiver. The S5K6A3(YX) device +node should contain one 'port' child node with an 'endpoint' subnode. + +Following properties are valid for the endpoint node: + +- data-lanes : (optional) specifies MIPI CSI-2 data lanes as covered in + video-interfaces.txt. The sensor supports only one data lane.