Received: by 10.223.185.116 with SMTP id b49csp8251420wrg; Thu, 1 Mar 2018 21:08:30 -0800 (PST) X-Google-Smtp-Source: AG47ELsQ9MviW+P7YMYV9JLBtlIr3Fp0scqq7KcxdEEPUL8B20UFajra7XZASQTQ8O7O2A8o+Ysi X-Received: by 10.101.97.139 with SMTP id c11mr3492552pgv.439.1519967310135; Thu, 01 Mar 2018 21:08:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519967310; cv=none; d=google.com; s=arc-20160816; b=IlHHZbyREseHvyjB9TGncFBaoRohJbipc1ub2Y3qIHN02ozouiNBMIl+s3jj8hRcfU vf8uA8rI0JuR88uEo/eNqs6LobulaIzEuD7YY4eSNnfYsp2y8mt9Pj0dO0QzoLhDs944 TQcFXrwZQ2l84PAg3LN+dbHFBjknPcEBAGtWX6h93E46IdbarbucEgaBVFNXenZHCI6T XqVbwyuuylzq5I6kg6pkA0Op8vcWU1hxqc4jjaWjf1y5F7WEfkMFTFYkDNLbgbClA8Os 3ivOu4IsMigfq6pOcXG43wZYn9u2Ezy1DWtX/ST7MvUp7nKfdTaJhCqO6cqifGG6EM4k sy9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=lh67l2s5oFNxSmWx/0745Oj+iOpg0bukL1WXHVRnEHM=; b=FeB08O0J6Tf/CN5SCPbtE5qC6ymjdzAI3PWu7YfQBBzEg7qagZoMwi7aOZ5QVyagNm PW4Viys8AVeUmrBRZ1rxYszKb/smc078wWasyjCuVf1FOPYUND4ONaZMdGou4E+WewEh Zdeo/ldZ8Ao4eGny1fV4dksLIEl5OBhXf7fBhGogiJkD1+rHZX5gUhPPgHDnG9rzIceA YHCdKFbQbe288XMgjo8WkyM/Tl9GU5R1ce/AV7Q4dl8JfZ/QIG2Z+egbVYYmIVGtvByM cewvA+5LacSpdTEnuCRniG79EQM4GZTgdwFVir2uk9vMQUtBw4XRczQ+MrfR+KqoG2v7 8pRA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r26si3517471pge.50.2018.03.01.21.08.03; Thu, 01 Mar 2018 21:08:30 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1164726AbeCBDvy (ORCPT + 99 others); Thu, 1 Mar 2018 22:51:54 -0500 Received: from regular1.263xmail.com ([211.150.99.135]:33824 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1164683AbeCBDvv (ORCPT ); Thu, 1 Mar 2018 22:51:51 -0500 Received: from jeffy.chen?rock-chips.com (unknown [192.168.167.129]) by regular1.263xmail.com (Postfix) with ESMTP id 9DB3B1E323; Fri, 2 Mar 2018 11:51:45 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 Received: from localhost (localhost [127.0.0.1]) by smtp.263.net (Postfix) with ESMTPA id D1390331; Fri, 2 Mar 2018 11:51:40 +0800 (CST) X-RL-SENDER: jeffy.chen@rock-chips.com X-FST-TO: linux-kernel@vger.kernel.org X-SENDER-IP: 103.29.142.67 X-LOGIN-NAME: jeffy.chen@rock-chips.com X-UNIQUE-TAG: X-ATTACHMENT-NUM: 0 X-SENDER: cjf@rock-chips.com X-DNS-TYPE: 0 Received: from localhost (unknown [103.29.142.67]) by smtp.263.net (Postfix) whith ESMTP id 23835PRCBZ5; Fri, 02 Mar 2018 11:51:45 +0800 (CST) From: Jeffy Chen To: linux-kernel@vger.kernel.org Cc: briannorris@google.com, heiko@sntech.de, dtor@google.com, dianders@google.com, Jeffy Chen , Matthias Kaehlcke , devicetree@vger.kernel.org, Arnd Bergmann , Mark Yao , Brian Norris , linux-rockchip@lists.infradead.org, Rob Herring , linux-arm-kernel@lists.infradead.org, Will Deacon , Emil Renner Berthing , Mark Rutland , Catalin Marinas Subject: [PATCH v3 3/3] arm64: dts: rockchip: Avoid wakeup when inserting the pen Date: Fri, 2 Mar 2018 11:51:02 +0800 Message-Id: <20180302035102.10084-4-jeffy.chen@rock-chips.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180302035102.10084-1-jeffy.chen@rock-chips.com> References: <20180302035102.10084-1-jeffy.chen@rock-chips.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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