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(-) -- 2.25.1