From patchwork Thu Feb 20 19:40:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sylwester Nawrocki/Kernel \\(PLT\\) /SRPOL/Staff Engineer/Samsung Electronics" X-Patchwork-Id: 3689311 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 922B3BF13A for ; Thu, 20 Feb 2014 19:41:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B7FCF20149 for ; Thu, 20 Feb 2014 19:41:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8B74C20179 for ; Thu, 20 Feb 2014 19:41:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753755AbaBTTlF (ORCPT ); Thu, 20 Feb 2014 14:41:05 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:19270 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753587AbaBTTlD (ORCPT ); Thu, 20 Feb 2014 14:41:03 -0500 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N1B0044980DAP60@mailout1.samsung.com>; Fri, 21 Feb 2014 04:41:01 +0900 (KST) X-AuditID: cbfee61a-b7fb26d00000724f-c0-53065a4d9fb0 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id C9.35.29263.D4A56035; Fri, 21 Feb 2014 04:41:01 +0900 (KST) Received: from amdc1344.digital.local ([106.116.147.32]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N1B00BU37ZVIS60@mmp2.samsung.com>; Fri, 21 Feb 2014 04:41:01 +0900 (KST) From: Sylwester Nawrocki To: linux-media@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, robh+dt@kernel.org, mark.rutland@arm.com, galak@codeaurora.org, kyungmin.park@samsung.com, kgene.kim@samsung.com, a.hajda@samsung.com, Sylwester Nawrocki Subject: [PATCH v4 01/10] Documentation: dt: Add DT binding documentation for S5K6A3 image sensor Date: Thu, 20 Feb 2014 20:40:28 +0100 Message-id: <1392925237-31394-3-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1392925237-31394-1-git-send-email-s.nawrocki@samsung.com> References: <1392925237-31394-1-git-send-email-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrNLMWRmVeSWpSXmKPExsVy+t9jQV3fKLZgg6cdBha31p1jtZh/BEj0 v1nIatG74CqbxdmmN+wWmx5fY7Xo2bCV1WLG+X1MFkuvX2SyaN17hN3i8Jt2VgdujzXz1jB6 XO7rZfLYtKqTzWPzknqPvi2rGD0+b5ILYIvisklJzcksSy3St0vgyri74C9rwQXBioNzO5ga GK/ydTFyckgImEjcPfuAFcIWk7hwbz1bFyMXh5DAdEaJ93NusUA4HUwSS6/cBatiEzCU6D3a xwhiiwhYSxz/cIwdpIhZoJVJonPHTTaQhLBAssSByZPBilgEVCWW3+pmArF5Bdwkrpy6CRTn AFqnIDFnkg1ImFPAXWLK8YfMIGEhoJKL77UmMPIuYGRYxSiaWpBcUJyUnmuoV5yYW1yal66X nJ+7iREchM+kdjCubLA4xCjAwajEw3tCii1YiDWxrLgy9xCjBAezkghvkw1QiDclsbIqtSg/ vqg0J7X4EKM0B4uSOO+BVutAIYH0xJLU7NTUgtQimCwTB6dUA6NJx+XcrdNv1HrPMjZj26N/ NKy64pLq2VKzjdffn2F1m503UTzkbv6q2PMfuE/wc91pWLaQuzql9Pqk7ornf9LfbFojf9vi 7PnNp42TIvnLNFqDuy4vvrQrjSt2au7roLjKuR+dr7XxvzLzebCsq95vcU5m+Glvrrv+Zl+e pRT9lRb90r9aTViJpTgj0VCLuag4EQDcBNloPgIAAA== Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,KHOP_BIG_TO_CC, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, 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 This patch adds binding documentation for the Samsung S5K6A3(YX) raw image sensor. Signed-off-by: Sylwester Nawrocki Acked-by: Kyungmin Park Acked-by: Mark Rutland --- Changes since v3: -none. Changes since v2: - rephrased 'clocks' and 'clock-names' properties' description; --- .../devicetree/bindings/media/samsung-s5k6a3.txt | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) 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.