Received: by 10.192.165.148 with SMTP id m20csp1751095imm; Thu, 26 Apr 2018 01:32:14 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/hF0C4wd10Z9LrxG2afo89wBvGL5O2AYiMc/NYt1HXu43PJ8H1xHuF0a69eyGSJakSAvrX X-Received: by 10.98.93.153 with SMTP id n25mr22630717pfj.143.1524731534554; Thu, 26 Apr 2018 01:32:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524731534; cv=none; d=google.com; s=arc-20160816; b=A2xy8iA13wWKhBXn1Nhe+Tt/STsrAFMMzK7lTa80HCpel6RBMvIq1Mf7tXwZ7hqPhv leT9SUHfcRfxZL2u3YHZ5b04iKDNHty3m8E+3BibGVrDX4SsyoSli92+RbFr4z4wDPfK D6CDJ2mWeIrOaahfUd/9F/FLIGClXszDE6OEvdxF5S6cohk/ohRqV/gCVUsB7whadlvP uYxHrOTTEgAhPXGszkZL66M0IJwfnfi26v2bDRsbqMBa27fRfAieSF5Sv/npuX0v5V1y 10xLwFcjSdxxIO9OaX0UTI2X807JF9yZoplOH1b2IWyciUXZahFNnSW0HjMDpNxrIchg 1NQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=4A5Ik7g3v/0zsfaEHnKKcbHC9dcimigOjJSE5usPXZQ=; b=WP2nkhY63D3hWsOAY8rV36IW/g8vO9odr2X2KFOCaimzwVSEZvSSn6zzQOsDGMrN33 mDyA/uTGdZYjIsHL5IZlXY333rsRy8yJfV6FgjWYx5eTepGu8Zsk4AzywoWdl7JTxntu 6BCFPB7AtAKiTfbEHCe+3Cnd5uCmmc0Ie1DFKoHCbJFk1s4gmnS563BHB+H/VZJVWILK /wAoS82WtAMDIIoNn4vj8dS7ZJO8wnTOptkSjOG7zyM0bflTGpaWV22GTBH3yR4QJ06w xpflI51G4Z66IVHyN+PsH5n3+zdp0VSe7771TqZB6XmY6J31PdDoCqwZ2/OXjkGtRoVl 9jXA== 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 b38-v6si19277943pla.124.2018.04.26.01.32.00; Thu, 26 Apr 2018 01:32:14 -0700 (PDT) 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 S1754308AbeDZIaH (ORCPT + 99 others); Thu, 26 Apr 2018 04:30:07 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:44255 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754213AbeDZI35 (ORCPT ); Thu, 26 Apr 2018 04:29:57 -0400 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fBcHo-0002JJ-Pg; Thu, 26 Apr 2018 10:29:52 +0200 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1fBcHn-000540-TO; Thu, 26 Apr 2018 10:29:51 +0200 Date: Thu, 26 Apr 2018 10:29:51 +0200 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: Linus Walleij Cc: Baolin Wang , Andy Shevchenko , Mark Brown , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 1/2] gpio: eic: Add edge trigger emulation for EIC Message-ID: <20180426082951.rfnyyd3d6ux65ld5@pengutronix.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Linus, On Thu, Apr 26, 2018 at 10:10:11AM +0200, Linus Walleij wrote: > On Fri, Mar 30, 2018 at 9:02 AM, Baolin Wang wrote: > > > The Spreadtrum debounce EIC and latch EIC can not support edge trigger, > > but most GPIO users (like gpio-key driver) only use the edge trigger, > > thus the EIC driver need add some support to emulate the edge trigger > > to satisfy this requirement. > > > > Signed-off-by: Baolin Wang > > Patch applied. > > The patch is fine and in line with other kernel drivers doing edge > trigger emulation and we do not hold back on useful features. > > But I want to take this opportunity to ping Uwe Kleine-K?nig about > his ideas for an edge trigger emulation library in the gpiolib core, > and whether this also follows the pattern. up to now it's still only this: an idea. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |