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