From patchwork Tue Aug 4 20:53:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthoine Bourgeois X-Patchwork-Id: 6944061 Return-Path: X-Original-To: patchwork-linux-omap@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 21C2FC05AC for ; Tue, 4 Aug 2015 20:51:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 59143205C6 for ; Tue, 4 Aug 2015 20:51:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3047E205C2 for ; Tue, 4 Aug 2015 20:51:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753963AbbHDUvs (ORCPT ); Tue, 4 Aug 2015 16:51:48 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:36525 "EHLO mail-wi0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752692AbbHDUvq (ORCPT ); Tue, 4 Aug 2015 16:51:46 -0400 Received: by wicgj17 with SMTP id gj17so166932852wic.1 for ; Tue, 04 Aug 2015 13:51:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fFJge42N1/YBv+UpFNFlcUM9NMouczuLNVERVTMByQ4=; b=xEwj+KlJfnpizCExxH/o6yAxsSjXMZOsAaLxHoReqMTe12/gPza+p5GlbMvmemNpii N11v5wkxOSqWZWCRPbIh7ZECctMj9+21afN//71oREex2TYKz33ONJo2pdiem+s2eJhk 2B4TBPbHdCLHy+SGpnfCMDvLJiQrt79t5TkhLjc/fjdrCg4zK9RIisw20D/ICy5nZ173 kYo5DWvxuhInYS9+zHRTaLcyq1eAedxty6E9k+OlLjpp7PZpuH/vHzcGVgMHu8CdQ1As /6R2txgkWp8P0vRol73tPrmeRef0rJv9KomUTxjOKsPLYcdwcMJ8OEBvAy+OU/lJn0fN iLsQ== X-Received: by 10.180.99.71 with SMTP id eo7mr12074007wib.25.1438721505652; Tue, 04 Aug 2015 13:51:45 -0700 (PDT) Received: from localhost.localdomain (cvl92-3-82-247-219-120.fbx.proxad.net. [82.247.219.120]) by smtp.gmail.com with ESMTPSA id fs8sm697631wjb.7.2015.08.04.13.51.45 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 04 Aug 2015 13:51:45 -0700 (PDT) From: Anthoine Bourgeois To: linux-omap@vger.kernel.org, Tony Lindgren , Benoit Cousson , Anil Kumar Cc: Anthoine Bourgeois Subject: [PATCH 2/7] ARM: dts: omap3-devkit8000: Add PMU stat support Date: Tue, 4 Aug 2015 22:53:27 +0200 Message-Id: <1438721612-7529-3-git-send-email-anthoine.bourgeois@gmail.com> X-Mailer: git-send-email 2.4.6 In-Reply-To: <1438721612-7529-1-git-send-email-anthoine.bourgeois@gmail.com> References: <1438721612-7529-1-git-send-email-anthoine.bourgeois@gmail.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 declares the LEDB usage to the PMU stat monitor. --- arch/arm/boot/dts/omap3-devkit8000.dts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-devkit8000.dts b/arch/arm/boot/dts/omap3-devkit8000.dts index 07b0f5a..96c7020 100644 --- a/arch/arm/boot/dts/omap3-devkit8000.dts +++ b/arch/arm/boot/dts/omap3-devkit8000.dts @@ -41,8 +41,12 @@ gpios = <&gpio6 4 GPIO_ACTIVE_HIGH>; /* 164 -> LED3 */ default-state = "on"; linux,default-trigger = "usr"; - }; + }; + pmu_stat { + label = "devkit8000::pmu_stat"; + gpios = <&twl_gpio 19 GPIO_ACTIVE_HIGH>; /* LEDB */ + }; }; sound { @@ -110,6 +114,16 @@ status = "disabled"; }; +&twl_gpio { + ti,use-leds; + /* + * pulldowns: + * BIT(1), BIT(2), BIT(6), BIT(7), BIT(8), BIT(13) + * BIT(15), BIT(16), BIT(17) + */ + ti,pulldowns = <0x03a1c6>; +}; + &wdt2 { status = "disabled"; };