[PATCH 0/2] serial: 8250_dw: fall back to poll if there's no interrupt

Jisheng Zhang posted 2 patches 2 years, 6 months ago
There is a newer version of this series
.../devicetree/bindings/serial/snps-dw-apb-uart.yaml      | 1 -
drivers/tty/serial/8250/8250_dw.c                         | 8 ++++++--
2 files changed, 6 insertions(+), 3 deletions(-)
[PATCH 0/2] serial: 8250_dw: fall back to poll if there's no interrupt
Posted by Jisheng Zhang 2 years, 6 months ago
When there's no irq(this can be due to various reasons, for example,
no irq from HW support, or we just want to use poll solution, and so
on), falling back to poll is still better than no support at all.

patch1 makes the interrupt property in dt-binding optional
patch2 falls back to poll if there's no interrupt

Jisheng Zhang (2):
  dt-bindings: serial: snps-dw-apb-uart: make interrupt optional
  serial: 8250_dw: fall back to poll if there's no interrupt

 .../devicetree/bindings/serial/snps-dw-apb-uart.yaml      | 1 -
 drivers/tty/serial/8250/8250_dw.c                         | 8 ++++++--
 2 files changed, 6 insertions(+), 3 deletions(-)

-- 
2.40.1