serial: sc16is7xx: Add polling mode if no IRQ pin is available
authorAndre Werner <andre.werner@systec-electronic.com>
Fri, 10 Jan 2025 07:31:04 +0000 (08:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jan 2025 15:07:45 +0000 (16:07 +0100)
commit104c1b9dde9d859dd01bd2d71a2755a2fae43e15
tree4017d274be735dc7bb44618d6982f01fc4347503
parent4dd7c9d94806dd4f96d91a06e34f3142e386a534
serial: sc16is7xx: Add polling mode if no IRQ pin is available

Fall back to polling mode if no interrupt is configured because there
is no possibility to connect the interrupt pin.
If "interrupts" property is missing in devicetree the driver
uses a delayed worker to pull the state of interrupt status registers.

Signed-off-by: Andre Werner <andre.werner@systec-electronic.com>
Link: https://lore.kernel.org/r/20250110073104.1029633-2-andre.werner@systec-electronic.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sc16is7xx.c