mbox series

[v3,0/3] Add polling support for DA9063 onkey driver

Message ID 20240125133733.95081-1-biju.das.jz@bp.renesas.com
Headers show
Series Add polling support for DA9063 onkey driver | expand

Message

Biju Das Jan. 25, 2024, 1:37 p.m. UTC
On some platforms (eg: RZ/{G2UL,Five} SMARC EVK), there is no
onkey IRQ populated by default.

This patch series aims to add polling support.

v2->v3:
 * Created patch#1 and patch#2 for removing work.
 * Updated commit description as cleanup is done in patch#1
 * Dropped scheduling work instead start using polling as in the polling
 * case scheduling any additional works will create confused state for
 * driver if we repeatedly open and close input device.
v1->v2:
 * Updated commit description
 * Fixed the logical mistake for optional IRQ handling.

Biju Das (3):
  Input: da9063_onkey - Add da9063_onkey_report_key()
  Input: da9063_onkey - Drop scheduling work
  Input: da9063_onkey - Add polling support

 drivers/input/misc/da9063_onkey.c | 130 +++++++++++++++++++-----------
 1 file changed, 82 insertions(+), 48 deletions(-)