aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/rmi4
diff options
context:
space:
mode:
authorDavid Collins <collinsd@codeaurora.org>2022-04-24 18:20:05 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2022-04-24 18:25:13 -0700
commit0b65118e6ba3024b8d9330cbca9b4c8b439d2057 (patch)
tree8f43e66aad7437dfc2167e81a18133fbc49bf41a /drivers/input/rmi4
parentInput: pm8941-pwrkey - add support for PON GEN3 base addresses (diff)
downloadlinux-dev-0b65118e6ba3024b8d9330cbca9b4c8b439d2057.tar.xz
linux-dev-0b65118e6ba3024b8d9330cbca9b4c8b439d2057.zip
Input: pm8941-pwrkey - add software key press debouncing support
On certain PMICs, an unexpected assertion of KPDPWR_DEB (the positive logic hardware debounced power key signal) may be seen during the falling edge of KPDPWR_N (i.e. a power key press) when it occurs close to the rising edge of SLEEP_CLK. This then triggers a spurious KPDPWR interrupt. Handle this issue by adding software debouncing support to ignore key events that occur within the hardware debounce delay after the most recent key release event. Signed-off-by: David Collins <collinsd@codeaurora.org> Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com> Link: https://lore.kernel.org/r/20220422191239.6271-5-quic_amelende@quicinc.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/rmi4')
0 files changed, 0 insertions, 0 deletions