From patchwork Fri Mar 20 15:03:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacek Anaszewski X-Patchwork-Id: 6057571 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 AEEFEBF90F for ; Fri, 20 Mar 2015 15:04:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E3EAD201FA for ; Fri, 20 Mar 2015 15:04:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E7B34200DC for ; Fri, 20 Mar 2015 15:04:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751973AbbCTPEU (ORCPT ); Fri, 20 Mar 2015 11:04:20 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:12914 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750801AbbCTPET (ORCPT ); Fri, 20 Mar 2015 11:04:19 -0400 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NLI00AOVN75B5B0@mailout3.samsung.com>; Sat, 21 Mar 2015 00:04:17 +0900 (KST) X-AuditID: cbfee61b-f79d76d0000024d6-f9-550c36f18a2c Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 56.20.09430.1F63C055; Sat, 21 Mar 2015 00:04:17 +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 <0NLI00EAZN5YFDD0@mmp1.samsung.com>; Sat, 21 Mar 2015 00:04:17 +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 Subject: [PATCH v1 09/11] DT: Add documentation for exynos4-is 'flashes' property Date: Fri, 20 Mar 2015 16:03:29 +0100 Message-id: <1426863811-12516-10-git-send-email-j.anaszewski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1426863811-12516-1-git-send-email-j.anaszewski@samsung.com> References: <1426863811-12516-1-git-send-email-j.anaszewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrGLMWRmVeSWpSXmKPExsVy+t9jAd2PZjyhBl+OqFgc3TmRyWL+kXOs Fr1XnzNanG16w26x9c06RoueDVtZLe6eOspmsXvXU1aLw2/aWS3O7F/J5sDlsXPWXXaPw18X snjsmf+D1aNvyypGjxWrv7N7fN4kF8AWxWWTkpqTWZZapG+XwJVxcf9KxoI73BUfD/czNzDe 5uxi5OSQEDCR+HWjjx3CFpO4cG89WxcjF4eQwCJGiS+vXjFCOO1MEld2bgSrYhMwlPj54jUT iC0iECnx7uglZpAiZoENjBKXJzSygCSEBYIl/j/vALI5OFgEVCXuHLEHCfMKeErM2bCVGSQs IaAgMWeSDYjJCRQ+sdMCpEJIwEPizJ0n7BMYeRcwMqxiFE0tSC4oTkrPNdIrTswtLs1L10vO z93ECA69Z9I7GFc1WBxiFOBgVOLhPVDKHSrEmlhWXJl7iFGCg1lJhNdJhSdUiDclsbIqtSg/ vqg0J7X4EKM0B4uSOK+SfVuIkEB6YklqdmpqQWoRTJaJg1OqgXFOTciO71Xt3EyPZk1a8/kF k08ET8qOZLb1To76L1O1uJfla000PdFSsCXp8MKGV38dN1YoR6xWP8z18w/rJGaJkgXhGY3T RBJ+B697Ma/1zCy5JwdWnGWY1Ff84e+XuFOcjbZ6p6ucbN9v49y1yPzm/o0X5ZsPfg/x1n0p 9r5Vtcvr+ATZKG8lluKMREMt5qLiRACVy5niOQIAAA== 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 --- .../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>;