mbox series

[v2,0/4] Add polling support for DA9063 onkey driver

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

Message

Biju Das Dec. 13, 2023, 9:47 p.m. UTC
On some platforms (eg: RZ/{G2UL,Five} SMARC EVK), there is no IRQ
populated by default. This patch series aims to add polling support
by parsing the polling interval from device tree and then detect
short and long key press.

v1->v2:
 * Add a new patch for dropping redundant prints in probe()
 * Fixed typo in commit description for patch#3.
 * Updated the print message for irq allocation failure.
 * Updated commit description for patch#4
 * Fixed the logical mistake for optional IRQ handling.

Biju Das (4):
  Input: da9063 - Simplify obtaining OF match data
  Input: da9063 - Drop redundant prints in probe()
  Input: da9063 - Use dev_err_probe()
  Input: da9063 - Add polling support

 drivers/input/misc/da9063_onkey.c | 146 +++++++++++++++++-------------
 1 file changed, 84 insertions(+), 62 deletions(-)