Thread (53 messages) 53 messages, 5 authors, 2025-06-27

Re: [PATCH v3 3/4] Input: Don't program hw debounce for soc_button_array devices

From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: 2025-06-26 14:33:57
Also in: linux-acpi, linux-gpio, lkml

On Wed, Jun 25, 2025 at 04:58:12PM -0500, Mario Limonciello wrote:
From: Mario Limonciello <mario.limonciello@amd.com>

Programming a hardware debounce of 50ms causes problems where a button
doesn't work properly anymore on some systems.  This debounce is intended
for compatibility with systems with a mechanical switch so soc_button_array
devices should only be using a sofware debounce.

Add support for indicating that a driver is only requesting gpio_keys
to use software debounce support and mark that in soc_button_array
accordingly.
...
+	gpio_keys_pdata->no_hw_debounce = TRUE;
true

-- 
With Best Regards,
Andy Shevchenko

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help