Re: [PATCH v4 12/20] gpiolib: cdev: support setting debounce

2020-08-18 Thread Kent Gibson
On Mon, Aug 17, 2020 at 08:21:58PM +0200, Bartosz Golaszewski wrote: > On Fri, Aug 14, 2020 at 5:05 AM Kent Gibson wrote: > > > > Add support for setting debounce on a line via the GPIO uAPI. > > Where debounce is not supported by hardware, a software debounce is > > provided. > > > > Signed-off-b

Re: [PATCH v4 12/20] gpiolib: cdev: support setting debounce

2020-08-17 Thread Bartosz Golaszewski
On Fri, Aug 14, 2020 at 5:05 AM Kent Gibson wrote: > > Add support for setting debounce on a line via the GPIO uAPI. > Where debounce is not supported by hardware, a software debounce is > provided. > > Signed-off-by: Kent Gibson > --- > > The implementation of the software debouncer waits for th

[PATCH v4 12/20] gpiolib: cdev: support setting debounce

2020-08-13 Thread Kent Gibson
Add support for setting debounce on a line via the GPIO uAPI. Where debounce is not supported by hardware, a software debounce is provided. Signed-off-by: Kent Gibson --- The implementation of the software debouncer waits for the line to be stable for the debounce period before determining if a