Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1034395AbcJ1ROd (ORCPT ); Fri, 28 Oct 2016 13:14:33 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:32918 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1034154AbcJ1RNf (ORCPT ); Fri, 28 Oct 2016 13:13:35 -0400 MIME-Version: 1.0 In-Reply-To: <1477674274-16283-1-git-send-email-ed.blake@imgtec.com> References: <1477674274-16283-1-git-send-email-ed.blake@imgtec.com> From: "Matwey V. Kornilov" Date: Fri, 28 Oct 2016 20:13:12 +0300 X-Google-Sender-Auth: 63P-OPF8Z9pSyTJ4cUv9ChYgYSg Message-ID: Subject: Re: [PATCH v2 0/2] serial: Add IrDA support to 8250_dw driver To: Ed Blake Cc: Greg KH , Jiri Slaby , Andy Shevchenko , wangkefeng.wang@huawei.com, Heikki Krogerus , noamc@ezchip.com, annie.wang@amd.com, anton.wuerfel@fau.de, phillip.raffeck@fau.de, Peter Hurley , alexander.sverdlin@nokia.com, Yegor Yefremov , yamada.masahiro@socionext.com, tthayer@opensource.altera.com, linux-serial@vger.kernel.org, linux-kernel , james.hartley@imgtec.com Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1231 Lines: 35 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 : > 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