mbox series

[PATCHv4,0/4] Lost key-up interrupt handling for omap4-keypad

Message ID 20210106125822.31315-1-tony@atomide.com (mailing list archive)
Headers show
Series Lost key-up interrupt handling for omap4-keypad | expand

Message

Tony Lindgren Jan. 6, 2021, 12:58 p.m. UTC
Hi,

This series updates omap4-keypad to disable unused long interrupts, and
implements the missing parts for the lost key-up interrupt quirk as
described in the silicon errata pdf. It also simplifies the probe to
use devm.

Regards,

Tony


Changes since v3:

- Use PM runtime to check the last pressed key is not stuck

- Simplify probe with devm

Changes since v2:

- Drop bogus level change, that already comes from device tree

- Scan keyboard in two phases and simplify using a bitmask

- Use mod_delayed_work and cancel_delayed_work_sync for the quirk

Tony Lindgren (4):
  Input: omap4-keypad - disable unused long interrupts
  Input: omap4-keypad - scan keys in two phases and simplify with
    bitmask
  Input: omap4-keypad - use PM runtime to check keys for errata
  Input: omap4-keypad - simplify probe with devm

 drivers/input/keyboard/omap4-keypad.c | 255 +++++++++++++++++---------
 1 file changed, 170 insertions(+), 85 deletions(-)