From patchwork Thu Oct 17 18:06:46 2013 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: 3062811 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 96C0DBF924 for ; Thu, 17 Oct 2013 18:09:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F2DE1204D2 for ; Thu, 17 Oct 2013 18:09:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BA8F920394 for ; Thu, 17 Oct 2013 18:09:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759000Ab3JQSI7 (ORCPT ); Thu, 17 Oct 2013 14:08:59 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:29104 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758168Ab3JQSI6 (ORCPT ); Thu, 17 Oct 2013 14:08:58 -0400 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MUT00DASRPPYW50@mailout4.samsung.com>; Fri, 18 Oct 2013 03:08:13 +0900 (KST) X-AuditID: cbfee61b-b7f776d0000016c8-4b-5260278deb20 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 41.88.05832.D8720625; Fri, 18 Oct 2013 03:08:13 +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 <0MUT00GDGRNV0330@mmp2.samsung.com>; Fri, 18 Oct 2013 03:08:13 +0900 (KST) From: Sylwester Nawrocki To: linux-media@vger.kernel.org Cc: kyungmin.park@samsung.com, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, Sylwester Nawrocki Subject: [PATCH v3 1/6] V4L: s5k6a3: Add DT binding documentation Date: Thu, 17 Oct 2013 20:06:46 +0200 Message-id: <1382033211-32329-2-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1382033211-32329-1-git-send-email-s.nawrocki@samsung.com> References: <1382033211-32329-1-git-send-email-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrFJMWRmVeSWpSXmKPExsVy+t9jQd1e9YQgg6nnVCzmHznHanG26Q27 Rc+GrawWM87vY7I4/Kad1YHVo2/LKkaPz5vkApiiuGxSUnMyy1KL9O0SuDI+L1zFXNAgUDH/ 8AGmBsaVvF2MnBwSAiYSvQ/Ws0PYYhIX7q1n62Lk4hASmM4o0f7mAAuE08EksaH1GRNIFZuA oUTv0T5GEFtEQF7iSe8NsA5mgW5GiZk39rCBJIQFHCW+bW1nAbFZBFQlFjycxdzFyMHBK+Am cfN6PIgpIaAgMWeSDUgFp4C7xKUJm8FGCgFVXOnvZ53AyLuAkWEVo2hqQXJBcVJ6rpFecWJu cWleul5yfu4mRnCIPJPewbiqweIQowAHoxIP74Fv8UFCrIllxZW5hxglOJiVRHhbhROChHhT EiurUovy44tKc1KLDzFKc7AoifMebLUOFBJITyxJzU5NLUgtgskycXBKNTBOMTqlx1kjpHTy H2t+ilOUbZbTFtneUvsqRsFNAUcDt++c3Lfia+jS2X9Tv50ouLLz01UtV8PguEmcPyJshD3e dx1/9kfzoEnix9tnX8d9vKjAWLhuzheJSWw7wr09Iy+ePX06d/eZN1r8QrN33dGQ2nI5uO6K 3vpt7uLyHR8KDhYUSTeIc1cosRRnJBpqMRcVJwIAqv/yDA0CAAA= 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=-7.3 required=5.0 tests=BAYES_00, 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 Signed-off-by: Kyungmin Park --- Changes since v2: - added AF regulator supply. --- .../devicetree/bindings/media/samsung-s5k6a3.txt | 32 ++++++++++++++++++++ 1 file changed, 32 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..3806e77 --- /dev/null +++ b/Documentation/devicetree/bindings/media/samsung-s5k6a3.txt @@ -0,0 +1,32 @@ +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 the sensor's EXTCLK clock specifier, + from common clock bindings; +- clock-names : should contain "extclk" entry; + +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.