Received: by 10.223.185.116 with SMTP id b49csp508498wrg; Fri, 23 Feb 2018 02:16:35 -0800 (PST) X-Google-Smtp-Source: AH8x224Dw+Wt6Jx5zqrJNZfbGv3OweOy9GUo0HIK2QczYU6EgSrnmjcXaOvG2OzZrlLh5LSICeUH X-Received: by 2002:a17:902:40e:: with SMTP id 14-v6mr1232293ple.64.1519380995678; Fri, 23 Feb 2018 02:16:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519380995; cv=none; d=google.com; s=arc-20160816; b=iipxbs+K0cBWhOtcr5Bi5bnMuH6zDxwbvtvrlsCP4kjXoNxDGqNwDVutxbTd44KA9b 6Ys8cj49KEdrqZ1MEPs5d2bMwMRgENN6MKMQJUHYdnqRxz/m+8xqLmhkb/kWLOgrzNKT LIkxU7aDUSXrBO1qG34ZnFD7AVasDuz1aAtwJjw1FMJKwFXyZh+Ifx2iO1kI1/gHlHBN AwSAESuiqGdg6IRPlHmsy+8X+WXcSYxaq4ZJKWDW8ItsKVzRMtCfmOQFvcWduF7Ejf/N bUEkG+UFHX8K+BKUe9hRMWkfbHCzooPtgKKzcGfz2YoQZ56iJ3rRg7ZzixGTaNoBBfx6 tczg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :references:subject:cc:to:mime-version:user-agent:from:date :message-id:arc-authentication-results; bh=0wYJIxxbYUOV5VymUcCeox3y2hkyB9w/rel0MApziO4=; b=BVWsSeqy0L70UEq8nsbR3Ls+y0rlIvp0iOuV/oYFfS2Imw67z6QDKl0p4LnSCzlLgi mpzJeRqrEf6Za3rve6L+zDrCq9ryw1CelU9X1PQSeuyECAulEopQw9DBw9IGVgyPWQ5s JM9ooXPd8McIVatiXn/YnwpC3+KkGivKhSELaPZdwc1zWJ0bYXuoypq5MVSrO2xZA4x2 aRbPdvYqpH4B223zhu877xbhAefRpJ6215etoIV8qzPcDUdjBXz2uWVGf1xXuoAfNjoQ 6gkI9IFZB9Rrwlch5FKT5ENnK0XRdnMjR0PKYORWZtqH6jxg/auiUD6ZwbD3q05h/r8e 10IA== 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 j8si1590198pfn.234.2018.02.23.02.16.20; Fri, 23 Feb 2018 02:16:35 -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 S1751503AbeBWKPa (ORCPT + 99 others); Fri, 23 Feb 2018 05:15:30 -0500 Received: from regular1.263xmail.com ([211.150.99.141]:59841 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750798AbeBWKP1 (ORCPT ); Fri, 23 Feb 2018 05:15:27 -0500 Received: from jeffy.chen?rock-chips.com (unknown [192.168.167.140]) by regular1.263xmail.com (Postfix) with ESMTP id 74B0173; Fri, 23 Feb 2018 18:15:17 +0800 (CST) X-263anti-spam: KSV:0;BIG:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ADDR-CHECKED4: 1 X-ABS-CHECKED: 1 X-SKE-CHECKED: 1 X-ANTISPAM-LEVEL: 2 Received: from [172.16.22.58] (localhost [127.0.0.1]) by smtp.263.net (Postfix) with ESMTPA id BD4D93A6; Fri, 23 Feb 2018 18:15:08 +0800 (CST) X-RL-SENDER: jeffy.chen@rock-chips.com X-FST-TO: eballetbo@gmail.com X-SENDER-IP: 103.29.142.67 X-LOGIN-NAME: jeffy.chen@rock-chips.com X-UNIQUE-TAG: <62133c5df4b7c55c51e2190d9582dc4b> X-ATTACHMENT-NUM: 0 X-SENDER: cjf@rock-chips.com X-DNS-TYPE: 0 Received: from [172.16.22.58] (unknown [103.29.142.67]) by smtp.263.net (Postfix) whith ESMTP id 308241UF99H; Fri, 23 Feb 2018 18:15:17 +0800 (CST) Message-ID: <5A8FE9A9.8070007@rock-chips.com> Date: Fri, 23 Feb 2018 18:15:05 +0800 From: JeffyChen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20130126 Thunderbird/19.0 MIME-Version: 1.0 To: Enric Balletbo Serra , Brian Norris CC: Enric Balletbo i Serra , linux-kernel , Brian Norris , dtor@google.com, Doug Anderson , Thomas Gleixner , Joseph Lo , stephen lu , Dmitry Torokhov , Kate Stewart , linux-input@vger.kernel.org, Greg Kroah-Hartman , Philippe Ombredanne , Arvind Yadav Subject: Re: [PATCH v2 1/3] Input: gpio-keys - add support for wakeup event action References: <20180210110907.5504-1-jeffy.chen@rock-chips.com> <20180210110907.5504-2-jeffy.chen@rock-chips.com> <20180212221309.GA66974@ban.mtv.corp.google.com> <059e2aa9-bf94-517d-a132-abe851ec69f7@collabora.com> <20180213182521.GA51247@rodete-desktop-imager.corp.google.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Enric, Thanks for your reply. On 02/14/2018 06:25 AM, Enric Balletbo Serra wrote: > Hi, > > 2018-02-13 19:25 GMT+01:00 Brian Norris : >> Hi Enric, >> >> On Tue, Feb 13, 2018 at 11:40:44AM +0100, Enric Balletbo i Serra wrote: >>> On 12/02/18 23:13, Brian Norris wrote: >>>> On Sat, Feb 10, 2018 at 07:09:05PM +0800, Jeffy Chen wrote: >>>>> Add support for specifying event actions to trigger wakeup when using >>>>> the gpio-keys input device as a wakeup source. >>>>> >>>>> This would allow the device to configure when to wakeup the system. For >>>>> example a gpio-keys input device for pen insert, may only want to wakeup >>>>> the system when ejecting the pen. >>>>> >>>>> Suggested-by: Brian Norris >>>>> Signed-off-by: Jeffy Chen >>>>> --- >>>>> >>>>> Changes in v2: >>>>> Specify wakeup event action instead of irq trigger type as Brian >>>>> suggested. >> [...] >>> Not sure if you were aware but there is also some discussion related to this, >>> maybe we can join the efforts? >>> >>> v1: https://patchwork.kernel.org/patch/10208261/ >>> v2: https://patchwork.kernel.org/patch/10211147/ >> >> Thanks for the pointers. IIUC, that's talking about a different problem: >> how to utilize a GPIO key in level-triggered mode. That touches similar >> code, but it doesn't really have anything to do with configuring a >> different wakeup trigger type. >> > > Right, sorry. I see now what you are doing. > >> The two patches would need to be reconciled, if they both are going to >> be merged. But otherwise, I think they're perfectly fine to be separate. >> > > Yes, that's why I got confused, I had those patches applied on my tree > and when I tried to apply these failed and I wrongly assumed that were > doing the same. Waiting to test the third version ;) right, they are not related, and i should add the level irq case after that series merged :) > > Thanks, > Enric > >> Brian > > >