[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YmYefY/Rkpu/nB4D@google.com>
Date: Sun, 24 Apr 2022 21:07:25 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Anjelique Melendez <quic_amelende@...cinc.com>
Cc: corbet@....net, sre@...nel.org, robh+dt@...nel.org,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-msm@...r.kernel.org, bjorn.andersson@...aro.org,
swboyd@...omium.org, linux-doc@...r.kernel.org,
linux-pm@...r.kernel.org, devicetree@...r.kernel.org,
David Collins <collinsd@...eaurora.org>
Subject: Re: [PATCH v6 4/5] input: misc: pm8941-pwrkey: add software key
press debouncing support
On Fri, Apr 22, 2022 at 12:12:42PM -0700, Anjelique Melendez wrote:
> From: David Collins <collinsd@...eaurora.org>
>
> 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@...eaurora.org>
> Signed-off-by: Anjelique Melendez <quic_amelende@...cinc.com>
Applied, thank you.
--
Dmitry
Powered by blists - more mailing lists