From patchwork Mon Jun 8 09:02:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacek Anaszewski X-Patchwork-Id: 6563711 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 7A071C0433 for ; Mon, 8 Jun 2015 09:03:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ADD712051C for ; Mon, 8 Jun 2015 09:03:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B1A822054A for ; Mon, 8 Jun 2015 09:03:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753103AbbFHJDc (ORCPT ); Mon, 8 Jun 2015 05:03:32 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:37891 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932407AbbFHJDZ (ORCPT ); Mon, 8 Jun 2015 05:03:25 -0400 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NPM018MBBTC6RD0@mailout2.samsung.com>; Mon, 08 Jun 2015 18:03:12 +0900 (KST) X-AuditID: cbfee61b-f79416d0000014c0-98-55755a5093a9 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id CC.F3.05312.05A55755; Mon, 8 Jun 2015 18:03:12 +0900 (KST) Received: from AMDC2362.DIGITAL.local ([106.120.53.23]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NPM001AYBS2ERZ0@mmp2.samsung.com>; Mon, 08 Jun 2015 18:03:12 +0900 (KST) From: Jacek Anaszewski To: linux-leds@vger.kernel.org, linux-media@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 , devicetree@vger.kernel.org Subject: [PATCH v10 7/8] DT: Add documentation for exynos4-is 'flashes' property Date: Mon, 08 Jun 2015 11:02:24 +0200 Message-id: <1433754145-12765-8-git-send-email-j.anaszewski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1433754145-12765-1-git-send-email-j.anaszewski@samsung.com> References: <1433754145-12765-1-git-send-email-j.anaszewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrCLMWRmVeSWpSXmKPExsVy+t9jQd2AqNJQg56P4hZHd05ksph/5Byr Re/V54wWZ5vesFtsfbOO0aJnw1ZWi7unjrJZ7N71lNXi8Jt2Vosz+1eyOXB57Jx1l93j8NeF LB575v9g9ejbsorRY8Xq7+wenzfJBbBFcdmkpOZklqUW6dslcGX0bPnIWjCLt2LZs1dMDYwd 3F2MHBwSAiYSnVfyuhg5gUwxiQv31rN1MXJxCAlMZ5Rofn+aEcL5ySixquExI0gVm4ChxM8X r5lAbBEBa4lZh6azgNjMAmcYJf7t0waxhQUCJKYfeA0WZxFQlXj2YAobyDJeAQ+JdY85IfYq SMyZZANSwSngKbG/eT8TSFgIqGL9xKAJjLwLGBlWMYqmFiQXFCel5xrpFSfmFpfmpesl5+du YgSH3TPpHYyrGiwOMQpwMCrx8B5YVBIqxJpYVlyZe4hRgoNZSYSXyaI0VIg3JbGyKrUoP76o NCe1+BCjNAeLkjjvyXyfUCGB9MSS1OzU1ILUIpgsEwenVANjv7Pn+7DjJzZc1Fi9aM7qXz9s KqwsBVn7LWwOdbd9Urj+58rx6Cyv9MuuqU4Z1VqXpa5OUjrz3G61kUxhdWOAuMaHQPnl+Vc/ HdD+LWsvXrBp3+WDRpeEeZjMTooGnrNYeTtV5Nn70/YGj+e6rQs6esLejYnvjmbmrDCnHUUl P7MPlXRfOK2jxFKckWioxVxUnAgA8mtDIzcCAAA= 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 Cc: devicetree@vger.kernel.org Acked-by: Bryan Wu --- .../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>;