Re: [PATCH 2/2] Revert "Input: soc_button_array - debounce the buttons"

From: Andy Shevchenko
Date: Wed Jun 25 2025 - 14:04:25 EST


On Wed, Jun 25, 2025 at 05:59:50PM +0000, Limonciello, Mario wrote:
> On 6/25/25 12:54 PM, Andy Shevchenko wrote:
> > On Wed, Jun 25, 2025 at 03:34:55PM +0000, Limonciello, Mario wrote:
> >> On 6/25/25 10:17 AM, Andy Shevchenko wrote:

...

> > Probably gpiod_set_debounce() should become a no-op in this case?
>
> But my point is this 50 needs to be a quirk /somewhere/. It shouldn't
> be a default behavior.
>
> It can be in the GPIO driver(s), it can be in soc-button-array, or it
> can be in gpio_keys.
>
> I've got an idea mocked up for a v2, I'll send that out and I think we
> can discuss the merits of it on that series.

Sure, thanks!

--
With Best Regards,
Andy Shevchenko