From patchwork Fri Jul 11 14:04:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacek Anaszewski X-Patchwork-Id: 4534391 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 310EC9F4BC for ; Fri, 11 Jul 2014 14:06:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7DF07201D3 for ; Fri, 11 Jul 2014 14:06:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C167C20256 for ; Fri, 11 Jul 2014 14:06:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754931AbaGKOFy (ORCPT ); Fri, 11 Jul 2014 10:05:54 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:59491 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754924AbaGKOFu (ORCPT ); Fri, 11 Jul 2014 10:05:50 -0400 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N8J00GUYWHO2140@mailout4.samsung.com>; Fri, 11 Jul 2014 23:05:48 +0900 (KST) X-AuditID: cbfee61a-f79e46d00000134f-d0-53bfef3c894f Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 88.97.04943.C3FEFB35; Fri, 11 Jul 2014 23:05:48 +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 <0N8J00JI5WF7VM80@mmp2.samsung.com>; Fri, 11 Jul 2014 23:05:48 +0900 (KST) From: Jacek Anaszewski To: linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kyungmin.park@samsung.com, b.zolnierkie@samsung.com, Jacek Anaszewski , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala Subject: [PATCH/RFC v4 20/21] DT: Add documentation for the Skyworks AAT1290 Date: Fri, 11 Jul 2014 16:04:23 +0200 Message-id: <1405087464-13762-21-git-send-email-j.anaszewski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1405087464-13762-1-git-send-email-j.anaszewski@samsung.com> References: <1405087464-13762-1-git-send-email-j.anaszewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrILMWRmVeSWpSXmKPExsVy+t9jQV2b9/uDDU7tULTYOGM9q8X8I+dY LfrfLGS1OPdqJaNF79XnjBZnm96wW1zeNYfNYuubdYwWPRu2slosvX6RyWLC9LUsFq17j7A7 8HismbeG0eNyXy+Tx8rlX9g8Nq3qZPPo27KK0ePzJrkAtigum5TUnMyy1CJ9uwSujO5t31kK fnBVLP09gbWBcTZnFyMnh4SAicSyRweYIWwxiQv31rN1MXJxCAlMZ5SYNmUilNPOJHH4yFNG kCo2AUOJny9eM4HYIgLlEj3vn4EVMQssZpKY2vMCyOHgEBbwkejuKwOpYRFQlXjQfYgdxOYV 8JT4u24hO0iJhICCxJxJNiBhTqDwwf6bbCC2kICHxMO1J9gnMPIuYGRYxSiaWpBcUJyUnmuo V5yYW1yal66XnJ+7iREckM+kdjCubLA4xCjAwajEw6uwfl+wEGtiWXFl7iFGCQ5mJRHeq2/2 BwvxpiRWVqUW5ccXleakFh9ilOZgURLnPdBqHSgkkJ5YkpqdmlqQWgSTZeLglGpgZEmqfl12 6mrYxG3PN1QpMXQlHnHQ/nros77Rcf1sE9Yva7dELnYU7u1+ulJq3lMNx68Rz8/89PUMkTW5 MWGnXrTz6YK8xbxfVY7EHb7JMP3aKj027u9x7zafZ41hPCa2aNsRIwu17ns1Dv+iVSI39W+p KrYye7PPp8t9o7tW1UcdNbsc0Z5NSizFGYmGWsxFxYkAme80EUQCAAA= Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 device tree binding documentation for 1.5A Step-Up Current Regulator for Flash LEDs. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala --- .../devicetree/bindings/leds/leds-aat1290.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/leds-aat1290.txt diff --git a/Documentation/devicetree/bindings/leds/leds-aat1290.txt b/Documentation/devicetree/bindings/leds/leds-aat1290.txt new file mode 100644 index 0000000..9a9ad15 --- /dev/null +++ b/Documentation/devicetree/bindings/leds/leds-aat1290.txt @@ -0,0 +1,17 @@ +* Skyworks Solutions, Inc. AAT1290 Current Regulator for Flash LEDs + +Required properties: + +- compatible : should be "skyworks,aat1290" +- gpios : two gpio pins in order FLEN, EN/SET +- skyworks,flash-timeout : maximum flash timeout in microseconds - + it can be calculated using following formula: + T = 8.82 * 10^9 * Ct + +Example: + +flash_led: flash-led { + compatible = "skyworks,aat1290"; + gpios = <&gpj1 1 0>, <&gpj1 2 0>; + flash-timeout = <1940000>; +}