From patchwork Wed Feb 18 16:20:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacek Anaszewski X-Patchwork-Id: 5845251 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 0B929BF440 for ; Wed, 18 Feb 2015 16:26:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4384520225 for ; Wed, 18 Feb 2015 16:26:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F35C620253 for ; Wed, 18 Feb 2015 16:26:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752524AbbBRQ0b (ORCPT ); Wed, 18 Feb 2015 11:26:31 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:62629 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752519AbbBRQ0a (ORCPT ); Wed, 18 Feb 2015 11:26:30 -0500 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 <0NJZ00GH37043040@mailout4.samsung.com>; Thu, 19 Feb 2015 01:26:28 +0900 (KST) X-AuditID: cbfee61b-f79d76d0000024d6-09-54e4bd34f775 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 38.24.09430.43DB4E45; Thu, 19 Feb 2015 01:26:28 +0900 (KST) Received: from AMDC2362.DIGITAL.local ([106.120.53.23]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NJZ003WS6QJDJ20@mmp1.samsung.com>; Thu, 19 Feb 2015 01:26:27 +0900 (KST) From: Jacek Anaszewski To: linux-leds@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org Cc: kyungmin.park@samsung.com, pavel@ucw.cz, cooloney@gmail.com, rpurdie@rpsys.net, sakari.ailus@iki.fi, s.nawrocki@samsung.com, Jacek Anaszewski , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala Subject: [PATCH/RFC v11 18/20] DT: Add documentation for exynos4-is 'flashes' property Date: Wed, 18 Feb 2015 17:20:39 +0100 Message-id: <1424276441-3969-19-git-send-email-j.anaszewski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1424276441-3969-1-git-send-email-j.anaszewski@samsung.com> References: <1424276441-3969-1-git-send-email-j.anaszewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrMLMWRmVeSWpSXmKPExsVy+t9jAV2TvU9CDOae5LA4unMik8X8I+dY LfrfLGS1OPdqJaNF79XnjBZnm96wW2x9s47RomfDVlaLpdcvMlncPXWUzWLC9LUsFq17j7Bb 7N71lNXi8Jt2Vosz+1eyOfB7rJm3htHjcl8vk8fOWXfZPVYu/8LmcfjrQhaPTas62Tz2zP/B 6tG3ZRWjx4rV39k9Pm+SC+CK4rJJSc3JLEst0rdL4Mp4cvw1Y8FK3opFh2+yNzD2c3cxcnJI CJhIrF/2hx3CFpO4cG89WxcjF4eQwCJGibkfPrJCOO1MEke/TmIFqWITMJT4+eI1E4gtIhAp 8e7oJWaQImaBt0wSG/7/BBslLBAhMfn0XmYQm0VAVWLXic1AYzk4eAU8JFpny4KYEgIKEnMm 2YCYnEDRC889QIqFBNwlpt98xzqBkXcBI8MqRtHUguSC4qT0XCO94sTc4tK8dL3k/NxNjOCg fia9g3FVg8UhRgEORiUe3obfj0OEWBPLiitzDzFKcDArifDmrnwSIsSbklhZlVqUH19UmpNa fIhRmoNFSZxXyb4tREggPbEkNTs1tSC1CCbLxMEp1cA4mTvaXKi76mXhxQk7FktrH5783Gsf g9XS53quq5LvvBBezfR7c93phrhIb5GLt87USGnXLH66ss+i1/vej97HDdGCdqszMiUlmW9x nJ21+/PP/1s2pDVu8Z/unHwwaIn3po9NGXfZVwe86XQ7VH+Cde9rfT/hn3JaS6+ctp4aOKMq gv22QOBSJZbijERDLeai4kQAnjnMuWYCAAA= 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 'flashes' property to the samsung-fimc.txt. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Sylwester Nawrocki Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala --- .../devicetree/bindings/media/samsung-fimc.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/media/samsung-fimc.txt b/Documentation/devicetree/bindings/media/samsung-fimc.txt index 922d6f8..cb0e263 100644 --- a/Documentation/devicetree/bindings/media/samsung-fimc.txt +++ b/Documentation/devicetree/bindings/media/samsung-fimc.txt @@ -40,6 +40,13 @@ 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: + +- flashes - Array of phandles to the flash LEDs that can be controlled by the + sub-devices contained in this media device. 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 +173,7 @@ Example: clock-output-names = "cam_a_clkout", "cam_b_clkout"; pinctrl-names = "default"; pinctrl-0 = <&cam_port_a_clk_active>; + flashes = <&camera_flash>, <&system_torch>; status = "okay"; #address-cells = <1>; #size-cells = <1>;