On Tue, Jun 18, 2019 at 12:53 PM David Bauer <[email protected]> wrote: > On 17.06.19 22:26, Linus Walleij wrote:
> > I think it makes a lot of sense on mechanical pushbuttons to > > implement generic debounce. > > This is, however, not the job of the GPIO driver or is it? If the GPIO block supports it, GPIO provides an API to use a hardware debounce timer. I'e had exotic ideas like pulling the debounce support from the input subsystem into the GPIO subsystem, so whenever a consumer asks for debounce they will get it, sometimes with a software timer sometimes from hardware. But it never became any more than a pipe dream. Yours, Linus Walleij _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
