Re: [PATCH v2 0/2] serial: Add IrDA support to 8250_dw driver
From: Matwey V. Kornilov <hidden>
Date: 2016-10-28 17:14:33
Also in:
lkml
I like this idea. OMAP UART (8250_omap) also can be switched to IrDA mode, but I don't know anyone who use it. 2016-10-28 20:04 GMT+03:00 Ed Blake [off-list ref]:
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
-- With best regards, Matwey V. Kornilov. Sternberg Astronomical Institute, Lomonosov Moscow State University, Russia 119991, Moscow, Universitetsky pr-k 13, +7 (495) 9392382