From patchwork Wed Dec 3 16:06:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacek Anaszewski X-Patchwork-Id: 5431871 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7DCACBEEA8 for ; Wed, 3 Dec 2014 16:10:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D9FC420373 for ; Wed, 3 Dec 2014 16:10:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0A6D120172 for ; Wed, 3 Dec 2014 16:10:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753361AbaLCQJx (ORCPT ); Wed, 3 Dec 2014 11:09:53 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:26811 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751944AbaLCQJu (ORCPT ); Wed, 3 Dec 2014 11:09:50 -0500 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NG000E0HKV18B90@mailout2.samsung.com>; Thu, 04 Dec 2014 01:09:01 +0900 (KST) X-AuditID: cbfee61b-f79d76d0000024d6-b2-547f359ce172 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 3A.CE.09430.C953F745; Thu, 04 Dec 2014 01:09:00 +0900 (KST) Received: from AMDC2362.DIGITAL.local ([106.120.53.23]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NG000LO7KRKV100@mmp2.samsung.com>; Thu, 04 Dec 2014 01:09:00 +0900 (KST) From: Jacek Anaszewski To: linux-leds@vger.kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kyungmin.park@samsung.com, b.zolnierkie@samsung.com, pavel@ucw.cz, cooloney@gmail.com, rpurdie@rpsys.net, sakari.ailus@iki.fi, s.nawrocki@samsung.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, Jacek Anaszewski , devicetree@vger.kernel.org Subject: [PATCH/RFC v9 17/19] DT: Add documentation for exynos4-is 'flashes' property Date: Wed, 03 Dec 2014 17:06:52 +0100 Message-id: <1417622814-10845-18-git-send-email-j.anaszewski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1417622814-10845-1-git-send-email-j.anaszewski@samsung.com> References: <1417622814-10845-1-git-send-email-j.anaszewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrLLMWRmVeSWpSXmKPExsVy+t9jQd05pvUhBn8OWllsnLGe1eLozolM FvOPnGO16H+zkNXi3KuVjBa9V58zWpxtesNucXnXHDaLrW/WMVr0bNjKarH0+kUmi7unjrJZ TJi+lsWide8Rdovdu56yWhx+085qcWb/SjYHQY8189Ywelzu62Xy2DnrLrvHyuVf2DwOf13I 4rFpVSebx575P1g9+rasYvRYsfo7u8fnTXIBXFFcNimpOZllqUX6dglcGdsfPWEteM5TcXXp NrYGxidcXYycHBICJhJ3L7WyQ9hiEhfurWfrYuTiEBKYziix49EeZginnUmi5f8LRpAqNgFD iZ8vXjN1MXJwiAhES1w6Vg9Swyxwl0li3oZvYDXCAuESm5avYwKxWQRUJVat2s4GYvMKeEo8 u3yPFaRXQkBBYs4kG5AwJ1D46Y/77CBhIQEPiYMT/Scw8i5gZFjFKJpakFxQnJSea6RXnJhb XJqXrpecn7uJERzoz6R3MK5qsDjEKMDBqMTDaxFXFyLEmlhWXJl7iFGCg1lJhPfZN6AQb0pi ZVVqUX58UWlOavEhRmkOFiVx3hs3c0OEBNITS1KzU1MLUotgskwcnFINjEIt/rKT9tqvL5P8 9NdHofL6jt+W2vG5x6bni/F4TzvC2Cjy/YYi5+JMzbbAutDHi0/eNNT8ck8+LOHTAqmpDlUd wfy6n7LO7jp6dv9lG/PGXxOeRkhyLjd2VrGqMONbu+zzIveGaafEHrNNO3El8+y9bjXpdGmJ gOo1fFmck55MWWwaV/EmXYmlOCPRUIu5qDgRAIx9BVJwAgAA 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 Cc: --- .../devicetree/bindings/media/samsung-fimc.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/media/samsung-fimc.txt b/Documentation/devicetree/bindings/media/samsung-fimc.txt index 922d6f8..22a6b2f 100644 --- a/Documentation/devicetree/bindings/media/samsung-fimc.txt +++ b/Documentation/devicetree/bindings/media/samsung-fimc.txt @@ -40,6 +40,12 @@ 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 flash LED devices, or their sub-nodes + representing sub-leds. + (see Documentation/devicetree/bindings/leds/common.txt) + The 'camera' node must include at least one 'fimc' child node. @@ -166,6 +172,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>;