This patch set adds IrDA support to the 8250_dw driver. The first patch exposes the set_ldisc() function in the 8250 driver so it can be overridden, and the second patch adds a set_ldisc() function to the 8250_dw driver which enables / disables IrDA SIR mode if supported.
v2: The 8250_dw set_ldisc() function no longer tries to enable/disable IrDA SIR mode if not supported by the hardware configuration. Ed Blake (2): serial: 8250: Expose set_ldisc function serial: 8250_dw: Add support for IrDA SIR mode drivers/tty/serial/8250/8250_core.c | 3 +++ drivers/tty/serial/8250/8250_dw.c | 24 ++++++++++++++++++++++++ drivers/tty/serial/8250/8250_port.c | 12 ++++++++++-- include/linux/serial_8250.h | 4 ++++ include/linux/serial_core.h | 2 ++ 5 files changed, 43 insertions(+), 2 deletions(-) -- 1.9.1