From patchwork Tue Oct 21 14:30:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 39155 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3DA76202DB for ; Tue, 21 Oct 2014 14:31:27 +0000 (UTC) Received: by mail-wg0-f70.google.com with SMTP id a1sf923855wgh.1 for ; Tue, 21 Oct 2014 07:31:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=2LpJ5Xy4I+C1L2e/SiYJcLp7laXEHlHNY+HIJWD9j74=; b=LWgmYyouXZwFTH0tjmyAggQyDc8nP5MTJOMCRNNtGnp/LxyCGyNmG/3d/hcmQCt3RK o8N+s1gLAX7PTXg6mpru+VxFuMp7t+MEpOJRd/OtpWbd4Wm0Psrs9zc2N/tyB7jm0gvY qXWM1xF1cERRqeZHy//oGwbwCnYBMARsKiFdvZBHDrnSco8pgl6dMKkPbldJkIHtG8eS yu2IIbbSWsF26GfEn/L/8M3eYLqDJfZry58Wv0lIdrngAYjnaoezrwja5C8cbvhHszgB WzS5EIW1uGgZ8Bt6+0cCfgFy0NJ0I9hv4VJo1YaXXG5Bm9Xbpx5vg7mIrMpdxPB6gNdb q6Rw== X-Gm-Message-State: ALoCoQk+Vo5ioTplVQITNVoqFOjoMC+ynfUWErlKZOf5lVhQ9en4AUrVrjVLDYTKm3jnFDLBTPs0 X-Received: by 10.180.105.74 with SMTP id gk10mr4427024wib.0.1413901886353; Tue, 21 Oct 2014 07:31:26 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.23.74 with SMTP id k10ls66194laf.6.gmail; Tue, 21 Oct 2014 07:31:26 -0700 (PDT) X-Received: by 10.152.28.134 with SMTP id b6mr36046452lah.12.1413901886036; Tue, 21 Oct 2014 07:31:26 -0700 (PDT) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id cy2si19262351lac.26.2014.10.21.07.31.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Oct 2014 07:31:25 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by mail-la0-f43.google.com with SMTP id mc6so1179648lab.30 for ; Tue, 21 Oct 2014 07:31:25 -0700 (PDT) X-Received: by 10.112.167.38 with SMTP id zl6mr35078951lbb.34.1413901885255; Tue, 21 Oct 2014 07:31:25 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp509081lbz; Tue, 21 Oct 2014 07:31:24 -0700 (PDT) X-Received: by 10.70.61.161 with SMTP id q1mr36235242pdr.16.1413901882768; Tue, 21 Oct 2014 07:31:22 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id yk7si11344859pab.135.2014.10.21.07.31.22 for ; Tue, 21 Oct 2014 07:31:22 -0700 (PDT) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932905AbaJUObU (ORCPT + 5 others); Tue, 21 Oct 2014 10:31:20 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:50678 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932798AbaJUObT (ORCPT ); Tue, 21 Oct 2014 10:31:19 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s9LEUuXj028749; Tue, 21 Oct 2014 09:30:56 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s9LEUu4W009517; Tue, 21 Oct 2014 09:30:56 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.174.1; Tue, 21 Oct 2014 09:30:55 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s9LEUt0o027401; Tue, 21 Oct 2014 09:30:55 -0500 From: Nishanth Menon To: Tony Lindgren CC: , , , , Nishanth Menon Subject: [PATCH 2/3] ARM: dts: dra72-evm: Add power button node Date: Tue, 21 Oct 2014 09:30:47 -0500 Message-ID: <1413901848-32268-3-git-send-email-nm@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1413901848-32268-1-git-send-email-nm@ti.com> References: <1413901848-32268-1-git-send-email-nm@ti.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: nm@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , With Commit adff5962fdd2 ("Input: introduce palmas-pwrbutton"), we can now support tps power button as a event source - This is SW7 (PB/WAKE) on the J6-evm. Signed-off-by: Nishanth Menon --- arch/arm/boot/dts/dra72-evm.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/dra72-evm.dts b/arch/arm/boot/dts/dra72-evm.dts index 671e473..1242a17 100644 --- a/arch/arm/boot/dts/dra72-evm.dts +++ b/arch/arm/boot/dts/dra72-evm.dts @@ -145,6 +145,14 @@ }; }; }; + + tps65917_power_button { + compatible = "ti,palmas-pwrbutton"; + interrupt-parent = <&tps65917>; + interrupts = <1 IRQ_TYPE_NONE>; + wakeup-source; + ti,palmas-long-press-seconds = <6>; + }; }; };