From patchwork Mon Sep 22 15:22:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacek Anaszewski X-Patchwork-Id: 4948561 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 5EE109F32F for ; Mon, 22 Sep 2014 15:23:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1E84A2021A for ; Mon, 22 Sep 2014 15:23:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7CFA420115 for ; Mon, 22 Sep 2014 15:23:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754233AbaIVPXe (ORCPT ); Mon, 22 Sep 2014 11:23:34 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:40702 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753524AbaIVPXc (ORCPT ); Mon, 22 Sep 2014 11:23:32 -0400 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 <0NCB00H6O6R6KCB0@mailout4.samsung.com>; Tue, 23 Sep 2014 00:23:30 +0900 (KST) X-AuditID: cbfee61b-f79d76d0000024d6-69-54203ef2ef65 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id E6.24.09430.2FE30245; Tue, 23 Sep 2014 00:23:30 +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 <0NCB003W86QA6W90@mmp1.samsung.com>; Tue, 23 Sep 2014 00:23:30 +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, b.zolnierkie@samsung.com, Jacek Anaszewski , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala Subject: [PATCH/RFC v6 6/6] DT: Add documentation for the Skyworks AAT1290 Date: Mon, 22 Sep 2014 17:22:56 +0200 Message-id: <1411399376-16497-7-git-send-email-j.anaszewski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1411399376-16497-1-git-send-email-j.anaszewski@samsung.com> References: <1411399376-16497-1-git-send-email-j.anaszewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrNLMWRmVeSWpSXmKPExsVy+t9jAd1PdgohBtcXSVtsnLGe1WL+kXOs Fv1vFrJanHu1ktGi9+pzRouzTW/YLba+Wcdo0bNhK6vF0usXmSwmTF/LYtG69wi7A7fHmnlr GD0u9/Uyeaxc/oXNY9OqTjaPvi2rGD0+b5ILYIvisklJzcksSy3St0vgyuje9p2l4AdXxdLf E1gbGGdzdjFyckgImEgsPPmFFcIWk7hwbz1bFyMXh5DAIkaJ+9v/s0I47UwS/ad2s4FUsQkY Svx88ZoJxBYRiJR4d/QSM0gRs8BiJompPS/AioQFvCQuP/0AVMTBwSKgKrGpJRokzCvgIfHt 4k5WkLCEgILEnEk2ICangKfEzR51kAohoIr+Q1eYJzDyLmBkWMUomlqQXFCclJ5rpFecmFtc mpeul5yfu4kRHITPpHcwrmqwOMQowMGoxMP7o0U+RIg1say4MvcQowQHs5IIb5C0QogQb0pi ZVVqUX58UWlOavEhRmkOFiVx3oOt1oFCAumJJanZqakFqUUwWSYOTqkGxuDtbe6vp3JVzrrl viOgKWThj22WCtoZxdv99U61mfGxP9d+8O+Iq5m16mfZQ8EddneySl1/X1gW5dTzaln6LZY3 pvVG99ZfDv/y/uONzxPM+AU3h1u/bN2W6d399t7UpazcXw7br17+9mT1m8Rr0ucMrezXC80I EPMoOimnJCd2RNQlcH1TkxJLcUaioRZzUXEiAPbTb04+AgAA 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.9 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>; +}