Received: by 10.223.185.116 with SMTP id b49csp2418528wrg; Mon, 5 Mar 2018 02:30:17 -0800 (PST) X-Google-Smtp-Source: AG47ELsZZ+3PawFL8UMcgLu0hWQ8IErS1m57aFMx14UozSYdVGEoqKOXDfFgGPL4YUVIa2u9rCVI X-Received: by 10.99.110.131 with SMTP id j125mr11955322pgc.382.1520245817292; Mon, 05 Mar 2018 02:30:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520245817; cv=none; d=google.com; s=arc-20160816; b=hqnfm3iN37jNGxVQN/cce+XFtzUIdEUJPPBFcdR/jrNfOuQDMZItGEzBU1PDx3R1H9 D41BXREASGi03qxOR6Vmt0zebd36dFVEMkOZea0fjb5/SWq0LISc049CaEgUmA19jXDa B4NebDeMRTIuOCZTNjohyU1Sg2lsYscWcQo/V8hFbWteVxbQsUjYamemjHYzE+CxBG5G F0oM3mG3DQ8GsI7ptckXneeCTEgpc5Pu0C0m0aB5ervAQ/aWStzdR14QtWEsMXitI4Sc UarSAOFo2UiIOYPuq6/Xv+ZNjN25WCgeUktvypLdgWLj6FYcROQpHG1WJScqkAseOl// RTig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=h1cvZos0IHhs6g85SSQaTRZejEeHMG+uilwcFt37ups=; b=WHky+54wEz+LF9xSGO5d6AFUsrC24iTh4fV6+Bu88+GTuqGIWNUEF1PCQuOTC8sHs3 pq93qjNqBfRr0NBfs4HROUxwrN4PuTUJq4DUQFoF2PIODNStL0+IZW/w1fzzCLLcrILp fUjpFU0PzkIgtieoBgNJFdDdsqL/S/YZ0eUnM9KZ7HCfmo/XuLqal8HVbnOM/VeJAHyt GcsWB/+KKnFN3LCXfNkVMK0zO5F8oeK9wLxMVNTgsGZaGixEUJyTPXgOYv5PHMpiSmq7 NN3ryvVj46c9rwQF7uswmrt41zrxufkFXJvQi+UpYwc81JJ5r4xcc4l2SMibSgUAXFIE UKew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QbDSoJWE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i63si10013361pfj.365.2018.03.05.02.30.03; Mon, 05 Mar 2018 02:30:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QbDSoJWE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933419AbeCEKWp (ORCPT + 99 others); Mon, 5 Mar 2018 05:22:45 -0500 Received: from mail-qk0-f193.google.com ([209.85.220.193]:36057 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933054AbeCEKWl (ORCPT ); Mon, 5 Mar 2018 05:22:41 -0500 Received: by mail-qk0-f193.google.com with SMTP id d206so19942978qkb.3; Mon, 05 Mar 2018 02:22:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=h1cvZos0IHhs6g85SSQaTRZejEeHMG+uilwcFt37ups=; b=QbDSoJWEQwcj797myCuLWI0lNIai+mb5OVkdkg5P4NrVdsVTGatFkZ28iWjnk5OXuI BIITHtgEdOtFNMQGXjE9c5E/y/1+IM11fPhvcgJX/ahSDsLEZMcTmpLc0VeIPmdLDeG9 4GKcvPHMMZDom3+cZ2sB0zpKFF/8lYpt2gUijR4E+upxSAaHmaWooymNng6Fdje/WteD 4dVsJfBNB9/eMxeXrnVNn5d9zYN5vKX2L9X7tSn23zo9amQhEF+Nt68FjevSNOwDeE1e UuyBDnTVHHHFe1Cfl5Bk7EnDR0rqano/y6QJfw//SKxmsB2oOff44Ph2ZvkXrOW/P7gJ im+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=h1cvZos0IHhs6g85SSQaTRZejEeHMG+uilwcFt37ups=; b=dZxQiA40/TOfI0pywmHby85FspUWWF88iYLdZKFUC8ieWg4wdaQ1IKh/9skoEKlagp qh+NRMpsbTZgTVE9QcxExqtTv/nVQOpSpDcgdK5xZylNcreWanHHkZd8cpq2Zq/JTiuv AMWwawmnHbg2ypkj4CSNIcZP9KiuyLnzEO+TfkO9mNQv0xIi7edivb+FgXLLFdxNgRyu GTTUd2XTOvZ+l+T+PF6hekFTYQZDp4eUtITpOeXiFZuVre22reKGyt4hvDIOMgdvZKDu H8J/SkK2ihoT2pEzyxU1t69TTjXD+kr+pgmVjBHWbrgS58EhatiSuYzIQ4ADA5EMv380 0a0g== X-Gm-Message-State: AElRT7HAGr/fQ9B5ysNy3JZStkvFW0byVWedx9+1L6oRVaJhH0RL41rQ etZ/FLQw7CaWo/xaMNBTgb2gyMX+xzy9CgEtf3c= X-Received: by 10.55.155.19 with SMTP id d19mr20641732qke.193.1520245360253; Mon, 05 Mar 2018 02:22:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.64.205 with HTTP; Mon, 5 Mar 2018 02:22:39 -0800 (PST) In-Reply-To: <20180302035102.10084-4-jeffy.chen@rock-chips.com> References: <20180302035102.10084-1-jeffy.chen@rock-chips.com> <20180302035102.10084-4-jeffy.chen@rock-chips.com> From: Enric Balletbo Serra Date: Mon, 5 Mar 2018 11:22:39 +0100 Message-ID: Subject: Re: [PATCH v3 3/3] arm64: dts: rockchip: Avoid wakeup when inserting the pen To: Jeffy Chen Cc: linux-kernel , Brian Norris , =?UTF-8?Q?Heiko_St=C3=BCbner?= , Dmitry Torokhov , Doug Anderson , Matthias Kaehlcke , "devicetree@vger.kernel.org" , Arnd Bergmann , Mark Yao , Brian Norris , "open list:ARM/Rockchip SoC..." , Rob Herring , Linux ARM , Will Deacon , Emil Renner Berthing , Mark Rutland , Catalin Marinas Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jeffy, Thanks for the patch. 2018-03-02 4:51 GMT+01:00 Jeffy Chen : > Add wakeup event action for Pen Insert gpio key, to avoid wakeup when > inserting the pen. > > Signed-off-by: Jeffy Chen > --- > > Changes in v3: None > Changes in v2: > Specify wakeup event action instead of irq trigger type as Brian > suggested. > > arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts b/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts > index 191a6bcb1704..ef2de0057c5c 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts > +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts > @@ -134,6 +134,8 @@ > gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; > linux,code = ; > linux,input-type = ; > + /* Wakeup only when ejecting */ > + wakeup-event-action = ; > wakeup-source; > }; > }; > -- > 2.11.0 > > Works as expected on my Kevin Tested-by: Enric Balletbo i Serra