Received: by 10.223.185.116 with SMTP id b49csp95252wrg; Sat, 10 Feb 2018 03:12:24 -0800 (PST) X-Google-Smtp-Source: AH8x227qpPHqFXTaWFXUsHkPMWaveUz7HfwWdghxtXFwQLDHcmO9xsiTttiFA4Ye15LSzzbOxceP X-Received: by 2002:a17:902:d83:: with SMTP id 3-v6mr5331996plv.82.1518261143984; Sat, 10 Feb 2018 03:12:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518261143; cv=none; d=google.com; s=arc-20160816; b=mWAsMPSxPVCT1m/W5o5fW+Mb9FypFfzuk+Goc0nn3GquL6cy5H4FK6ATZMNKThOMrt DO0kzCnqwAMddOQPTYr+4IAD2eso7o5sDEVn/FznK47C65zkPb4ralunl+lpny5cafeZ vbkbtauicumHf17lEBvmFRXetCbmjP7wUddrW6yXB0iLWV1xM01n1EDQiJVQ4CpIKoLn yO8jFYnSeG6YVRbm7cf9gwUrS/Ix6m3TzsB2eipagonhr78p7OPCD3naHkmWKhGhiwuv W5T2VSsct6to2giASY0EB2Mh4Z1JYI5FP/IxUJT376W9R0XPmVDvMMRoh9TjnyouzeB0 NHcw== 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=xD2VxpnjFgzqilkXze/BsmLbnSyEPeOjlg8dtJfram4=; b=ehQbM3439aJ9ewxjftnpYtdx2QuNpmWg9e+uUbv60XzRs6UE7eWoImjWJ+G1iAQxhf 6mCltGO4E8trvqkJkldVut7q6ucdflP2NEWbZ8P8IRhjuZn/JFiA2gPoRZk00/a7OI2C K2lOssBepNCOU3RBFhXluKYfzb6hNpsFJy+R5rEnCrVQkB1Q+ozF1h4oekwajWIBGfLH XeaT5GeJ7OIQac2kAALpUr2BBqwsei47uBzSLeDwRu1twskCVUtLclbwu7HKJMMLfp6S DLbAJfeSd2UMJD02rgbkNXOkx/Ld35NfiuBnty93QeWLURsenNR9z1EWCrubohuucZYw cDxQ== 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 i6-v6si1148175plr.802.2018.02.10.03.12.10; Sat, 10 Feb 2018 03:12:23 -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 S1752172AbeBJLLT (ORCPT + 99 others); Sat, 10 Feb 2018 06:11:19 -0500 Received: from regular1.263xmail.com ([211.150.99.138]:57861 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750942AbeBJLLS (ORCPT ); Sat, 10 Feb 2018 06:11:18 -0500 Received: from jeffy.chen?rock-chips.com (unknown [192.168.167.234]) by regular1.263xmail.com (Postfix) with ESMTP id DF677795F; Sat, 10 Feb 2018 19:11:13 +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 1859236B; Sat, 10 Feb 2018 19:10:54 +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: <7c08eb103ec574ce43e27d867235501b> 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 14776X7C0LJ; Sat, 10 Feb 2018 19:11:11 +0800 (CST) From: Jeffy Chen To: linux-kernel@vger.kernel.org Cc: briannorris@google.com, dtor@google.com, dianders@google.com, Jeffy Chen , Matthias Kaehlcke , devicetree@vger.kernel.org, Arnd Bergmann , Emil Renner Berthing , Heiko Stuebner , Brian Norris , linux-rockchip@lists.infradead.org, Rob Herring , Dmitry Torokhov , linux-arm-kernel@lists.infradead.org, Will Deacon , Mark Rutland , Catalin Marinas Subject: [PATCH v2 3/3] arm64: dts: rockchip: Avoid wakeup when inserting the pen Date: Sat, 10 Feb 2018 19:09:07 +0800 Message-Id: <20180210110907.5504-4-jeffy.chen@rock-chips.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180210110907.5504-1-jeffy.chen@rock-chips.com> References: <20180210110907.5504-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 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