From patchwork Mon May 25 15:14:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacek Anaszewski X-Patchwork-Id: 6475611 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 51BC29F1CC for ; Mon, 25 May 2015 15:15:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9065B203B6 for ; Mon, 25 May 2015 15:15:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 65720203E3 for ; Mon, 25 May 2015 15:14:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751040AbbEYPOm (ORCPT ); Mon, 25 May 2015 11:14:42 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:54964 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751960AbbEYPOk (ORCPT ); Mon, 25 May 2015 11:14:40 -0400 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NOW02DSOVOCDWC0@mailout1.samsung.com>; Tue, 26 May 2015 00:14:36 +0900 (KST) X-AuditID: cbfee61b-f79416d0000014c0-df-55633c5ef221 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 7E.E7.05312.E5C33655; Tue, 26 May 2015 00:14:38 +0900 (KST) Received: from AMDC2362.DIGITAL.local ([106.120.53.23]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NOW004EQVNH5790@mmp1.samsung.com>; Tue, 26 May 2015 00:14:38 +0900 (KST) From: Jacek Anaszewski To: linux-leds@vger.kernel.org, linux-media@vger.kernel.org Cc: devicetree@vger.kernel.org, kyungmin.park@samsung.com, pavel@ucw.cz, cooloney@gmail.com, rpurdie@rpsys.net, sakari.ailus@iki.fi, s.nawrocki@samsung.com, Jacek Anaszewski Subject: [PATCH v9 7/8] DT: Add documentation for exynos4-is 'flashes' property Date: Mon, 25 May 2015 17:14:02 +0200 Message-id: <1432566843-6391-8-git-send-email-j.anaszewski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1432566843-6391-1-git-send-email-j.anaszewski@samsung.com> References: <1432566843-6391-1-git-send-email-j.anaszewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrOLMWRmVeSWpSXmKPExsVy+t9jAd04m+RQg4uXLC2O7pzIZDH/yDlW i96rzxktzja9YbfY+mYdo0XPhq2sFndPHWWz2L3rKavF4TftrBZn9q9kc+Dy2DnrLrvH4a8L WTz2zP/B6tG3ZRWjx4rV39k9Pm+SC2CL4rJJSc3JLEst0rdL4Mo4176FqeAXT8XX+7+YGhhf c3UxcnJICJhIPFj5kw3CFpO4cG89kM3FISSwiFFizucJTBDOT0aJrkNTwKrYBAwlfr54zQRi iwhYS8w6NJ0FxGYWOMMoMW2qLYgtLOAvsX/iDrAaFgFViZ75rWA1vALuEqeX3QKawwG0TUFi ziQbkDCngIdEw8GvYCVCQCWXDk1knMDIu4CRYRWjaGpBckFxUnqukV5xYm5xaV66XnJ+7iZG cPA9k97BuKrB4hCjAAejEg9vREZSqBBrYllxZe4hRgkOZiUR3kST5FAh3pTEyqrUovz4otKc 1OJDjNIcLErivCfzfUKFBNITS1KzU1MLUotgskwcnFINjPK1jzf8XaBSb/LwDYdQ8ZOEn1u6 D26buXz2zfsK0y54JPXw1Oxu+nRPZPdhhtkXphtfOfNa5m7e1PNrDV2eHfrwO3R1422dC4fu Rjt2HQkr9Exl9H3tuV4jIHqz9aRTriWvk4S1+68Ftmg07ernWiqVWzVz1+T+GSbC8fsNt39y 80tX7VwwSVqJpTgj0VCLuag4EQDHahrOOgIAAA== Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_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 a description of 'samsung,camera-flashes' property to the samsung-fimc.txt. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Sylwester Nawrocki --- .../devicetree/bindings/media/samsung-fimc.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/media/samsung-fimc.txt b/Documentation/devicetree/bindings/media/samsung-fimc.txt index 922d6f8..0554cad 100644 --- a/Documentation/devicetree/bindings/media/samsung-fimc.txt +++ b/Documentation/devicetree/bindings/media/samsung-fimc.txt @@ -40,6 +40,14 @@ should be inactive. For the "active-a" state the camera port A must be activated and the port B deactivated and for the state "active-b" it should be the other way around. +Optional properties: + +- samsung,camera-flashes - Array of pairs of phandles to the camera sensor + devices and flash LEDs respectively. The pairs must reflect the board + configuration, i.e. a sensor has to be able to strobe a flash LED by + hardware. Flash LED is represented by a child node of a flash LED + device (see Documentation/devicetree/bindings/leds/common.txt). + The 'camera' node must include at least one 'fimc' child node. @@ -166,6 +174,8 @@ Example: clock-output-names = "cam_a_clkout", "cam_b_clkout"; pinctrl-names = "default"; pinctrl-0 = <&cam_port_a_clk_active>; + samsung,camera-flashes = <&rear_camera &rear_flash>, + <&front_camera &front_flash>; status = "okay"; #address-cells = <1>; #size-cells = <1>;