[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180426082951.rfnyyd3d6ux65ld5@pengutronix.de>
Date: Thu, 26 Apr 2018 10:29:51 +0200
From: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: Baolin Wang <baolin.wang@...aro.org>,
Andy Shevchenko <andy.shevchenko@...il.com>,
Mark Brown <broonie@...nel.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] gpio: eic: Add edge trigger emulation for EIC
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 <baolin.wang@...aro.org> 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 <baolin.wang@...aro.org>
>
> 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/ |
Powered by blists - more mailing lists